summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/class/hid.h')
-rw-r--r--tinyusb/class/hid.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tinyusb/class/hid.h b/tinyusb/class/hid.h
index 43af4d7cd..3e7d86a18 100644
--- a/tinyusb/class/hid.h
+++ b/tinyusb/class/hid.h
@@ -69,6 +69,12 @@ enum {
HID_DESC_TYPE_PHYSICAL = 0x23
};
+enum {
+ HID_REQUEST_REPORT_INPUT = 1,
+ HID_REQUEST_REPORT_OUTPUT,
+ HID_REQUEST_REPORT_FEATURE
+};
+
typedef ATTR_PREPACKED struct ATTR_PACKED {
uint8_t bLength; /**< Numeric expression that is the total size of the HID descriptor */
uint8_t bDescriptorType; /**< Constant name specifying type of HID descriptor. */