Changed key from right ctrl (132) to left shift (129)

This commit is contained in:
2022-01-14 09:34:07 +01:00
parent eea51782a6
commit 56e79e2d42
+4 -4
View File
@@ -17,10 +17,10 @@ void loop() {
if (buttonState == HIGH) { if (buttonState == HIGH) {
Serial.println("click"); Serial.println("click");
// press right ctrl // press key
Keyboard.press(132); Keyboard.press(129); // https://www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardmodifiers/
delay(10); delay(2);
Keyboard.release(132); Keyboard.release(129);
} }
else { else {
Serial.println("LOW"); Serial.println("LOW");