const u8 CustomHID_ReportDescriptor[CUSTOMHID_SIZ_REPORT_DESC] = { 0x06, 0xC0, 0xFF, // USAGE_PAGE(User define) 0x09, 0x01, // USAGE(User define) 0xA1, 0x01, // COLLECTION (Application) 0x09, 0x02, // USAGE(User define) 0xA1, 0x00, // COLLECTION (Physical) // 11 //
0x85, 0x02, // REPORT_ID (0x02) 0x09, 0x03, // USAGE (User define) 0x15, 0x80, // LOGICAL_MINIMUM (-128) 0x25, 0x7F, // LOGICAL_MAXIMUM (127) 0x35, 0x00, // PHYSICAL_MINIMUM(0) 0x45, 0xFF, // PHYSICAL_MAXIMUM(255) 0x75, 0x08, // REPORT_SIZE (8) 0x95, 0x3F, // REPORT_COUNT (64) 0x81, 0x02, // INPUT (Data,Var,Abs) // 29 //
0x85, 0x03, // REPORT_ID (0x03) 0x09, 0x04, // USAGE (User define) 0x15, 0x80, // LOGICAL_MINIMUM (-128) 0x25, 0x7F, // LOGICAL_MAXIMUM (127) 0x35, 0x00, // PHYSICAL_MINIMUM(0) 0x45, 0xFF, // PHYSICAL_MAXIMUM(255) 0x75, 0x08, // REPORT_SIZE (8) 0x95, 0x07, // REPORT_COUNT (8) 0x81, 0x02, // INPUT (Data,Var,Abs) // 47 //
0x85, 0x04, // REPORT_ID (0x04) 0x09, 0x05, // USAGE (User define) 0x15, 0x80, // LOGICAL_MINIMUM (-128) 0x25, 0x7F, // LOGICAL_MAXIMUM (127) 0x35, 0x00, // PHYSICAL_MINIMUM(0) 0x45, 0xFF, // PHYSICAL_MAXIMUM(255) 0x75, 0x08, // REPORT_SIZE (8) 0x95, 0x07, // REPORT_COUNT (8) 0x91, 0x02, // OUTPUT (Data,Var,Abs) // 65 //
0x85, 0x05, // REPORT_ID (0x05) 0x09, 0x06, // USAGE (User define) 0x15, 0x80, // LOGICAL_MINIMUM (-128) 0x25, 0x7F, // LOGICAL_MAXIMUM (127) 0x35, 0x00, // PHYSICAL_MINIMUM(0) 0x45, 0xFF, // PHYSICAL_MAXIMUM(255) 0x75, 0x08, // REPORT_SIZE (8) 0x95, 0x3F, // REPORT_COUNT (64) 0x91, 0x02, // OUTPUT (Data,Var,Abs) // 83 // 0xC0, // END_COLLECTION
0xC0 // END_COLLECTION }; /* CustomHID_ReportDescriptor */ |