1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Added HID_REPORT_TYPE definitions

This commit is contained in:
NicoHood 2015-11-07 22:24:35 +01:00 committed by Martino Facchin
parent ff13b303d4
commit bab9b6c4f7

View File

@ -54,6 +54,11 @@
#define HID_BOOT_PROTOCOL 0 #define HID_BOOT_PROTOCOL 0
#define HID_REPORT_PROTOCOL 1 #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 typedef struct
{ {
uint8_t len; // 9 uint8_t len; // 9