DeskHop v0.66

- Fixed a bug with special keys parsing
This commit is contained in:
Hrvoje Cavrak 2024-10-31 23:34:36 +01:00
parent 112aed3d0a
commit 6bbf21931b

View File

@ -194,7 +194,7 @@ void tuh_hid_report_received_cb(uint8_t dev_addr, uint8_t instance, uint8_t cons
if (instance >= MAX_INTERFACES) if (instance >= MAX_INTERFACES)
return; return;
if (itf_protocol == HID_ITF_PROTOCOL_NONE) { if (iface->uses_report_id || itf_protocol == HID_ITF_PROTOCOL_NONE) {
uint8_t report_id = 0; uint8_t report_id = 0;
if (iface->uses_report_id) if (iface->uses_report_id)