From fb0d87461948c2503419844a5e0615b24422c2a8 Mon Sep 17 00:00:00 2001 From: NicoHood Date: Sat, 10 Oct 2015 11:33:06 +0200 Subject: [PATCH] corrected protocol definition --- src/SingleReport/HID-Driver.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SingleReport/HID-Driver.h b/src/SingleReport/HID-Driver.h index 0dcde68..3c36f27 100644 --- a/src/SingleReport/HID-Driver.h +++ b/src/SingleReport/HID-Driver.h @@ -37,9 +37,9 @@ THE SOFTWARE. #define HID_REPORT_DESCRIPTOR_TYPE 0x22 #define HID_PHYSICAL_DESCRIPTOR_TYPE 0x23 -// Keyboard/Mouse protocols (normal or bios) HID1.11 Page 8 4.2 Subclass -#define HID_PROTOCOL_NO_SUBCLASS 0 -#define HID_PROTOCOL_BOOT 1 +// Keyboard/Mouse protocols (normal or bios) HID1.11 Page 54 7.2.5 Get_Protocol Request +#define HID_BOOT_PROTOCOL 0 +#define HID_REPORT_PROTOCOL 1 typedef struct {