HID icon indicating copy to clipboard operation
HID copied to clipboard

Multiple modifier keys + M key issues

Open electricrelay opened this issue 6 years ago • 4 comments

I'm having issues creating code to type a hot key Ctrl + Alt + m. I'm using keyboard testing software and it is only detecting the Ctrl and Alt key being pressed. the M key is completely ignored. I have this so far Keyboard.press(KEY_LEFT_CTRL); Keyboard.press(KEY_LEFT_ALT); Keyboard.press('m'); delay(100); Keyboard.releaseAll();

If I remove Keyboard.press(KEY_LEFT_CTRL); or Keyboard.press(KEY_LEFT_ALT); then it will type Ctrl + m / Alt + m respectively

If I change the alpha key to p or a or b or c (I havn't tested the whole alphabet) then it will work.

In summary, I can't get Ctrl + Alt + m to work but Ctrl + m, Alt + m, and Ctrl + Alt +p do...

electricrelay avatar Jan 13 '20 03:01 electricrelay

I got the problem with exact the same code, that the SHIFT-Key is holding down, but doesn't release it. I used the default keyboard.h before and this worked fine.

kl4ppdrachen avatar Oct 15 '20 17:10 kl4ppdrachen

I got the problem with exact the same code, that the SHIFT-Key is holding down, but doesn't release it. I used the default keyboard.h before and this worked fine.

Ok found the problem. It was, that I used two char's for a shorter variable for the keys, like in the Arduino example. After I deleted the char's and used the normal expression, it worked fine.

kl4ppdrachen avatar Oct 15 '20 17:10 kl4ppdrachen

@electricrelay could you solve your issue?

NicoHood avatar Nov 22 '20 18:11 NicoHood

I have a similar issue with Bootkeyboard and CTRL+S, when I use it on a SoundDevice MixPre. All other Keys that I send, like CTRL+R, CTRL+F or CTRL+M, F12, F3, UP, DOWN work, but not CTRL+S

underwoodblog avatar Dec 03 '20 21:12 underwoodblog