Changed key from right ctrl (132) to left shift (129)
This commit is contained in:
@@ -17,10 +17,10 @@ void loop() {
|
||||
if (buttonState == HIGH) {
|
||||
Serial.println("click");
|
||||
|
||||
// press right ctrl
|
||||
Keyboard.press(132);
|
||||
delay(10);
|
||||
Keyboard.release(132);
|
||||
// press key
|
||||
Keyboard.press(129); // https://www.arduino.cc/reference/en/language/functions/usb/keyboard/keyboardmodifiers/
|
||||
delay(2);
|
||||
Keyboard.release(129);
|
||||
}
|
||||
else {
|
||||
Serial.println("LOW");
|
||||
|
||||
Reference in New Issue
Block a user