Mystfit / ESP32-BLE-CompositeHID

Bluetooth LE Gamepad + Mouse + Keyboard library for the ESP32
Other
45 stars 2 forks source link

Special keys not working #13

Closed scifiaholic closed 1 week ago

scifiaholic commented 1 month ago

all the letters work for me, however the keyboard library doesn't seem to do anything when I use it to send KEY_RIGHTALT, KEY_RIGHTMETA, KEY_RIGHTCTRL, or KEY_ESC. Nothing happens on my PC attached over bluetooth to the ESP32. I have another library, listed below, that works fine, but doesn't have your callbacks with the CAPS_LOCK and other keys when a different keyboard sets their status. I would really like to use your library!

https://github.com/blackketter/ESP32-BLE-Combo

Mystfit commented 1 week ago

Hi, thanks for the feedback!

I've updated the PressKey example with some examples for how to interact with the modifier keys.

Specifically, you want to use modifierKeyPressand modifierKeyRelease.

Can you let me know if this solves your problem? If so then I'll mark this as completed.