USB_hid.h: Add Report Type constants

From "Device Class Definition for Human Interface Devices (HID)
Ver. 1.11", par. 7.2.1, page 51.

Change-Id: I4628f8ca940758aaf4a09290e9fa407d30374e7a
Reviewed-on: https://review.haiku-os.org/c/1450
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Jeroen Oortwijn
2019-05-14 07:24:09 +00:00
committed by Stephan Aßmus
parent 419190fdc2
commit 72f7f7d976
+7
View File
@@ -82,6 +82,13 @@ enum {
B_USB_REQUEST_HID_SET_PROTOCOL
};
// HID Class-specific requests report types
enum {
B_USB_REQUEST_HID_INPUT_REPORT = 0x01,
B_USB_REQUEST_HID_OUTPUT_REPORT,
B_USB_REQUEST_HID_FEATURE_REPORT
};
// HID Usage Pages
enum {
B_HID_USAGE_PAGE_GENERIC_DESKTOP = 0x1,