delimit HID报告描述符
2023-10-08
36
0
内容来源于USB官方HID报告描述符工具自带的delimit.hid
char ReportDescriptor[148] = {
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x05, 0x01, // USAGE_PAGE (Generic Desktop)
0x09, 0x04, // USAGE (Joystick)
0xa1, 0x01, // COLLECTION (Application)
0x05, 0x02, // USAGE_PAGE (Simulation Controls)
0x09, 0xbb, // USAGE (Throttle)
0x15, 0x81, // LOGICAL_MINIMUM (-127)
0x25, 0x7f, // LOGICAL_MAXIMUM (127)
0x75, 0x08, // REPORT_SIZE (8)
0x95, 0x01, // REPORT_COUNT (1)
0x81, 0x02, // INPUT (Data,Var,Abs)
0xa9, 0x01, // DELIMITER (Open)
0x09, 0x20, // USAGE (Flight Control Stick)
0x0b, 0x01, 0x00, 0x01, 0x00, // USAGE (Generic Desktop:Pointer)
0xa9, 0x00, // DELIMITER (Close)
0xa1, 0x00, // COLLECTION (Physical)
0x0b, 0x30, 0x00, 0x01, 0x00, // USAGE (Generic Desktop:X)
0x0b, 0x31, 0x00, 0x01, 0x00, // USAGE (Generic Desktop:Y)
0x95, 0x02, // REPORT_COUNT (2)
0x81, 0x02, // INPUT (Data,Var,Abs)
0xc0, // END_COLLECTION
0xa9, 0x01, // DELIMITER (Open)
0x0b, 0x20, 0x00, 0x05, 0x00, // USAGE (Gaming Controls:Point of View)
0x0b, 0x39, 0x00, 0x01, 0x00, // USAGE (Generic Desktop:Hat switch)
0xa9, 0x00, // DELIMITER (Close)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x25, 0x03, // LOGICAL_MAXIMUM (3)
0x35, 0x00, // PHYSICAL_MINIMUM (0)
0x46, 0x0e, 0x01, // PHYSICAL_MAXIMUM (270)
0x65, 0x14, // UNIT (Eng Rot:Angular Pos)
0x55, 0x00, // UNIT_EXPONENT (0)
0x75, 0x04, // REPORT_SIZE (4)
0x95, 0x01, // REPORT_COUNT (1)
0x81, 0x02, // INPUT (Data,Var,Abs)
0xa9, 0x01, // DELIMITER (Open)
0x0b, 0x01, 0x00, 0x09, 0x00, // USAGE (Button:Button 1)
0x09, 0xc0, // USAGE (Trigger)
0xa9, 0x00, // DELIMITER (Close)
0xa9, 0x01, // DELIMITER (Open)
0x0b, 0x02, 0x00, 0x09, 0x00, // USAGE (Button:Button 2)
0x09, 0xc2, // USAGE (Weapons Select)
0xa9, 0x00, // DELIMITER (Close)
0xa9, 0x01, // DELIMITER (Open)
0x0b, 0x03, 0x00, 0x09, 0x00, // USAGE (Button:Button 3)
0x09, 0xb7, // USAGE (Electronic Counter Measures)
0x09, 0xbd, // USAGE (Flare Release)
0xa9, 0x00, // DELIMITER (Close)
0xa9, 0x01, // DELIMITER (Open)
0x0b, 0x04, 0x00, 0x09, 0x00, // USAGE (Button:Button 4)
0x09, 0xbe, // USAGE (Landing Gear)
0x09, 0xb4, // USAGE (Chaff Release)
0xa9, 0x00, // DELIMITER (Close)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x25, 0x01, // LOGICAL_MAXIMUM (1)
0x35, 0x00, // PHYSICAL_MINIMUM (0)
0x45, 0x01, // PHYSICAL_MAXIMUM (1)
0x75, 0x01, // REPORT_SIZE (1)
0x95, 0x04, // REPORT_COUNT (4)
0x65, 0x00, // UNIT (None)
0x81, 0x02, // INPUT (Data,Var,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