xref: /openbmc/qemu/include/hw/usb/hid.h (revision e4c4f7db)
1*84b6c236SCésar Belley #ifndef HW_USB_HID_H
2*84b6c236SCésar Belley #define HW_USB_HID_H
3*84b6c236SCésar Belley 
4*84b6c236SCésar Belley /* HID interface requests */
5*84b6c236SCésar Belley #define HID_GET_REPORT   0xa101
6*84b6c236SCésar Belley #define HID_GET_IDLE     0xa102
7*84b6c236SCésar Belley #define HID_GET_PROTOCOL 0xa103
8*84b6c236SCésar Belley #define HID_SET_REPORT   0x2109
9*84b6c236SCésar Belley #define HID_SET_IDLE     0x210a
10*84b6c236SCésar Belley #define HID_SET_PROTOCOL 0x210b
11*84b6c236SCésar Belley 
12*84b6c236SCésar Belley /* HID descriptor types */
13*84b6c236SCésar Belley #define USB_DT_HID    0x21
14*84b6c236SCésar Belley #define USB_DT_REPORT 0x22
15*84b6c236SCésar Belley #define USB_DT_PHY    0x23
16*84b6c236SCésar Belley 
17*84b6c236SCésar Belley #endif
18