HID报告描述符-自定义键鼠功能
2022-05-21
378
0
0x05, 0x01, // USAGE_PAGE (Generic Desktop) 05 01
0x09, 0x06, // USAGE (Keyboard)
0xA1, 0x01, // COLLECTION (Application)
0x09, 0x30, // USAGE (X)
0x75, 0x08, // REPORT_SIZE (8)
0x95, 0x01, // REPORT_COUNT (1)
0x82, 0x02, 0x01, // INPUT (Data,Var,Abs,Buf)
0x09, 0x31, // USAGE (Y)
0x95, 0x02, // REPORT_COUNT (2)
0x82, 0x02, 0x01, // INPUT (Data,Var,Abs,Buf)
0x09, 0x32, // USAGE (Z)
0x09, 0x38, // USAGE (Wheel)
0x82, 0x02, 0x01, // INPUT (Data,Var,Abs,Buf)
0x19, 0x33, // USAGE Min (Rx)
0x29, 0x34, // USAGE Max (Ry)
0x95, 0x04, // REPORT_COUNT (4)
0x82, 0x02, 0x01, // INPUT (Data,Var,Abs,Buf)
0x09, 0x35, // USAGE (Rz)
0x09, 0x36, // USAGE (Slider)
0x75, 0x07, // REPORT_SIZE (7)
0x95, 0x04, // REPORT_COUNT (4)
0x81, 0x02, // INPUT (Data,Var,Abs)
0x95, 0x01, // REPORT_COUNT (1)
0x75, 0x04, // REPORT_SIZE (4)
0x81, 0x01, // INPUT (Cnst,Ary,Abs)
0xC0 // END_COLLECTION
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936