From 0dad7b19ff5118778d678f28b623a93d2240cce0 Mon Sep 17 00:00:00 2001 From: Liam Murphy Date: Thu, 4 Aug 2022 21:32:34 +1000 Subject: [PATCH] Set the Vendor HID Usage to 1 (#523) --- patches/tock/09-add-vendor-hid-usb-interface.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/tock/09-add-vendor-hid-usb-interface.patch b/patches/tock/09-add-vendor-hid-usb-interface.patch index bee6552..d04b790 100644 --- a/patches/tock/09-add-vendor-hid-usb-interface.patch +++ b/patches/tock/09-add-vendor-hid-usb-interface.patch @@ -166,7 +166,7 @@ index 642039120..adb7fde14 100644 +#[cfg(feature = "vendor_hid")] +static VENDOR_REPORT_DESCRIPTOR: &'static [u8] = &[ + 0x06, 0x00, 0xFF, // HID_UsagePage ( VENDOR ), -+ 0x09, 0x00, // HID_Usage ( Unused ), ++ 0x09, 0x01, // HID_Usage ( Unused ), + 0xA1, 0x01, // HID_Collection ( HID_Application ), + 0x09, 0x20, // HID_Usage ( FIDO_USAGE_DATA_IN ), + 0x15, 0x00, // HID_LogicalMin ( 0 ),