HID报表描述符大全及实例分析
+ -

VR控制HID报告描述符

2022-05-21 149 0
0x05, 0x03,        // Usage Page (VR Ctrls)
0x09, 0x03,        // Usage (Flexor)
0xA1, 0x01,        // Collection (Application)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xC8, 0x60,  //   Usage (0x60C8)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0x6A, 0x32,  //   Usage (0x326A)
0x85, 0x2D,        //   Report ID (45)
0x16, 0xCB, 0x24,  //   Logical Minimum (9419)
0x26, 0xAE, 0x2E,  //   Logical Maximum (11950)
0x75, 0x0E,        //   Report Size (14)
0x95, 0x05,        //   Report Count (5)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0xFE, 0x31,  //   Usage Minimum (0x31FE)
0x2A, 0x01, 0x32,  //   Usage Maximum (0x3201)
0x85, 0x2D,        //   Report ID (45)
0x16, 0x6B, 0xFF,  //   Logical Minimum (-149)
0x25, 0x62,        //   Logical Maximum (98)
0x75, 0x09,        //   Report Size (9)
0x95, 0x05,        //   Report Count (5)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x86, 0x2C,  //   Usage (0x2C86)
0x85, 0x2D,        //   Report ID (45)
0x16, 0x5C, 0xFD,  //   Logical Minimum (-676)
0x26, 0xF5, 0x02,  //   Logical Maximum (757)
0x75, 0x0C,        //   Report Size (12)
0x95, 0x07,        //   Report Count (7)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0xFF, 0x52,  //   Usage (0x52FF)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x60, 0x62,  //   Usage (0x6260)
0x85, 0x2D,        //   Report ID (45)
0x15, 0xE9,        //   Logical Minimum (-23)
0x25, 0x16,        //   Logical Maximum (22)
0x75, 0x06,        //   Report Size (6)
0x95, 0x10,        //   Report Count (16)
0xB1, 0x22,        //   Feature (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xF8, 0x5D,  //   Usage (0x5DF8)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0xC4, 0x69,  //   Usage Minimum (0x69C4)
0x2A, 0xC7, 0x69,  //   Usage Maximum (0x69C7)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x65, 0x34,  //   Usage (0x3465)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0x22, 0x6D,  //   Usage (0x6D22)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x01, 0x3A,  //   Usage (0x3A01)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0x04, 0x24,  //   Usage (0x2404)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xA9, 0x69,  //   Usage (0x69A9)
0x85, 0x2D,        //   Report ID (45)
0x16, 0x39, 0xF1,  //   Logical Minimum (-3783)
0x26, 0x48, 0x04,  //   Logical Maximum (1096)
0x75, 0x0E,        //   Report Size (14)
0x95, 0x0D,        //   Report Count (13)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xBC, 0x33,  //   Usage (0x33BC)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x35, 0x1E,  //   Usage Minimum (0x1E35)
0x2A, 0x36, 0x1E,  //   Usage Maximum (0x1E36)
0x85, 0x2D,        //   Report ID (45)
0x15, 0x03,        //   Logical Minimum (3)
0x25, 0x07,        //   Logical Maximum (7)
0x75, 0x03,        //   Report Size (3)
0x95, 0x0E,        //   Report Count (14)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x75, 0x03,        //   Report Size (3)
0x95, 0x01,        //   Report Count (1)
0x85, 0x2D,        //   Report ID (45)
0x81, 0x01,        //   Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x75, 0x06,        //   Report Size (6)
0x95, 0x01,        //   Report Count (1)
0x85, 0x2D,        //   Report ID (45)
0x91, 0x01,        //   Output (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0xC0,              // End Collection
0x05, 0x01,        // Usage Page (Generic Desktop Ctrls)
0x09, 0x03,        // Usage (0x03)
0xA1, 0x01,        // Collection (Application)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x1A, 0xE6, 0x79,  //   Usage Minimum (0x79E6)
0x2A, 0xE9, 0x79,  //   Usage Maximum (0x79E9)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x23, 0x67,  //   Usage (0x6723)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x86, 0x03,  //   Usage Minimum (0x0386)
0x2A, 0x87, 0x03,  //   Usage Maximum (0x0387)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x21, 0x25,  //   Usage Minimum (0x2521)
0x2A, 0x23, 0x25,  //   Usage Maximum (0x2523)
0x85, 0x75,        //   Report ID (117)
0x16, 0x09, 0x02,  //   Logical Minimum (521)
0x26, 0x0B, 0x35,  //   Logical Maximum (13579)
0x75, 0x0E,        //   Report Size (14)
0x95, 0x0A,        //   Report Count (10)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x80, 0x11,  //   Usage (0x1180)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x32, 0x1B,  //   Usage (0x1B32)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x7F, 0x61,  //   Usage (0x617F)
0x85, 0x75,        //   Report ID (117)
0x16, 0x92, 0x0E,  //   Logical Minimum (3730)
0x26, 0x26, 0x0F,  //   Logical Maximum (3878)
0x75, 0x0C,        //   Report Size (12)
0x95, 0x03,        //   Report Count (3)
0xB1, 0x22,        //   Feature (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0xE1, 0x10,  //   Usage (0x10E1)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xCE, 0x61,  //   Usage (0x61CE)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xF2, 0x20,  //   Usage (0x20F2)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x63, 0x6D,  //   Usage Minimum (0x6D63)
0x2A, 0x65, 0x6D,  //   Usage Maximum (0x6D65)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x3B, 0x17,  //   Usage (0x173B)
0x85, 0x75,        //   Report ID (117)
0x16, 0x66, 0x02,  //   Logical Minimum (614)
0x26, 0x00, 0x04,  //   Logical Maximum (1024)
0x75, 0x0B,        //   Report Size (11)
0x95, 0x0B,        //   Report Count (11)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0xD1, 0x74,  //   Usage Minimum (0x74D1)
0x2A, 0xD5, 0x74,  //   Usage Maximum (0x74D5)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0xBD, 0x5E,  //   Usage (0x5EBD)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x1A, 0x4F,  //   Usage (0x4F1A)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x43, 0x31,  //   Usage (0x3143)
0x85, 0x75,        //   Report ID (117)
0x16, 0xFC, 0x14,  //   Logical Minimum (5372)
0x26, 0xC9, 0x33,  //   Logical Maximum (13257)
0x75, 0x0F,        //   Report Size (15)
0x95, 0x0F,        //   Report Count (15)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x18, 0x0B,  //   Usage Minimum (0x0B18)
0x2A, 0x19, 0x0B,  //   Usage Maximum (0x0B19)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0xB6, 0x5B,  //   Usage (0x5BB6)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x3F, 0x4B,  //   Usage (0x4B3F)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0xA5, 0x21,  //   Usage (0x21A5)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x3B, 0x55,  //   Usage (0x553B)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0x2F, 0x0B,  //   Usage Minimum (0x0B2F)
0x2A, 0x31, 0x0B,  //   Usage Maximum (0x0B31)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x9A, 0x0A,  //   Usage Minimum (0x0A9A)
0x2A, 0x9D, 0x0A,  //   Usage Maximum (0x0A9D)
0x85, 0x75,        //   Report ID (117)
0x16, 0xB6, 0x01,  //   Logical Minimum (438)
0x26, 0x12, 0x02,  //   Logical Maximum (530)
0x75, 0x0D,        //   Report Size (13)
0x95, 0x0D,        //   Report Count (13)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x1A, 0xCB, 0x7A,  //   Usage Minimum (0x7ACB)
0x2A, 0xCC, 0x7A,  //   Usage Maximum (0x7ACC)
0x85, 0x75,        //   Report ID (117)
0x15, 0x07,        //   Logical Minimum (7)
0x25, 0x08,        //   Logical Maximum (8)
0x75, 0x05,        //   Report Size (5)
0x95, 0x03,        //   Report Count (3)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0x24, 0x6E,  //   Usage (0x6E24)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0xB0, 0x77,  //   Usage Minimum (0x77B0)
0x2A, 0xB2, 0x77,  //   Usage Maximum (0x77B2)
0x85, 0x75,        //   Report ID (117)
0x16, 0xC5, 0xED,  //   Logical Minimum (-4667)
0x26, 0x7B, 0x5D,  //   Logical Maximum (23931)
0x75, 0x10,        //   Report Size (16)
0x95, 0x0F,        //   Report Count (15)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0x6E, 0x1E,  //   Usage Minimum (0x1E6E)
0x2A, 0x71, 0x1E,  //   Usage Maximum (0x1E71)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x83, 0x3D,  //   Usage Minimum (0x3D83)
0x2A, 0x84, 0x3D,  //   Usage Maximum (0x3D84)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0x13, 0x5D,  //   Usage Minimum (0x5D13)
0x2A, 0x14, 0x5D,  //   Usage Maximum (0x5D14)
0x85, 0x75,        //   Report ID (117)
0x15, 0x13,        //   Logical Minimum (19)
0x25, 0x17,        //   Logical Maximum (23)
0x75, 0x06,        //   Report Size (6)
0x95, 0x0D,        //   Report Count (13)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0x68, 0x5D,  //   Usage Minimum (0x5D68)
0x2A, 0x6A, 0x5D,  //   Usage Maximum (0x5D6A)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x2F, 0x21,  //   Usage Minimum (0x212F)
0x2A, 0x30, 0x21,  //   Usage Maximum (0x2130)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0xBD, 0x04,  //   Usage (0x04BD)
0x85, 0x75,        //   Report ID (117)
0x16, 0x5C, 0x14,  //   Logical Minimum (5212)
0x26, 0x43, 0x19,  //   Logical Maximum (6467)
0x75, 0x0D,        //   Report Size (13)
0x95, 0x08,        //   Report Count (8)
0xB1, 0x22,        //   Feature (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xF1, 0x57,  //   Usage (0x57F1)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0x00, 0x64,  //   Usage Minimum (0x6400)
0x2A, 0x09, 0x64,  //   Usage Maximum (0x6409)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x43, 0x30,  //   Usage Minimum (0x3043)
0x2A, 0x46, 0x30,  //   Usage Maximum (0x3046)
0x85, 0x75,        //   Report ID (117)
0x15, 0xD4,        //   Logical Minimum (-44)
0x25, 0x37,        //   Logical Maximum (55)
0x75, 0x07,        //   Report Size (7)
0x95, 0x10,        //   Report Count (16)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x75, 0x03,        //   Report Size (3)
0x95, 0x01,        //   Report Count (1)
0x85, 0x75,        //   Report ID (117)
0x81, 0x01,        //   Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x75, 0x01,        //   Report Size (1)
0x95, 0x01,        //   Report Count (1)
0x85, 0x75,        //   Report ID (117)
0x91, 0x01,        //   Output (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0x75, 0x04,        //   Report Size (4)
0x95, 0x01,        //   Report Count (1)
0x85, 0x75,        //   Report ID (117)
0xB1, 0x01,        //   Feature (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0xC0,              // End Collection
0x05, 0x02,        // Usage Page (Sim Ctrls)
0x09, 0x03,        // Usage (Tank Sim Dev)
0xA1, 0x01,        // Collection (Application)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0xBC, 0x47,  //   Usage Minimum (0x47BC)
0x2A, 0xC0, 0x47,  //   Usage Maximum (0x47C0)
0x85, 0x86,        //   Report ID (-122)
0x16, 0x69, 0xFD,  //   Logical Minimum (-663)
0x26, 0xC0, 0x02,  //   Logical Maximum (704)
0x75, 0x0B,        //   Report Size (11)
0x95, 0x06,        //   Report Count (6)
0xB1, 0x22,        //   Feature (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x75, 0x06,        //   Report Size (6)
0x95, 0x01,        //   Report Count (1)
0x85, 0x86,        //   Report ID (-122)
0xB1, 0x01,        //   Feature (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0xC0,              // End Collection
0x05, 0x01,        // Usage Page (Generic Desktop Ctrls)
0x09, 0x01,        // Usage (Pointer)
0xA1, 0x01,        // Collection (Application)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x1A, 0x57, 0x52,  //   Usage Minimum (0x5257)
0x2A, 0x58, 0x52,  //   Usage Maximum (0x5258)
0x85, 0x6C,        //   Report ID (108)
0x16, 0x46, 0x1C,  //   Logical Minimum (7238)
0x26, 0xBD, 0x1C,  //   Logical Maximum (7357)
0x75, 0x0E,        //   Report Size (14)
0x95, 0x03,        //   Report Count (3)
0xB1, 0x22,        //   Feature (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0xBD, 0x43,  //   Usage (0x43BD)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x3C, 0x4E,  //   Usage (0x4E3C)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0x2A, 0x20,  //   Usage Minimum (0x202A)
0x2A, 0x2B, 0x20,  //   Usage Maximum (0x202B)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x1A, 0xD7, 0x0B,  //   Usage Minimum (0x0BD7)
0x2A, 0xD9, 0x0B,  //   Usage Maximum (0x0BD9)
0x85, 0x6C,        //   Report ID (108)
0x15, 0x05,        //   Logical Minimum (5)
0x25, 0x07,        //   Logical Maximum (7)
0x75, 0x03,        //   Report Size (3)
0x95, 0x07,        //   Report Count (7)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x1F, 0x77,  //   Usage (0x771F)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0x20, 0x30,  //   Usage (0x3020)
0x85, 0x6C,        //   Report ID (108)
0x15, 0x08,        //   Logical Minimum (8)
0x25, 0x0C,        //   Logical Maximum (12)
0x75, 0x05,        //   Report Size (5)
0x95, 0x04,        //   Report Count (4)
0xB1, 0x22,        //   Feature (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x1A, 0xA8, 0x53,  //   Usage Minimum (0x53A8)
0x2A, 0xA9, 0x53,  //   Usage Maximum (0x53A9)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x7C, 0x5D,  //   Usage (0x5D7C)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x7B, 0x4C,  //   Usage (0x4C7B)
0x85, 0x6C,        //   Report ID (108)
0x15, 0x67,        //   Logical Minimum (103)
0x25, 0x6F,        //   Logical Maximum (111)
0x75, 0x08,        //   Report Size (8)
0x95, 0x0F,        //   Report Count (15)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x0A, 0xDE, 0x64,  //   Usage (0x64DE)
0x85, 0x6C,        //   Report ID (108)
0x15, 0xBE,        //   Logical Minimum (-66)
0x25, 0xFB,        //   Logical Maximum (-5)
0x75, 0x08,        //   Report Size (8)
0x95, 0x05,        //   Report Count (5)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0xF5, 0x69,  //   Usage Minimum (0x69F5)
0x2A, 0xF6, 0x69,  //   Usage Maximum (0x69F6)
0x85, 0x6C,        //   Report ID (108)
0x15, 0xEE,        //   Logical Minimum (-18)
0x25, 0xF4,        //   Logical Maximum (-12)
0x75, 0x08,        //   Report Size (8)
0x95, 0x04,        //   Report Count (4)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x60, 0x24,  //   Usage (0x2460)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0xCC, 0x6E,  //   Usage Minimum (0x6ECC)
0x2A, 0xCD, 0x6E,  //   Usage Maximum (0x6ECD)
0x85, 0x6C,        //   Report ID (108)
0x16, 0xBF, 0xFD,  //   Logical Minimum (-577)
0x26, 0xA1, 0x0F,  //   Logical Maximum (4001)
0x75, 0x0D,        //   Report Size (13)
0x95, 0x06,        //   Report Count (6)
0xB1, 0x22,        //   Feature (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0x17, 0x78,  //   Usage (0x7817)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x66, 0x72,  //   Usage (0x7266)
0x85, 0x6C,        //   Report ID (108)
0x16, 0x34, 0x02,  //   Logical Minimum (564)
0x26, 0x4C, 0x02,  //   Logical Maximum (588)
0x75, 0x0A,        //   Report Size (10)
0x95, 0x02,        //   Report Count (2)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x0A, 0xF7, 0x41,  //   Usage (0x41F7)
0x05, 0x03,        //   Usage Page (VR Ctrls)
0x1A, 0xF2, 0x55,  //   Usage Minimum (0x55F2)
0x2A, 0xF3, 0x55,  //   Usage Maximum (0x55F3)
0x05, 0x02,        //   Usage Page (Sim Ctrls)
0x0A, 0x4E, 0x5E,  //   Usage (0x5E4E)
0x85, 0x6C,        //   Report ID (108)
0x16, 0x27, 0x2B,  //   Logical Minimum (11047)
0x26, 0x1C, 0x3E,  //   Logical Maximum (15900)
0x75, 0x0F,        //   Report Size (15)
0x95, 0x0A,        //   Report Count (10)
0x81, 0x22,        //   Input (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position)
0x05, 0x01,        //   Usage Page (Generic Desktop Ctrls)
0x1A, 0xA0, 0x6C,  //   Usage Minimum (0x6CA0)
0x2A, 0xA1, 0x6C,  //   Usage Maximum (0x6CA1)
0x85, 0x6C,        //   Report ID (108)
0x16, 0x06, 0x01,  //   Logical Minimum (262)
0x26, 0xE3, 0x02,  //   Logical Maximum (739)
0x75, 0x0B,        //   Report Size (11)
0x95, 0x0E,        //   Report Count (14)
0x91, 0x22,        //   Output (Data,Var,Abs,No Wrap,Linear,No Preferred State,No Null Position,Non-volatile)
0x75, 0x02,        //   Report Size (2)
0x95, 0x01,        //   Report Count (1)
0x85, 0x6C,        //   Report ID (108)
0x81, 0x01,        //   Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x75, 0x05,        //   Report Size (5)
0x95, 0x01,        //   Report Count (1)
0x85, 0x6C,        //   Report ID (108)
0x91, 0x01,        //   Output (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0x75, 0x04,        //   Report Size (4)
0x95, 0x01,        //   Report Count (1)
0x85, 0x6C,        //   Report ID (108)
0xB1, 0x01,        //   Feature (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0xC0,              // End Collection

