Added HID_REPORT_TYPE definitions

This commit is contained in:
NicoHood 2015-11-07 22:24:35 +01:00 committed by Martino Facchin
parent cb4341aa2c
commit 513dbdd690
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@
#define HID_BOOT_PROTOCOL 0
#define HID_REPORT_PROTOCOL 1
// HID Request Type HID1.11 Page 51 7.2.1 Get_Report Request
#define HID_REPORT_TYPE_INPUT 1
#define HID_REPORT_TYPE_OUTPUT 2
#define HID_REPORT_TYPE_FEATURE 3
typedef struct
{
uint8_t len; // 9