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:
committed by
Stephan Aßmus
parent
419190fdc2
commit
72f7f7d976
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user