aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorNicoHood <NicoHood@users.noreply.github.com>2015-11-07 22:24:35 +0100
committerMartino Facchin <m.facchin@arduino.cc>2015-12-10 10:30:04 +0100
commit513dbdd6901baba39d74ee28ded8b49d9a820069 (patch)
treeb45574993091928a5bed7e31310aba55dd280ca8 /libraries
parentcb4341aa2c5d43c150e724d7a993d2e8ca17ca57 (diff)
Added HID_REPORT_TYPE definitions
Diffstat (limited to 'libraries')
-rw-r--r--libraries/HID/HID.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h
index a9b3f58..93c4bd5 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -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