试一下这个
0x06, 0xA0, 0xFF, // Usage page (vendor defined),用来指定设备的功能
0x09, 0x01, // Usage ID (vendor defined) 指定个别报表功能
0xA1, 0x01, // Collection (application)
// 输入报表
0x09, 0x03, // Usage ID - vendor defined
0x15, 0x00, // Logical Minimum (0)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x75, 0x08, // Report Size (8 bits)
0x95, 0x08,, // Report Count (8)
0x81, 0x02, // Input (Data, Variable, Absolute)
// 输出报表
0x09, 0x04, // Usage ID - vendor defined
0x15, 0x00, // Logical Minimum (0)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x75, 0x08, // Report Size (8 bits)
0x95, 0x08, // Report Count (8)
0x91, 0x02, // Output (Data, Variable, Absolute)
// 特征报表
0x09, 0x05, // Usage ID - vendor defined
0x15, 0x00, // Logical Minimum (0)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x75, 0x08, // Report Size (8 bits)
0x95, 0x02, // Report Count (2 fields)
0xB1, 0x02, // Feature (Data, Variable, Absolute)
0xC0 // END_COLLECTION |