hid_descriptor.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. /*
  2. * SPDX-FileCopyrightText: 2019-2023 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. const unsigned char hidReportMap[] = {
  8. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  9. 0x09, 0x02, // Usage (Mouse)
  10. 0xA1, 0x01, // Collection (Application)
  11. 0x85, 0x01, // Report ID (1)
  12. 0x09, 0x01, // Usage (Pointer)
  13. 0xA1, 0x00, // Collection (Physical)
  14. 0x05, 0x09, // Usage Page (Button)
  15. 0x19, 0x01, // Usage Minimum (0x01)
  16. 0x29, 0x03, // Usage Maximum (0x03)
  17. 0x15, 0x00, // Logical Minimum (0)
  18. 0x25, 0x01, // Logical Maximum (1)
  19. 0x75, 0x01, // Report Size (1)
  20. 0x95, 0x03, // Report Count (3)
  21. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  22. 0x75, 0x05, // Report Size (5)
  23. 0x95, 0x01, // Report Count (1)
  24. 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  25. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  26. 0x09, 0x30, // Usage (X)
  27. 0x09, 0x31, // Usage (Y)
  28. 0x09, 0x38, // Usage (Wheel)
  29. 0x15, 0x81, // Logical Minimum (-127)
  30. 0x25, 0x7F, // Logical Maximum (127)
  31. 0x75, 0x08, // Report Size (8)
  32. 0x95, 0x03, // Report Count (3)
  33. 0x81, 0x06, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
  34. 0xC0, // End Collection
  35. 0xC0, // End Collection
  36. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  37. 0x09, 0x06, // Usage (Keyboard)
  38. 0xA1, 0x01, // Collection (Application)
  39. 0x85, 0x02, // Report ID (2)
  40. 0x05, 0x07, // Usage Page (Kbrd/Keypad)
  41. 0x19, 0xE0, // Usage Minimum (0xE0)
  42. 0x29, 0xE7, // Usage Maximum (0xE7)
  43. 0x15, 0x00, // Logical Minimum (0)
  44. 0x25, 0x01, // Logical Maximum (1)
  45. 0x75, 0x01, // Report Size (1)
  46. 0x95, 0x08, // Report Count (8)
  47. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  48. 0x95, 0x01, // Report Count (1)
  49. 0x75, 0x08, // Report Size (8)
  50. 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  51. 0x95, 0x05, // Report Count (5)
  52. 0x75, 0x01, // Report Size (1)
  53. 0x05, 0x08, // Usage Page (LEDs)
  54. 0x19, 0x01, // Usage Minimum (Num Lock)
  55. 0x29, 0x05, // Usage Maximum (Kana)
  56. 0x91, 0x02, // Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
  57. 0x95, 0x01, // Report Count (1)
  58. 0x75, 0x03, // Report Size (3)
  59. 0x91, 0x01, // Output (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
  60. 0x95, 0x06, // Report Count (6)
  61. 0x75, 0x08, // Report Size (8)
  62. 0x15, 0x00, // Logical Minimum (0)
  63. 0x25, 0x65, // Logical Maximum (101)
  64. 0x05, 0x07, // Usage Page (Kbrd/Keypad)
  65. 0x19, 0x00, // Usage Minimum (0x00)
  66. 0x29, 0x65, // Usage Maximum (0x65)
  67. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  68. 0xC0, // End Collection
  69. 0x05, 0x0C, // Usage Page (Consumer)
  70. 0x09, 0x01, // Usage (Consumer Control)
  71. 0xA1, 0x01, // Collection (Application)
  72. 0x85, 0x03, // Report ID (3)
  73. 0x09, 0x02, // Usage (Numeric Key Pad)
  74. 0xA1, 0x02, // Collection (Logical)
  75. 0x05, 0x09, // Usage Page (Button)
  76. 0x19, 0x01, // Usage Minimum (0x01)
  77. 0x29, 0x0A, // Usage Maximum (0x0A)
  78. 0x15, 0x01, // Logical Minimum (1)
  79. 0x25, 0x0A, // Logical Maximum (10)
  80. 0x75, 0x04, // Report Size (4)
  81. 0x95, 0x01, // Report Count (1)
  82. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  83. 0xC0, // End Collection
  84. 0x05, 0x0C, // Usage Page (Consumer)
  85. 0x09, 0x86, // Usage (Channel)
  86. 0x15, 0xFF, // Logical Minimum (-1)
  87. 0x25, 0x01, // Logical Maximum (1)
  88. 0x75, 0x02, // Report Size (2)
  89. 0x95, 0x01, // Report Count (1)
  90. 0x81, 0x46, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,Null State)
  91. 0x09, 0xE9, // Usage (Volume Increment)
  92. 0x09, 0xEA, // Usage (Volume Decrement)
  93. 0x15, 0x00, // Logical Minimum (0)
  94. 0x75, 0x01, // Report Size (1)
  95. 0x95, 0x02, // Report Count (2)
  96. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  97. 0x09, 0xE2, // Usage (Mute)
  98. 0x09, 0x30, // Usage (Power)
  99. 0x09, 0x83, // Usage (Recall Last)
  100. 0x09, 0x81, // Usage (Assign Selection)
  101. 0x09, 0xB0, // Usage (Play)
  102. 0x09, 0xB1, // Usage (Pause)
  103. 0x09, 0xB2, // Usage (Record)
  104. 0x09, 0xB3, // Usage (Fast Forward)
  105. 0x09, 0xB4, // Usage (Rewind)
  106. 0x09, 0xB5, // Usage (Scan Next Track)
  107. 0x09, 0xB6, // Usage (Scan Previous Track)
  108. 0x09, 0xB7, // Usage (Stop)
  109. 0x15, 0x01, // Logical Minimum (1)
  110. 0x25, 0x0C, // Logical Maximum (12)
  111. 0x75, 0x04, // Report Size (4)
  112. 0x95, 0x01, // Report Count (1)
  113. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  114. 0x09, 0x80, // Usage (Selection)
  115. 0xA1, 0x02, // Collection (Logical)
  116. 0x05, 0x09, // Usage Page (Button)
  117. 0x19, 0x01, // Usage Minimum (0x01)
  118. 0x29, 0x03, // Usage Maximum (0x03)
  119. 0x15, 0x01, // Logical Minimum (1)
  120. 0x25, 0x03, // Logical Maximum (3)
  121. 0x75, 0x02, // Report Size (2)
  122. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  123. 0xC0, // End Collection
  124. 0x81, 0x03, // Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  125. 0xC0, // End Collection
  126. 0x06, 0xFF, 0xFF, // Usage Page (Vendor Defined 0xFFFF)
  127. 0x09, 0xA5, // Usage (0xA5)
  128. 0xA1, 0x01, // Collection (Application)
  129. 0x85, 0x04, // Report ID (4)
  130. 0x09, 0xA6, // Usage (0xA6)
  131. 0x09, 0xA9, // Usage (0xA9)
  132. 0x75, 0x08, // Report Size (8)
  133. 0x95, 0x7F, // Report Count (127)
  134. 0x91, 0x02, // Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
  135. 0xC0, // End Collection
  136. // 250 bytes
  137. };
  138. const unsigned char relMouseReportMap[] = { //4 bytes (btns,x,y,wheel)
  139. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  140. 0x09, 0x02, // Usage (Mouse)
  141. 0xA1, 0x01, // Collection (Application)
  142. 0x09, 0x01, // Usage (Pointer)
  143. 0xA1, 0x00, // Collection (Physical)
  144. 0x85, 0x01, // Report ID (1)
  145. 0x05, 0x09, // Usage Page (Button)
  146. 0x19, 0x01, // Usage Minimum (0x01)
  147. 0x29, 0x05, // Usage Maximum (0x05)
  148. 0x15, 0x00, // Logical Minimum (0)
  149. 0x25, 0x01, // Logical Maximum (1)
  150. 0x95, 0x05, // Report Count (5)
  151. 0x75, 0x01, // Report Size (1)
  152. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  153. 0x95, 0x01, // Report Count (1)
  154. 0x75, 0x03, // Report Size (3)
  155. 0x81, 0x03, // Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  156. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  157. 0x09, 0x30, // Usage (X)
  158. 0x09, 0x31, // Usage (Y)
  159. 0x09, 0x38, // Usage (Wheel)
  160. 0x15, 0x81, // Logical Minimum (-127)
  161. 0x25, 0x7F, // Logical Maximum (127)
  162. 0x75, 0x08, // Report Size (8)
  163. 0x95, 0x03, // Report Count (3)
  164. 0x81, 0x06, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
  165. 0xC0, // End Collection
  166. 0xC0, // End Collection
  167. // 54 bytes
  168. };
  169. const unsigned char absMouseReportMap[] = { //6 bytes (btns,x*2,y*2,wheel)
  170. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  171. 0x09, 0x02, // Usage (Mouse)
  172. 0xA1, 0x01, // Collection (Application)
  173. 0x09, 0x01, // Usage (Pointer)
  174. 0xA1, 0x00, // Collection (Physical)
  175. 0x85, 0x01, // Report ID (1)
  176. 0x05, 0x09, // Usage Page (Button)
  177. 0x19, 0x01, // Usage Minimum (0x01)
  178. 0x29, 0x05, // Usage Maximum (0x05)
  179. 0x15, 0x00, // Logical Minimum (0)
  180. 0x25, 0x01, // Logical Maximum (1)
  181. 0x95, 0x05, // Report Count (5)
  182. 0x75, 0x01, // Report Size (1)
  183. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  184. 0x95, 0x01, // Report Count (1)
  185. 0x75, 0x03, // Report Size (3)
  186. 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  187. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  188. 0x09, 0x30, // Usage (X)
  189. 0x09, 0x31, // Usage (Y)
  190. 0x15, 0x00, // Logical Minimum (0)
  191. 0x26, 0xFF, 0x7F, // Logical Maximum (32767)
  192. 0x75, 0x10, // Report Size (16)
  193. 0x95, 0x02, // Report Count (2)
  194. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  195. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  196. 0x09, 0x38, // Usage (Wheel)
  197. 0x15, 0x81, // Logical Minimum (-127)
  198. 0x25, 0x7F, // Logical Maximum (127)
  199. 0x75, 0x08, // Report Size (8)
  200. 0x95, 0x01, // Report Count (1)
  201. 0x81, 0x06, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,No Null Position)
  202. 0xC0, // End Collection
  203. 0xC0, // End Collection
  204. // 67 bytes
  205. };
  206. const unsigned char keyboardReportMap[] = { //7 bytes input (modifiers, resrvd, keys*5), 1 byte output
  207. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  208. 0x09, 0x06, // Usage (Keyboard)
  209. 0xA1, 0x01, // Collection (Application)
  210. 0x85, 0x01, // Report ID (1)
  211. 0x05, 0x07, // Usage Page (Kbrd/Keypad)
  212. 0x19, 0xE0, // Usage Minimum (0xE0)
  213. 0x29, 0xE7, // Usage Maximum (0xE7)
  214. 0x15, 0x00, // Logical Minimum (0)
  215. 0x25, 0x01, // Logical Maximum (1)
  216. 0x75, 0x01, // Report Size (1)
  217. 0x95, 0x08, // Report Count (8)
  218. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  219. 0x95, 0x01, // Report Count (1)
  220. 0x75, 0x08, // Report Size (8)
  221. 0x81, 0x03, // Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  222. 0x95, 0x05, // Report Count (5)
  223. 0x75, 0x01, // Report Size (1)
  224. 0x05, 0x08, // Usage Page (LEDs)
  225. 0x19, 0x01, // Usage Minimum (Num Lock)
  226. 0x29, 0x05, // Usage Maximum (Kana)
  227. 0x91, 0x02, // Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
  228. 0x95, 0x01, // Report Count (1)
  229. 0x75, 0x03, // Report Size (3)
  230. 0x91, 0x03, // Output (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
  231. 0x95, 0x05, // Report Count (5)
  232. 0x75, 0x08, // Report Size (8)
  233. 0x15, 0x00, // Logical Minimum (0)
  234. 0x25, 0x65, // Logical Maximum (101)
  235. 0x05, 0x07, // Usage Page (Kbrd/Keypad)
  236. 0x19, 0x00, // Usage Minimum (0x00)
  237. 0x29, 0x65, // Usage Maximum (0x65)
  238. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  239. 0xC0, // End Collection
  240. // 65 bytes
  241. };
  242. const unsigned char joystickReportMap[] = { // 8bytes (8but, 4but+hat, r, y, rx, ry, z, rz)
  243. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  244. 0x09, 0x04, // Usage (Joystick)
  245. 0xA1, 0x01, // Collection (Application)
  246. 0x85, 0x01, // Report ID (1)
  247. 0x05, 0x09, // Usage Page (Button)
  248. 0x19, 0x01, // Usage Minimum (0x01)
  249. 0x29, 0x0C, // Usage Maximum (0x0C)
  250. 0x15, 0x00, // Logical Minimum (0)
  251. 0x25, 0x01, // Logical Maximum (1)
  252. 0x75, 0x01, // Report Size (1)
  253. 0x95, 0x0C, // Report Count (12)
  254. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  255. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  256. 0x09, 0x39, // Usage (Hat switch)
  257. 0x15, 0x01, // Logical Minimum (1)
  258. 0x25, 0x08, // Logical Maximum (8)
  259. 0x95, 0x01, // Report Count (1)
  260. 0x75, 0x04, // Report Size (4)
  261. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  262. 0x05, 0x01, // Usage Page (Generic Desktop Ctrls)
  263. 0xA1, 0x00, // Collection (Physical)
  264. 0x09, 0x30, // Usage (X)
  265. 0x09, 0x31, // Usage (Y)
  266. 0x09, 0x33, // Usage (Rx)
  267. 0x09, 0x34, // Usage (Ry)
  268. 0x15, 0x80, // Logical Minimum (-128)
  269. 0x25, 0x7F, // Logical Maximum (127)
  270. 0x75, 0x08, // Report Size (8)
  271. 0x95, 0x04, // Report Count (4)
  272. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  273. 0x09, 0x32, // Usage (Z)
  274. 0x09, 0x35, // Usage (Rz)
  275. 0x15, 0x80, // Logical Minimum (-128)
  276. 0x25, 0x7F, // Logical Maximum (127)
  277. 0x75, 0x08, // Report Size (8)
  278. 0x95, 0x02, // Report Count (2)
  279. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  280. 0xC0, // End Collection
  281. 0xC0, // End Collection
  282. // 76 bytes
  283. };
  284. const unsigned char mediaReportMap[] = { //6 bytes (3 x 16bit)
  285. 0x05, 0x0C, // Usage Page (Consumer)
  286. 0x09, 0x01, // Usage (Consumer Control)
  287. 0xA1, 0x01, // Collection (Application)
  288. 0x85, 0x03, // Report ID (3)
  289. 0x19, 0x00, // Usage Minimum (Unassigned)
  290. 0x2A, 0xFF, 0x03, // Usage Maximum (0x03FF)
  291. 0x15, 0x00, // Logical Minimum (0)
  292. 0x26, 0xFF, 0x03, // Logical Maximum (1023)
  293. 0x95, 0x03, // Report Count (3)
  294. 0x75, 0x10, // Report Size (16)
  295. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  296. 0xC0, // End Collection
  297. // 25 bytes
  298. };
  299. const unsigned char mediaReportMap2[] = {
  300. 0x05, 0x0C, // Usage Page (Consumer)
  301. 0x09, 0x01, // Usage (Consumer Control)
  302. 0xA1, 0x01, // Collection (Application)
  303. 0x85, 0x03, // Report ID (3)
  304. 0x09, 0x02, // Usage (Numeric Key Pad)
  305. 0xA1, 0x02, // Collection (Logical)
  306. 0x05, 0x09, // Usage Page (Button)
  307. 0x19, 0x01, // Usage Minimum (0x01)
  308. 0x29, 0x0A, // Usage Maximum (0x0A)
  309. 0x15, 0x01, // Logical Minimum (1)
  310. 0x25, 0x0A, // Logical Maximum (10)
  311. 0x75, 0x04, // Report Size (4)
  312. 0x95, 0x01, // Report Count (1)
  313. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  314. 0xC0, // End Collection
  315. 0x05, 0x0C, // Usage Page (Consumer)
  316. 0x09, 0x86, // Usage (Channel)
  317. 0x15, 0xFF, // Logical Minimum (-1)
  318. 0x25, 0x01, // Logical Maximum (1)
  319. 0x75, 0x02, // Report Size (2)
  320. 0x95, 0x01, // Report Count (1)
  321. 0x81, 0x46, // Input (Data,Var,Rel,No Wrap,Linear,Preferred State,Null State)
  322. 0x09, 0xE9, // Usage (Volume Increment)
  323. 0x09, 0xEA, // Usage (Volume Decrement)
  324. 0x15, 0x00, // Logical Minimum (0)
  325. 0x75, 0x01, // Report Size (1)
  326. 0x95, 0x02, // Report Count (2)
  327. 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  328. 0x09, 0xE2, // Usage (Mute)
  329. 0x09, 0x30, // Usage (Power)
  330. 0x09, 0x83, // Usage (Recall Last)
  331. 0x09, 0x81, // Usage (Assign Selection)
  332. 0x09, 0xB0, // Usage (Play)
  333. 0x09, 0xB1, // Usage (Pause)
  334. 0x09, 0xB2, // Usage (Record)
  335. 0x09, 0xB3, // Usage (Fast Forward)
  336. 0x09, 0xB4, // Usage (Rewind)
  337. 0x09, 0xB5, // Usage (Scan Next Track)
  338. 0x09, 0xB6, // Usage (Scan Previous Track)
  339. 0x09, 0xB7, // Usage (Stop)
  340. 0x15, 0x01, // Logical Minimum (1)
  341. 0x25, 0x0C, // Logical Maximum (12)
  342. 0x75, 0x04, // Report Size (4)
  343. 0x95, 0x01, // Report Count (1)
  344. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  345. 0x09, 0x80, // Usage (Selection)
  346. 0xA1, 0x02, // Collection (Logical)
  347. 0x05, 0x09, // Usage Page (Button)
  348. 0x19, 0x01, // Usage Minimum (0x01)
  349. 0x29, 0x03, // Usage Maximum (0x03)
  350. 0x15, 0x01, // Logical Minimum (1)
  351. 0x25, 0x03, // Logical Maximum (3)
  352. 0x75, 0x02, // Report Size (2)
  353. 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
  354. 0xC0, // End Collection
  355. 0x81, 0x03, // Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
  356. 0xC0, // End Collection
  357. };
  358. const unsigned char hidapiReportMap[] = { //8 bytes input, 8 bytes feature
  359. 0x06, 0x00, 0xFF, // Usage Page (Vendor Defined 0xFF00)
  360. 0x0A, 0x00, 0x01, // Usage (0x0100)
  361. 0xA1, 0x01, // Collection (Application)
  362. 0x85, 0x01, // Report ID (1)
  363. 0x15, 0x00, // Logical Minimum (0)
  364. 0x26, 0xFF, 0x00, // Logical Maximum (255)
  365. 0x75, 0x08, // Report Size (8)
  366. 0x95, 0x08, // Report Count (8)
  367. 0x09, 0x01, // Usage (0x01)
  368. 0x82, 0x02, 0x01, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Buffered Bytes)
  369. 0x95, 0x08, // Report Count (8)
  370. 0x09, 0x02, // Usage (0x02)
  371. 0xB2, 0x02, 0x01, // Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile,Buffered Bytes)
  372. 0x95, 0x08, // Report Count (8)
  373. 0x09, 0x03, // Usage (0x03)
  374. 0x91, 0x02, // Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
  375. 0xC0, // End Collection
  376. // 38 bytes
  377. };