From 6bbf21931b4ffe205b3facef4e249c5641e0a4cf Mon Sep 17 00:00:00 2001 From: Hrvoje Cavrak Date: Thu, 31 Oct 2024 23:34:36 +0100 Subject: [PATCH] DeskHop v0.66 - Fixed a bug with special keys parsing --- src/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usb.c b/src/usb.c index cef34e1..18bcf04 100644 --- a/src/usb.c +++ b/src/usb.c @@ -194,7 +194,7 @@ void tuh_hid_report_received_cb(uint8_t dev_addr, uint8_t instance, uint8_t cons if (instance >= MAX_INTERFACES) return; - if (itf_protocol == HID_ITF_PROTOCOL_NONE) { + if (iface->uses_report_id || itf_protocol == HID_ITF_PROTOCOL_NONE) { uint8_t report_id = 0; if (iface->uses_report_id)