// 899 bytes
HID人机交互QQ群:564808376    UAC音频QQ群:218581009    UVC相机QQ群:331552032    BOT&UASP大容量存储QQ群:258159197    STC-USB单片机QQ群:315457461    USB技术交流QQ群2:580684376    USB技术交流QQ群:952873936   

0 篇笔记 写笔记

USB复合HID设备报告描述符的区分
在USB规范中,设备的功能是通过接口来承载的,在USB规格书中就是接口描述符。对于一般的设备,一般一个接口就是一个功能,这个功能可以是鼠标,键盘或其它设备类型。当然这个只是对USB简易设备而言的,对于一些USB复杂设备如UVC摄像头,UAC音频等是多接口相互配合来实现其功能的,为了整合这么多接口使......
HID报告描述符详解
HID的报告描述符和其它描述符不一样,不是具有固定的数据结构,而是由固件开发商根据上报的数据自行组装的。这个组装的原材料是HID规范定义的ITEM。所以说HID报告描述符就像搭积木一样,其最终的数据结构和设计图纸是什么,都是由固件开发商决定的,但是其最终的产品又是由HID规范提供的各个标准积木模块搭......
USB键盘报告描述符数据格式分析
USB键盘的HID报表描述符的内容参见下表。数据的输入端点为中断方式,当有键盘敲击事件时,会上报数据长度为8字节的数据报告。0x05,0x01,// Global Generic Desktop0x09,0x06,// Local KeyBoard 0xA1,0x01,// Main app col......
USB鼠标HID报告描述符数据格式分析
注意:这里的鼠标为普通鼠标报告描述符的信息解释,其并不适用于全鼠标报表描述符。一个示例如下:0x05,0x01, // Global Generic Desktop0x09,0x02, // Local Mouse0xa1,0x01, // Main app collection0x09,......
USB中文网出品-HID报告描述符分析工具
HidReportParser.exe工具已经网页化,可访问http://www.usbzh.com/tool/usb.html 在线分析USB-HID报告描述符USB HID规范中有一个很重要的概念,就是HID的报告描述符。本人搞了这么久的HID设备开发,其中一项最头疼的是HID报告描述符的......
HID 报表描述符/报告描述符
报表描述符用于描述USB HID设备与主机之间数据交互的格式。根据数据的传输方向,分为输入报告和输出报告。输入报告是USB设备发送数据给主机的。大部分的USB HID设备主要实现的是输入报告。如我们平常使用的USB鼠标,就是通过我们点击鼠标按键或滑动鼠标流轮实现给主机上报鼠标的报告信息。输出报告......
HID报告描述符协议
HID报告描述符通过报告描述符的条目定义了HID报告数据的格式。对于大部分的HID设备来说,数据的传输方向都是输入的,即使用输入端点数据从设备端到主机端,并且使用的是中断的方式。当然HID设备不仅仅为数据的输入,有时也需要数据的输出。这时就需要一个输出中断端点来实现。报告描述符包含了属于特定Rep......
USB官网HID报告描述符生成工具
USB规范官网提供了一个HID报告描述符生成工具,https://www.usb.org/document-library/hid-descriptor-tool 使用我们此工具,我们可以:创建、编辑和验证HID报告描述符。输出多种输出(.txt、.inc、.h等)查看一些标准的设备报告描述符......
VS2019分析HID报告描述符解析源代码
常有人问,有没有HID解析的工具,好像除了usb官网提供的dt.exe,没有其它的好的东东了。Linux下有相关的工具,在本站的社区里:http://www.usbzh.com/zone/detail-12.html 可以查看做HID开发,其实最麻烦的就是HID报表描述符了。这里本人移植了Reac......
HID报告描述符Report Descriptor解析分析
HID独有的报告描述符也叫报表描述符对于初学者来说比较复杂,但是如果真正理解了它,我们又不得不惊吧于设计者的巧妙设计。HID报告描述符是由一系列的条目(item)组成的,一个item一般是又包括头部信息(bTag,bType,bSize)和数据内容。所以说item在HID的报告描述符中是最小的信息单......
HID报告描述符Usage
Usage是HID报告描述符的一部分,用于应用开发人员提供有关控制测量内容的信息。Usage标签指示了设备供应商对其设备的控制或者设备控制组的特定用途建议。例如虽然报告描述符中定义了数据格式(例如,三个 8 位字段),但使用Usages定义了应对数据执行的操作含义,例如 x、y 和 z 输入。 此功......
HID报告描述符分类大全
下表列出的是全部的项目的前缀字和简要功能说明。项目类型项目标志(Tag)项目前缀,nn为数据长度功能说明MainInput8x1000 00 nn定义输入报表,主机利用该信息解析设备提供的数据。主机向控制端口发送Get_Report实现输入MainOutpu......
HID音量控制报告描述符
音量控制HID规范提供了两种报告描述符,分别对应按钮式和旋钮式。Up/Down 按钮音量控制下面的示例定义了一对按钮,用于渐变变量,例如音量增大和音量向下按钮。输入设备必须定义为相对设备。–1将减小音量+1将增大音量。0对音量没有影响。UsagePage(Consumer)Usage(Vol......
HID磁带滚轮按钮报告描述符
磁带滚轮按钮是一个弹簧式旋钮,可旋转 ±90°,用户食指有一个小凹痕。 当用户向右或向左扭转旋钮时,磁带与从弹簧加载的中心位置的旋转成正比的速率前进或后退。UsagePage(Consumer)Usage(Tape Jog)Logical Minimum(-127),Logical Maxi......
HID 单元按钮报告描述符
单选按钮是一组相互排斥的按钮。在下面的示例中,音频接收器使用三个单选按钮在计算机、DVD 设备或万维网之间进行选择作为显示源。机械连接式单选接钮 Mechanically Linked Radio Buttons一般的,单选按钮实现有一个机械系统,它释放任何未按下的按钮,并将最后按下的按钮保持在活......
关注公众号
取消
感谢您的支持,我会继续努力的!
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

您的支持,是我们前进的动力!