chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
475 stars 70 forks source link

Fix modifier in usbkeyboard #69

Closed coolacid closed 2 years ago

coolacid commented 2 years ago

We already have the modifier, trying to get it again grabs the wrong information from the keymap and sends weird events.

Before the fix, 12345678 would be sent as 123$%^&*, and none of the uppercase letters would work. This fixes this issue.