Update desktop_deck.ino

This commit is contained in:
FURK4NGG
2026-04-11 00:53:08 +03:00
committed by GitHub
parent 3cdc5fc0cd
commit 945d47e96d
+4 -3
View File
@@ -19,7 +19,8 @@ void setup() {
void loop() {
int buton_durumu = analogRead(Buton);
int roled = digitalRead(role_d);
Serial.println(buton_durumu);
Serial.println("A1 Buton: "+String(buton_durumu));
Serial.println("D6 Buton: "+String(roled));
if (roled==1){
int roleK = !i;
i=!i;
@@ -127,13 +128,13 @@ void linux_printscreen(){
if(a==1){
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press(KEY_LEFT_SHIFT);
Keyboard.press(KEY_PRINT_SCREEN);
Keyboard.press(0xCE);
delay(100);
Keyboard.releaseAll();}
else{
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press(KEY_LEFT_SHIFT);
Keyboard.press(KEY_PAUSE);
Keyboard.press(0xD0);
delay(100);
Keyboard.releaseAll();}
}