Closed vincentgao-ca closed 2 years ago
Hi, which keyboard layout do you use?
Hi NicoHood, I use US_ENGLISH, Sparkfun Pro micro, 32u4 nano. I am trying to fix this issue now. I used Keyboard.write(KEY_ENTER) it is correct, I can't use uint8_t as input, the host will get "(". For UEFI, still not working, either Keyboard or BootKeyboard class functions. My host is Surface laptop.
Thank you for your reply so quickly. vincent
I have no idea what is going wrong
I have to translate all the virtual code into Arduino code, especially for control, alt, Fn keys. About supporting the UEFI keyboard, do you have any idea for solving the issue? Thank you.
I finally made it, translate each virtual key to the defined keys ascii map. Thank you.
Keyboard.write( KEY_ENTER); BootKeyboard.write( KEY_ENTER); I use Arduino 1.8.19, HID 2.8.2
I tested many times, and saw all the issues, no way to solve this. Before I changed to nicohood hid library, everything is ok, but after I changed to NicoHood HID, the host receives "(", instead of ENTER. For the other keys, it works well. Also I used it use Surface UEFI keyboard, not working at all, the Surface UEFI not working but it works well when plugging a real keyboard.
Please give a solution for how to use ENTER key and how to support Surface UEFI. Thanks.