diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2015-07-01 10:08:03 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-07-16 13:13:51 +0200 |
commit | 3d0331b8f6980633789f543947d36a9156455670 (patch) | |
tree | 49d21bfda9dbf10edd805b89fd6efc4c57362a76 /libraries/HID/HID.h | |
parent | 30ebf7f92483bb57076ba571dcd04b4e8bb94872 (diff) |
fix HID headers
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r-- | libraries/HID/HID.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h index fe8ee09..5bd137c 100644 --- a/libraries/HID/HID.h +++ b/libraries/HID/HID.h @@ -31,6 +31,17 @@ //================================================================================ // HID 'Driver' +#define HID_GET_REPORT 0x01 +#define HID_GET_IDLE 0x02 +#define HID_GET_PROTOCOL 0x03 +#define HID_SET_REPORT 0x09 +#define HID_SET_IDLE 0x0A +#define HID_SET_PROTOCOL 0x0B + +#define HID_HID_DESCRIPTOR_TYPE 0x21 +#define HID_REPORT_DESCRIPTOR_TYPE 0x22 +#define HID_PHYSICAL_DESCRIPTOR_TYPE 0x23 + class HID_ { public: |