hidstrings.c 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580
  1. #include <common/hid.h>
  2. // Generic Desktop Devices
  3. struct hid_usage_types_string hid_usage_type001[] = {
  4. {0x0000, "Undefined"},
  5. {0x0001, "Pointer"},
  6. {0x0002, "Mouse"},
  7. {0x0003, "Reserved"},
  8. {0x0004, "Joystick"},
  9. {0x0005, "Game Pad"},
  10. {0x0006, "Keyboard"},
  11. {0x0007, "Keypad"},
  12. {0x0008, "Multi-axis Controller"},
  13. {0x0009, "Tablet PC System Controls"},
  14. {0x0030, "X"},
  15. {0x0031, "Y"},
  16. {0x0032, "Z"},
  17. {0x0033, "Rx"},
  18. {0x0034, "Ry"},
  19. {0x0035, "Rz"},
  20. {0x0036, "Slider"},
  21. {0x0037, "Dial"},
  22. {0x0038, "Wheel"},
  23. {0x0039, "Hat Switch"},
  24. {0x003A, "Counted Buffer"},
  25. {0x003B, "Byte Count"},
  26. {0x003C, "Motion Wake-up"},
  27. {0x003D, "Start"},
  28. {0x003E, "Select"},
  29. {0x003F, "Reserved"},
  30. {0x0040, "Vx"},
  31. {0x0041, "Vy"},
  32. {0x0042, "Vz"},
  33. {0x0043, "Vbrx"},
  34. {0x0044, "Vbry"},
  35. {0x0045, "Vbrz"},
  36. {0x0046, "Vno"},
  37. {0x0047, "Feature Notification"},
  38. {0x0048, "Resolution Mutliplier"},
  39. {0x0080, "System Control"},
  40. {0x0081, "System Power Down"},
  41. {0x0082, "System Sleep"},
  42. {0x0083, "System Wake-up"},
  43. {0x0084, "System Context Menu"},
  44. {0x0085, "System Main Menu"},
  45. {0x0086, "System App Menu"},
  46. {0x0087, "System Menu Help"},
  47. {0x0088, "System Menu Exit"},
  48. {0x0089, "System Menu Select"},
  49. {0x008A, "System Menu Right"},
  50. {0x008B, "System Menu Left"},
  51. {0x008C, "System Menu Up"},
  52. {0x008D, "System Menu Down"},
  53. {0x008E, "System Cold Restart "},
  54. {0x008F, "System Warm Restart"},
  55. {0x0090, "D-Pan Up"},
  56. {0x0091, "D-Pan Down"},
  57. {0x0092, "D-Pan Right"},
  58. {0x0093, "D-Pan Left"},
  59. {0x00A0, "System Dock"},
  60. {0x00A1, "System unDock"},
  61. {0x00A2, "System Setup"},
  62. {0x00A3, "System Break"},
  63. {0x00A4, "System Debugger Break"},
  64. {0x00A5, "Application Break"},
  65. {0x00A6, "Application Debugger Break"},
  66. {0x00A7, "System Speaker Mute"},
  67. {0x00A8, "System Hibernate"},
  68. {0x00B0, "System Display Invert"},
  69. {0x00B1, "System Display Internal"},
  70. {0x00B2, "System Display External"},
  71. {0x00B3, "System Display Both"},
  72. {0x00B4, "System Display Dual"},
  73. {0x00B5, "System Display Toggle Int/Ext"},
  74. {0x00B6, "System Display Swap Prim/Sec"},
  75. {0x00B7, "System Display Display Auto Scale"},
  76. {0xFFFF, ""},
  77. };
  78. struct hid_usage_types_string hid_usage_type002[] = {
  79. {0x0000, "Undefined"},
  80. {0x0001, "Flight Simulation Device"},
  81. {0x0002, "Automobile Simulation Device"},
  82. {0x0003, "Tank Simulation Device"},
  83. {0x0004, "Spaceship Simulation Device"},
  84. {0x0005, "Submarine Simulation Device"},
  85. {0x0006, "Sailing Simulation Device"},
  86. {0x0007, "Motorcycle Simulation Device"},
  87. {0x0008, "Sports Simulation Device"},
  88. {0x0009, "Airplane Simulation Device"},
  89. {0x000A, "Helicopter Simulation Device"},
  90. {0x000B, "Magic Carpet Simulation Device"},
  91. {0x000C, "Bicycle"},
  92. {0x0020, "Flight Control Stick"},
  93. {0x0021, "Flight Stick"},
  94. {0x0022, "Cyclic Control"},
  95. {0x0023, "Cyclic Trim"},
  96. {0x0024, "Flight Yoke"},
  97. {0x0025, "Track Control"},
  98. {0x0026, "Driving Control"},
  99. {0x00B0, "Aileron"},
  100. {0x00B1, "Aileron Trim"},
  101. {0x00B2, "Anti-Torque Control"},
  102. {0x00B3, "Auto-pilot Enable"},
  103. {0x00B4, "Chaff Release"},
  104. {0x00B5, "Collective Control"},
  105. {0x00B6, "Dive Brake"},
  106. {0x00B7, "Electronic Counter Measures"},
  107. {0x00B8, "Elevator"},
  108. {0x00B9, "Elevator Trim"},
  109. {0x00BA, "Rudder"},
  110. {0x00BB, "Throttle"},
  111. {0x00BC, "Flight Communication"},
  112. {0x00BD, "Flare Release"},
  113. {0x00BE, "Landing Gear"},
  114. {0x00BF, "Toe Brake"},
  115. {0x00C0, "Trigger"},
  116. {0x00C1, "Weapons Arm"},
  117. {0x00C2, "Weapons Select"},
  118. {0x00C3, "Wing Flaps"},
  119. {0x00C4, "Accelerator"},
  120. {0x00C5, "Brake"},
  121. {0x00C6, "Clutch"},
  122. {0x00C7, "Shifter"},
  123. {0x00C8, "Steering"},
  124. {0x00C9, "Turret Direction"},
  125. {0x00CA, "Barrel Elevation"},
  126. {0x00CB, "Dive Plane"},
  127. {0x00CC, "Ballast"},
  128. {0x00CD, "Bicycle Crank"},
  129. {0x00CE, "Handle Bars"},
  130. {0x00CF, "Front Brake"},
  131. {0x00D0, "Rear Brake"},
  132. {0xFFFF, ""},
  133. };
  134. struct hid_usage_types_string hid_usage_type003[] = {
  135. {0x0000, "Unidentified"},
  136. {0x0001, "Belt"},
  137. {0x0002, "Body Suit"},
  138. {0x0003, "Flexor"},
  139. {0x0004, "Glove"},
  140. {0x0005, "Head Tracker"},
  141. {0x0006, "Head Mounted Display"},
  142. {0x0007, "Hand Tracker"},
  143. {0x0008, "Oculometer"},
  144. {0x0009, "Vest"},
  145. {0x000A, "Animatronic Device"},
  146. {0x0020, "Stereo Enable"},
  147. {0x0021, "Display Enable"},
  148. {0xFFFF, ""},
  149. };
  150. struct hid_usage_types_string hid_usage_type004[] = {
  151. {0x0000, "Unidentified"},
  152. {0x0001, "Baseball Bat"},
  153. {0x0002, "Golf Club"},
  154. {0x0003, "Rowing Machine"},
  155. {0x0004, "Treadmill"},
  156. {0x0030, "Oar"},
  157. {0x0031, "Slope"},
  158. {0x0032, "Rate"},
  159. {0x0033, "Stick Speed"},
  160. {0x0034, "Stick Face Angle"},
  161. {0x0035, "Stick Heel/Toe"},
  162. {0x0036, "Stick Follow Through"},
  163. {0x0037, "Stick Tempo"},
  164. {0x0038, "Stick Type"},
  165. {0x0039, "Stick Height"},
  166. {0x0050, "Putter"},
  167. {0x0051, "1 Iron"},
  168. {0x0052, "2 Iron"},
  169. {0x0053, "3 Iron"},
  170. {0x0054, "4 Iron"},
  171. {0x0055, "5 Iron"},
  172. {0x0056, "6 Iron"},
  173. {0x0057, "7 Iron"},
  174. {0x0058, "8 Iron"},
  175. {0x0059, "9 Iron"},
  176. {0x005A, "10 Iron"},
  177. {0x005B, "11 Iron"},
  178. {0x005C, "Sand Wedge"},
  179. {0x005D, "Loft Wedge"},
  180. {0x005E, "Power Wedge"},
  181. {0x005F, "1 Wood"},
  182. {0x0060, "3 Wood"},
  183. {0x0061, "5 Wood"},
  184. {0x0062, "7 Wood"},
  185. {0x0063, "9 Wood"},
  186. {0xFFFF, ""},
  187. };
  188. struct hid_usage_types_string hid_usage_type005[] = {
  189. {0x0000, "Undefined"},
  190. {0x0001, "3D Game Controller"},
  191. {0x0002, "Pinball Device"},
  192. {0x0003, "Gun Device"},
  193. {0x0020, "Point of View"},
  194. {0x0021, "Turn Right/Left"},
  195. {0x0022, "Pitch Right/Left"},
  196. {0x0023, "Roll Forward/Backward"},
  197. {0x0024, "Move Right/Left"},
  198. {0x0025, "Move Forward/Backward"},
  199. {0x0026, "Move Up/Down"},
  200. {0x0027, "Lean Right/Left"},
  201. {0x0028, "Lean Forward/Backward"},
  202. {0x0029, "Height of POV"},
  203. {0x002A, "Flipper"},
  204. {0x002B, "Secondary Flipper"},
  205. {0x002C, "Bump"},
  206. {0x002D, "New Game"},
  207. {0x002E, "Shoot Ball"},
  208. {0x002F, "Player"},
  209. {0x0030, "Gun Bolt"},
  210. {0x0031, "Gun Clip"},
  211. {0x0032, "Gun Selector"},
  212. {0x0033, "Gun Single Shot"},
  213. {0x0034, "Gun Burst"},
  214. {0x0035, "Gun Automatic"},
  215. {0x0036, "Gun Safety"},
  216. {0x0037, "Gamepad Fire/Jump"},
  217. {0x0039, "Gamepad Trigger"},
  218. {0xFFFF, ""},
  219. };
  220. struct hid_usage_types_string hid_usage_type006[] = {
  221. {0x0000, "Unidentified"},
  222. {0x0020, " Battery Strength"},
  223. {0x0021, " Wireless Channel"},
  224. {0x0022, " Wireless ID"},
  225. {0x0023, " Discover Wireless Control"},
  226. {0x0024, " Security Code Character Entered"},
  227. {0x0025, " Security Code Character Erased"},
  228. {0x0026, " Security Code Cleared"},
  229. {0xFFFF, ""},
  230. };
  231. struct hid_usage_types_string hid_usage_type007[] = {
  232. {0x0000, "Reserved (no event indicated)"},
  233. {0x0001, "Keyboard ErrorRollOver"},
  234. {0x0002, "Keyboard POSTFail"},
  235. {0x0003, "Keyboard ErrorUndefined"},
  236. {0x0004, "Keyboard a and A"},
  237. {0x0005, "Keyboard b and B"},
  238. {0x0006, "Keyboard c and C"},
  239. {0x0007, "Keyboard d and D"},
  240. {0x0008, "Keyboard e and E"},
  241. {0x0009, "Keyboard f and F"},
  242. {0x000A, "Keyboard g and G"},
  243. {0x000B, "Keyboard h and H"},
  244. {0x000C, "Keyboard i and I"},
  245. {0x000D, "Keyboard j and J"},
  246. {0x000E, "Keyboard k and K"},
  247. {0x000F, "Keyboard l and L"},
  248. {0x0010, "Keyboard m and M"},
  249. {0x0011, "Keyboard n and N"},
  250. {0x0012, "Keyboard o and O"},
  251. {0x0013, "Keyboard p and P"},
  252. {0x0014, "Keyboard q and Q"},
  253. {0x0015, "Keyboard r and R"},
  254. {0x0016, "Keyboard s and S"},
  255. {0x0017, "Keyboard t and T"},
  256. {0x0018, "Keyboard u and U"},
  257. {0x0019, "Keyboard v and V"},
  258. {0x001A, "Keyboard w and W"},
  259. {0x001B, "Keyboard x and X"},
  260. {0x001C, "Keyboard y and Y"},
  261. {0x001D, "Keyboard z and Z"},
  262. {0x001E, "Keyboard 1 and !"},
  263. {0x001F, "Keyboard 2 and @"},
  264. {0x0020, "Keyboard 3 and #"},
  265. {0x0021, "Keyboard 4 and $"},
  266. {0x0022, "Keyboard 5 and %"},
  267. {0x0023, "Keyboard 6 and ^"},
  268. {0x0024, "Keyboard 7 and &"},
  269. {0x0025, "Keyboard 8 and *"},
  270. {0x0026, "Keyboard 9 and ("},
  271. {0x0027, "Keyboard 0 and )"},
  272. {0x0028, "Keyboard Return (ENTER)"},
  273. {0x0029, "Keyboard ESCAPE"},
  274. {0x002A, "Keyboard DELETE (Backspace)"},
  275. {0x002B, "Keyboard Tab"},
  276. {0x002C, "Keyboard Spacebar"},
  277. {0x002D, "Keyboard - and (underscore)"},
  278. {0x002E, "Keyboard = and +"},
  279. {0x002F, "Keyboard [ and {"},
  280. {0x0030, "Keyboard ] and }"},
  281. {0x0031, "Keyboard \\ and |"},
  282. {0x0032, "Keyboard Non-US # and ~"},
  283. {0x0033, "Keyboard ; and :"},
  284. {0x0034, "Keyboard ' and \""},
  285. {0x0035, "Keyboard Grave Accent and Tilde"},
  286. {0x0036, "Keyboard, and <"},
  287. {0x0037, "Keyboard . and >"},
  288. {0x0038, "Keyboard / and ?"},
  289. {0x0039, "Keyboard Caps Lock"},
  290. {0x003A, "Keyboard F1"},
  291. {0x003B, "Keyboard F2"},
  292. {0x003C, "Keyboard F3"},
  293. {0x003D, "Keyboard F4"},
  294. {0x003E, "Keyboard F5"},
  295. {0x003F, "Keyboard F6"},
  296. {0x0040, "Keyboard F7"},
  297. {0x0041, "Keyboard F8"},
  298. {0x0042, "Keyboard F9"},
  299. {0x0043, "Keyboard F10"},
  300. {0x0044, "Keyboard F11"},
  301. {0x0045, "Keyboard F12"},
  302. {0x0046, "Keyboard PrintScreen"},
  303. {0x0047, "Keyboard Scroll Lock"},
  304. {0x0048, "Keyboard Pause"},
  305. {0x0049, "Keyboard Insert"},
  306. {0x004A, "Keyboard Home"},
  307. {0x004B, "Keyboard PageUp"},
  308. {0x004C, "Keyboard Delete Forward"},
  309. {0x004D, "Keyboard End"},
  310. {0x004E, "Keyboard PageDown"},
  311. {0x004F, "Keyboard RightArrow"},
  312. {0x0050, "Keyboard LeftArrow"},
  313. {0x0051, "Keyboard DownArrow"},
  314. {0x0052, "Keyboard UpArrow"},
  315. {0x0053, "Keypad Num Lock and Clear"},
  316. {0x0054, "Keypad /"},
  317. {0x0055, "Keypad *"},
  318. {0x0056, "Keypad -"},
  319. {0x0057, "Keypad +"},
  320. {0x0058, "Keypad ENTER"},
  321. {0x0059, "Keypad 1 and End"},
  322. {0x005A, "Keypad 2 and Down Arrow"},
  323. {0x005B, "Keypad 3 and PageDn"},
  324. {0x005C, "Keypad 4 and Left Arrow"},
  325. {0x005D, "Keypad 5"},
  326. {0x005E, "Keypad 6 and Right Arrow"},
  327. {0x005F, "Keypad 7 and Home"},
  328. {0x0060, "Keypad 8 and Up Arrow"},
  329. {0x0061, "Keypad 9 and PageUp"},
  330. {0x0062, "Keypad 0 and Insert"},
  331. {0x0063, "Keypad . and Delete"},
  332. {0x0064, "Keyboard Non-US \\ and |"},
  333. {0x0065, "Keyboard Application"},
  334. {0x0066, "Keyboard Power"},
  335. {0x0067, "Keypad ="},
  336. {0x0068, "Keyboard F13"},
  337. {0x0069, "Keyboard F14"},
  338. {0x006A, "Keyboard F15"},
  339. {0x006B, "Keyboard F16"},
  340. {0x006C, "Keyboard F17"},
  341. {0x006D, "Keyboard F18"},
  342. {0x006E, "Keyboard F19"},
  343. {0x006F, "Keyboard F20"},
  344. {0x0070, "Keyboard F21"},
  345. {0x0071, "Keyboard F22"},
  346. {0x0072, "Keyboard F23"},
  347. {0x0073, "Keyboard F24"},
  348. {0x0074, "Keyboard Execute"},
  349. {0x0075, "Keyboard Help"},
  350. {0x0076, "Keyboard Menu"},
  351. {0x0077, "Keyboard Select"},
  352. {0x0078, "Keyboard Stop"},
  353. {0x0079, "Keyboard Again"},
  354. {0x007A, "Keyboard Undo"},
  355. {0x007B, "Keyboard Cut"},
  356. {0x007C, "Keyboard Copy"},
  357. {0x007D, "Keyboard Paste"},
  358. {0x007E, "Keyboard Find"},
  359. {0x007F, "Keyboard Mute"},
  360. {0x0080, "Keyboard Volume Up"},
  361. {0x0081, "Keyboard Volume Down"},
  362. {0x0082, "Keyboard Locking Caps Lock"},
  363. {0x0083, "Keyboard Locking Num Lock"},
  364. {0x0084, "Keyboard Locking Scroll Lock"},
  365. {0x0085, "Keypad Comma"},
  366. {0x0086, "Keypad Equal Sign"},
  367. {0x0087, "Keyboard International1"},
  368. {0x0088, "Keyboard International2"},
  369. {0x0089, "Keyboard International3"},
  370. {0x008A, "Keyboard International4"},
  371. {0x008B, "Keyboard International5"},
  372. {0x008C, "Keyboard International6"},
  373. {0x008D, "Keyboard International7"},
  374. {0x008E, "Keyboard International8"},
  375. {0x008F, "Keyboard International9"},
  376. {0x0090, "Keyboard LANG1"},
  377. {0x0091, "Keyboard LANG2"},
  378. {0x0092, "Keyboard LANG3"},
  379. {0x0093, "Keyboard LANG4"},
  380. {0x0094, "Keyboard LANG5"},
  381. {0x0095, "Keyboard LANG6"},
  382. {0x0096, "Keyboard LANG7"},
  383. {0x0097, "Keyboard LANG8"},
  384. {0x0098, "Keyboard LANG9"},
  385. {0x0099, "Keyboard Alternate Erase"},
  386. {0x009A, "Keyboard SysReq/Attention"},
  387. {0x009B, "Keyboard Cancel"},
  388. {0x009C, "Keyboard Clear"},
  389. {0x009D, "Keyboard Prior"},
  390. {0x009E, "Keyboard Return"},
  391. {0x009F, "Keyboard Separator"},
  392. {0x00A0, "Keyboard Out"},
  393. {0x00A1, "Keyboard Oper"},
  394. {0x00A2, "Keyboard Clear/Again"},
  395. {0x00A3, "Keyboard CrSel/Props"},
  396. {0x00A4, "Keyboard ExSel"},
  397. {0x00E0, "Keyboard LeftControl"},
  398. {0x00E1, "Keyboard LeftShift"},
  399. {0x00E2, "Keyboard LeftAlt"},
  400. {0x00E3, "Keyboard Left GUI"},
  401. {0x00E4, "Keyboard RightControl"},
  402. {0x00E5, "Keyboard RightShift"},
  403. {0x00E6, "Keyboard RightAlt"},
  404. {0x00E7, "Keyboard Right GUI"},
  405. {0xFFFF, ""},
  406. };
  407. struct hid_usage_types_string hid_usage_type008[] = {
  408. {0x0000, "Undefined"},
  409. {0x0001, "Num Lock"},
  410. {0x0002, "Caps Lock"},
  411. {0x0003, "Scroll Lock"},
  412. {0x0004, "Compose"},
  413. {0x0005, "Kana"},
  414. {0x0006, "Power"},
  415. {0x0007, "Shift"},
  416. {0x0008, "Do Not Disturb"},
  417. {0x0009, "Mute"},
  418. {0x000A, "Tone Enable"},
  419. {0x000B, "High Cut Filter"},
  420. {0x000C, "Low Cut Filter"},
  421. {0x000D, "Equalizer Enable"},
  422. {0x000E, "Sound Field On"},
  423. {0x000F, "Surround Field On"},
  424. {0x0010, "Repeat"},
  425. {0x0011, "Stereo"},
  426. {0x0012, "Sampling Rate Detect"},
  427. {0x0013, "Spinning"},
  428. {0x0014, "CAV"},
  429. {0x0015, "CLV"},
  430. {0x0016, "Recording Format Detect"},
  431. {0x0017, "Off-Hook"},
  432. {0x0018, "Ring"},
  433. {0x0019, "Message Waiting"},
  434. {0x001A, "Data Mode"},
  435. {0x001B, "Battery Operation"},
  436. {0x001C, "Battery OK"},
  437. {0x001D, "Battery Low"},
  438. {0x001E, "Speaker"},
  439. {0x001F, "Head Set"},
  440. {0x0020, "Hold"},
  441. {0x0021, "Microphone"},
  442. {0x0022, "Coverage"},
  443. {0x0023, "Night Mode"},
  444. {0x0024, "Send Calls"},
  445. {0x0025, "Call Pickup"},
  446. {0x0026, "Conference"},
  447. {0x0027, "Stand-by"},
  448. {0x0028, "Camera On"},
  449. {0x0029, "Camera Off"},
  450. {0x002A, "On-Line"},
  451. {0x002B, "Off-Line"},
  452. {0x002C, "Busy"},
  453. {0x002D, "Ready"},
  454. {0x002E, "Paper-Out"},
  455. {0x002F, "Paper-Jam"},
  456. {0x0030, "Remote"},
  457. {0x0031, "Forward"},
  458. {0x0032, "Reverse"},
  459. {0x0033, "Stop"},
  460. {0x0034, "Rewind"},
  461. {0x0035, "Fast Forward"},
  462. {0x0036, "Play"},
  463. {0x0037, "Pause"},
  464. {0x0038, "Record"},
  465. {0x0039, "Error"},
  466. {0x003A, "Usage Selected Indicator"},
  467. {0x003B, "Usage In Use Indicator"},
  468. {0x003C, "Usage Multi Mode Indicator"},
  469. {0x003D, "Indicator On"},
  470. {0x003E, "Indicator Flash"},
  471. {0x003F, "Indicator Slow Blink"},
  472. {0x0040, "Indicator Fast Blink"},
  473. {0x0041, "Indicator Off"},
  474. {0x0042, "Flash On Time"},
  475. {0x0043, "Slow Blink On Time"},
  476. {0x0044, "Slow Blink Off Time"},
  477. {0x0045, "Fast Blink On Time"},
  478. {0x0046, "Fast Blink Off Time"},
  479. {0x0047, "Usage Indicator Color"},
  480. {0x0048, "Red"},
  481. {0x0049, "Green"},
  482. {0x004A, "Amber"},
  483. {0x004B, "Generic Indicator"},
  484. {0x004C, "System Suspend"},
  485. {0x004D, "External Power Connected"},
  486. {0xFFFF, ""},
  487. };
  488. struct hid_usage_types_string hid_usage_type00B[] = {
  489. {0x0000, "Unassigned"},
  490. {0x0001, "Phone"},
  491. {0x0002, "Answering Machine"},
  492. {0x0003, "Message Controls"},
  493. {0x0004, "Handset"},
  494. {0x0005, "Headset"},
  495. {0x0006, "Telephony Key Pad"},
  496. {0x0007, "Programmable Button"},
  497. {0x0020, "Hook Switch"},
  498. {0x0021, "Flash"},
  499. {0x0022, "Feature"},
  500. {0x0023, "Hold"},
  501. {0x0024, "Redial"},
  502. {0x0025, "Transfer"},
  503. {0x0026, "Drop"},
  504. {0x0027, "Park"},
  505. {0x0028, "Forward Calls"},
  506. {0x0029, "Alternate Function"},
  507. {0x002A, "Line"},
  508. {0x002B, "Speaker Phone"},
  509. {0x002C, "Conference"},
  510. {0x002D, "Ring Enable"},
  511. {0x002E, "Ring Select"},
  512. {0x002F, "Phone Mute"},
  513. {0x0030, "Caller ID"},
  514. {0x0050, "Speed Dial"},
  515. {0x0051, "Store Number"},
  516. {0x0052, "Recall Number"},
  517. {0x0053, "Phone Directory"},
  518. {0x0070, "Voice Mail"},
  519. {0x0071, "Screen Calls"},
  520. {0x0072, "Do Not Disturb"},
  521. {0x0073, "Message"},
  522. {0x0074, "Answer On/Off"},
  523. {0x0090, "Inside Dial Tone"},
  524. {0x0091, "Outside Dial Tone"},
  525. {0x0092, "Inside Ring Tone"},
  526. {0x0093, "Outside Ring Tone"},
  527. {0x0094, "Priority Ring Tone"},
  528. {0x0095, "Inside Ringback"},
  529. {0x0096, "Priority Ringback"},
  530. {0x0097, "Line Busy Tone"},
  531. {0x0098, "Reorder Tone"},
  532. {0x0099, "Call Waiting Tone"},
  533. {0x009A, "Confirmation Tone 1"},
  534. {0x009B, "Confirmation Tone 2"},
  535. {0x009C, "Tones Off"},
  536. {0x00B0, "Phone Key 0"},
  537. {0x00B1, "Phone Key 1"},
  538. {0x00B2, "Phone Key 2"},
  539. {0x00B3, "Phone Key 3"},
  540. {0x00B4, "Phone Key 4"},
  541. {0x00B5, "Phone Key 5"},
  542. {0x00B6, "Phone Key 6"},
  543. {0x00B7, "Phone Key 7"},
  544. {0x00B8, "Phone Key 8"},
  545. {0x00B9, "Phone Key 9"},
  546. {0x00BA, "Phone Key Star"},
  547. {0x00BB, "Phone Key Pound"},
  548. {0x00BC, "Phone Key A"},
  549. {0x00BD, "Phone Key B"},
  550. {0x00BE, "Phone Key C"},
  551. {0x00BF, "Phone Key D"},
  552. {0xFFFF, ""},
  553. };
  554. struct hid_usage_types_string hid_usage_type00C[] = {
  555. {0x0000, "Undefined"},
  556. {0x0001, "Consumer Control"},
  557. {0x0002, "Numeric Key Pad"},
  558. {0x0003, "Programmable Buttons"},
  559. {0x0004, "Microphone"},
  560. {0x0005, "Headphone"},
  561. {0x0006, "Graphic Equalizer"},
  562. {0x0020, "+10"},
  563. {0x0021, "+100"},
  564. {0x0022, "AM/PM"},
  565. {0x0030, "Power"},
  566. {0x0031, "Reset"},
  567. {0x0032, "Sleep"},
  568. {0x0033, "Sleep After"},
  569. {0x0034, "Sleep Mode"},
  570. {0x0035, "Illumination"},
  571. {0x0036, "Function Buttons"},
  572. {0x0040, "Menu"},
  573. {0x0041, "Menu Pick"},
  574. {0x0042, "Menu Up"},
  575. {0x0043, "Menu Down"},
  576. {0x0044, "Menu Left"},
  577. {0x0045, "Menu Right"},
  578. {0x0046, "Menu Esc"},
  579. {0x0047, "Menu Value Increase"},
  580. {0x0048, "Menu Value Decrease"},
  581. {0x0060, "Data On Screen"},
  582. {0x0061, "Closed Caption"},
  583. {0x0062, "Closed Caption Select"},
  584. {0x0063, "VCR/TV"},
  585. {0x0064, "Broadcast Mode"},
  586. {0x0065, "Snap shot"},
  587. {0x0066, "Still"},
  588. {0x0080, "Selection"},
  589. {0x0081, "Assign Selection"},
  590. {0x0082, "Mode Setup"},
  591. {0x0083, "Recal Last"},
  592. {0x0084, "Enter Channel"},
  593. {0x0085, "Order Movie"},
  594. {0x0086, "Channel"},
  595. {0x0087, "Media Selection"},
  596. {0x0088, "Media Select Computer"},
  597. {0x0089, "Media Select TV"},
  598. {0x008A, "Media Select WWW"},
  599. {0x008B, "Media Select DVD"},
  600. {0x008C, "Media Select Telephone"},
  601. {0x008D, "Media Select Program Guide"},
  602. {0x008E, "Media Select Video Phone"},
  603. {0x008F, "Media Select Games"},
  604. {0x0090, "Media Select Messages"},
  605. {0x0091, "Media Select CD"},
  606. {0x0092, "Media Select VCR"},
  607. {0x0093, "Media Select Tuner"},
  608. {0x0094, "Quit"},
  609. {0x0095, "Help"},
  610. {0x0096, "Media Select Tape"},
  611. {0x0097, "Media Select Cable"},
  612. {0x0098, "Media Select Satelite"},
  613. {0x0099, "Media Select Security"},
  614. {0x009A, "Media Select Home"},
  615. {0x009B, "Media Select Call"},
  616. {0x009C, "Channel Increment"},
  617. {0x009E, "Channel Decrement"},
  618. {0x009D, "Media Select SAP"},
  619. {0x009F, "Reserved"},
  620. {0x00A0, "VCR Plus"},
  621. {0x00A1, "Once"},
  622. {0x00A2, "Daily"},
  623. {0x00A3, "Weekly"},
  624. {0x00A4, "Monthly"},
  625. {0x00B0, "Play"},
  626. {0x00B1, "Pause"},
  627. {0x00B2, "Record"},
  628. {0x00B3, "Fast Foward"},
  629. {0x00B4, "Rewind"},
  630. {0x00B5, "Scan Next Track"},
  631. {0x00B6, "Scan Previous Track"},
  632. {0x00B7, "Stop"},
  633. {0x00B8, "Eject"},
  634. {0x00B9, "Random Play"},
  635. {0x00BA, "Select Disc"},
  636. {0x00BB, "Enter Disk"},
  637. {0x00BC, "Repeat"},
  638. {0x00BD, "Tracking"},
  639. {0x00BE, "Track Normal"},
  640. {0x00BF, "Slow Tracking"},
  641. {0x00C0, "Frame Forward"},
  642. {0x00C1, "Frame Back"},
  643. {0x00C2, "Mark"},
  644. {0x00C3, "Clear Mark"},
  645. {0x00C4, "Repeat from Mark"},
  646. {0x00C5, "Return to Mark"},
  647. {0x00C6, "Search Mark Forward"},
  648. {0x00C7, "Search Mark Backwards"},
  649. {0x00C8, "Counter Reset"},
  650. {0x00C9, "Show Counter"},
  651. {0x00CA, "Tracking Increment"},
  652. {0x00CB, "Tracking Decrement"},
  653. {0x00CC, "Stop/Eject"},
  654. {0x00CD, "Play/Pause"},
  655. {0x00CE, "Play/Skip"},
  656. {0x00E0, "Volume"},
  657. {0x00E1, "Balance"},
  658. {0x00E2, "Mute"},
  659. {0x00E3, "Bass"},
  660. {0x00E4, "Treble"},
  661. {0x00E5, "Bass Boost"},
  662. {0x00E6, "Surround Mode"},
  663. {0x00E7, "Loudness"},
  664. {0x00E8, "MPX"},
  665. {0x00E9, "Volume Increment"},
  666. {0x00EA, "Volume Decrement"},
  667. {0x00F0, "Speed Select"},
  668. {0x00F1, "Playback Speed"},
  669. {0x00F2, "Standard Play"},
  670. {0x00F3, "Long Play"},
  671. {0x00F4, "Extended Play"},
  672. {0x00F5, "Slow"},
  673. {0x0100, "Fan Enable"},
  674. {0x0101, "Fan Speed"},
  675. {0x0102, "Light Enable"},
  676. {0x0103, "Light Illumination Level"},
  677. {0x0104, "Climate Control Enable"},
  678. {0x0105, "Room Temperature"},
  679. {0x0106, "Security Enable"},
  680. {0x0107, "Fire Alarm"},
  681. {0x0108, "Police Alarm"},
  682. {0x0109, "Proximity"},
  683. {0x010A, "Motion"},
  684. {0x010B, "Duress Alarm"},
  685. {0x010C, "Holdup Alarm"},
  686. {0x010D, "Medical Alarm"},
  687. {0x0150, "Balance Right"},
  688. {0x0151, "Balance Left"},
  689. {0x0152, "Bass Increment"},
  690. {0x0153, "Bass Decrement"},
  691. {0x0154, "Treble Increment"},
  692. {0x0155, "Trebel Decrement"},
  693. {0x0160, "Speaker System"},
  694. {0x0161, "Channel Left"},
  695. {0x0162, "Channel Right"},
  696. {0x0163, "Channel Center"},
  697. {0x0164, "Channel Front"},
  698. {0x0165, "Channel Center Front"},
  699. {0x0166, "Channel Side"},
  700. {0x0167, "Channel Surround"},
  701. {0x0168, "Channel Low Freq Enhancement"},
  702. {0x0169, "Channel Top"},
  703. {0x016A, "Channel Unknown"},
  704. {0x0170, "Sub-channel"},
  705. {0x0171, "Sub-channel Increment"},
  706. {0x0172, "Sub-channel Decrement"},
  707. {0x0173, "Alternate Audio Increment"},
  708. {0x0174, "Alternate Audio Decrement"},
  709. {0x0180, "Application Launch"},
  710. {0x0180, "App Launch: Config Tool"},
  711. {0x0181, "App Launch: Launch Button Config"},
  712. {0x0182, "App Launch: Programmable Button"},
  713. {0x0183, "App Launch: Consumer Control"},
  714. {0x0184, "App Launch: Word Processor"},
  715. {0x0185, "App Launch: Text Editor"},
  716. {0x0186, "App Launch: Spread Sheet"},
  717. {0x0187, "App Launch: Graphics Editor"},
  718. {0x0188, "App Launch: Presentation App"},
  719. {0x0189, "App Launch: Database App"},
  720. {0x018A, "App Launch: Email Reader"},
  721. {0x018B, "App Launch: News Reader"},
  722. {0x018C, "App Launch: Voice Mail"},
  723. {0x018D, "App Launch: Contacts/Address Book"},
  724. {0x018E, "App Launch: Calendar/Schedule Book"},
  725. {0x018F, "App Launch: Task/Project Manager"},
  726. {0x0190, "App Launch: Log/Journal/Time card"},
  727. {0x0191, "App Launch: Checkbook/Finance"},
  728. {0x0192, "App Launch: Calculator"},
  729. {0x0193, "App Launch: A/V Capture/Playback"},
  730. {0x0194, "App Launch: Local Machine Browser"},
  731. {0x0195, "App Launch: LAN/WAN Browser"},
  732. {0x0196, "App Launch: Internet Browser"},
  733. {0x0197, "App Launch: Remote Networking"},
  734. {0x0198, "App Launch: Network Conference"},
  735. {0x0199, "App Launch: Network Chat"},
  736. {0x019A, "App Launch: Telephone Dialer"},
  737. {0x019B, "App Launch: Logon"},
  738. {0x019C, "App Launch: Logoff"},
  739. {0x019D, "App Launch: Logon/Logoff"},
  740. {0x019E, "App Launch: Term Lock/Screensaver"},
  741. {0x019F, "App Launch: Control Panel"},
  742. {0x01A0, "App Launch: Command Line"},
  743. {0x01A1, "App Launch: Process Task Manager"},
  744. {0x01A2, "App Launch: Select Task/App"},
  745. {0x01A3, "App Launch: Next Task/App"},
  746. {0x01A4, "App Launch: Prev Task/App"},
  747. {0x01A5, "App Launch: Premptive Halt"},
  748. {0x01A6, "App Launch: Integrated Help Center"},
  749. {0x01A7, "App Launch: Documents"},
  750. {0x01A8, "App Launch: Thesarus"},
  751. {0x01A9, "App Launch: Dictionary"},
  752. {0x01AA, "App Launch: Desktop"},
  753. {0x01AB, "App Launch: Spell Check"},
  754. {0x01AC, "App Launch: Grammer Check"},
  755. {0x01AD, "App Launch: Wireless Status"},
  756. {0x01AE, "App Launch: Keyboard Layout"},
  757. {0x01AF, "App Launch: Virus Protect"},
  758. {0x01B0, "App Launch: Encryption"},
  759. {0x01B1, "App Launch: Screen Saver"},
  760. {0x01B2, "App Launch: Alarms"},
  761. {0x01B3, "App Launch: Clock"},
  762. {0x01B4, "App Launch: File Browser"},
  763. {0x01B5, "App Launch: Power Status"},
  764. {0x01B6, "App Launch: Image Browser"},
  765. {0x01B7, "App Launch: Audio Browser"},
  766. {0x01B8, "App Launch: Movie Browser"},
  767. {0x01B9, "App Launch: Digital Rights Manager"},
  768. {0x01BA, "App Launch: Digital Wallet"},
  769. {0x01BB, "App Launch: Reserved"},
  770. {0x01BC, "App Launch: Instant Messaging"},
  771. {0x01BD, "App Launch: OEM Tools"},
  772. {0x01BE, "App Launch: OEM Help"},
  773. {0x01BF, "App Launch: Online Community"},
  774. {0x01C0, "App Launch: Entertainment Content Browser"},
  775. {0x01C1, "App Launch: Online Shopping Browser"},
  776. {0x01C2, "App Launch: SmartCard Info"},
  777. {0x01C3, "App Launch: Market Monitor"},
  778. {0x01C4, "App Launch: Customized News"},
  779. {0x01C5, "App Launch: Online Activity Browser"},
  780. {0x01C6, "App Launch: Research/Search Browser"},
  781. {0x01C7, "App Launch: Audio Player"},
  782. {0x0200, "GUI Controls"},
  783. {0x0201, "GUI: New"},
  784. {0x0202, "GUI: Open"},
  785. {0x0203, "GUI: Close"},
  786. {0x0204, "GUI: Exit"},
  787. {0x0205, "GUI: Maximize"},
  788. {0x0206, "GUI: Minimize"},
  789. {0x0207, "GUI: Save"},
  790. {0x0208, "GUI: Print"},
  791. {0x0209, "GUI: Properties"},
  792. {0x021A, "GUI: Undo"},
  793. {0x021B, "GUI: Copy"},
  794. {0x021C, "GUI: Cut"},
  795. {0x021D, "GUI: Paste"},
  796. {0x021E, "GUI: Select All"},
  797. {0x021F, "GUI: Find"},
  798. {0x0220, "GUI: Find/Replace"},
  799. {0x0221, "GUI: Search"},
  800. {0x0222, "GUI: Goto"},
  801. {0x0223, "GUI: Home"},
  802. {0x0224, "GUI: Back"},
  803. {0x0225, "GUI: Foward"},
  804. {0x0226, "GUI: Stop"},
  805. {0x0227, "GUI: Refresh"},
  806. {0x0228, "GUI: Prev Link"},
  807. {0x0229, "GUI: Next Link"},
  808. {0x022A, "GUI: Bookmarks"},
  809. {0x022B, "GUI: History"},
  810. {0x022C, "GUI: Subscriptions"},
  811. {0x022D, "GUI: Zoom In"},
  812. {0x022E, "GUI: Zoom Out"},
  813. {0x022F, "GUI: Zoom"},
  814. {0x0230, "GUI: Full Screen"},
  815. {0x0231, "GUI: Normal View"},
  816. {0x0232, "GUI: View Toggle"},
  817. {0x0233, "GUI: Scroll Up"},
  818. {0x0234, "GUI: Scroll Down"},
  819. {0x0235, "GUI: Scroll"},
  820. {0x0236, "GUI: Pan Left"},
  821. {0x0237, "GUI: Pan Right"},
  822. {0x0238, "GUI: Pan"},
  823. {0x0239, "GUI: New Window"},
  824. {0x023A, "GUI: Tile Horz"},
  825. {0x023B, "GUI: Tile Vert"},
  826. {0x023C, "GUI: Format"},
  827. {0x023D, "GUI: Edit"},
  828. {0x023E, "GUI: Bold"},
  829. {0x023F, "GUI: Italics"},
  830. {0x0240, "GUI: Underline"},
  831. {0x0241, "GUI: StrikeThrough"},
  832. {0x0242, "GUI: SubScript"},
  833. {0x0243, "GUI: SuperScript"},
  834. {0x0244, "GUI: All Caps"},
  835. {0x0245, "GUI: Rotate"},
  836. {0x0246, "GUI: Resize"},
  837. {0x0247, "GUI: Flip Horz"},
  838. {0x0248, "GUI: Flip Vert"},
  839. {0x0249, "GUI: Mirror Horz"},
  840. {0x024A, "GUI: Mirror Vert"},
  841. {0x024B, "GUI: Font Select"},
  842. {0x024C, "GUI: Font Color"},
  843. {0x024D, "GUI: Font Size"},
  844. {0x024E, "GUI: Justify Left"},
  845. {0x024F, "GUI: Justify Center H"},
  846. {0x0250, "GUI: Justify Right"},
  847. {0x0251, "GUI: Justify Block H"},
  848. {0x0252, "GUI: Justify Top"},
  849. {0x0253, "GUI: Justify Center V"},
  850. {0x0254, "GUI: Justify Bottom"},
  851. {0x0255, "GUI: Justify Block V"},
  852. {0x0256, "GUI: Indent Decrease"},
  853. {0x0257, "GUI: Indent Increase"},
  854. {0x0258, "GUI: Numbered List"},
  855. {0x0259, "GUI: Restart Numbering"},
  856. {0x025A, "GUI: Bulleted List"},
  857. {0x025B, "GUI: Promote"},
  858. {0x025C, "GUI: Demote"},
  859. {0x025D, "GUI: Yes"},
  860. {0x025E, "GUI: No"},
  861. {0x025F, "GUI: Cancel"},
  862. {0x0260, "GUI: Catalog"},
  863. {0x0261, "GUI: Buy/Checkout"},
  864. {0x0262, "GUI: Add to Cart"},
  865. {0x0263, "GUI: Expand"},
  866. {0x0264, "GUI: Expand All"},
  867. {0x0265, "GUI: Collapse"},
  868. {0x0266, "GUI: Collapse All"},
  869. {0x0267, "GUI: Print Preview"},
  870. {0x0268, "GUI: Paste Special"},
  871. {0x0269, "GUI: Insert Mode"},
  872. {0x026A, "GUI: Delete"},
  873. {0x026B, "GUI: Lock"},
  874. {0x026C, "GUI: Unlock"},
  875. {0x026D, "GUI: Protect"},
  876. {0x026E, "GUI: Unprotect"},
  877. {0x026F, "GUI: Attache Comment"},
  878. {0x0270, "GUI: Delete Comment"},
  879. {0x0271, "GUI: View Comment"},
  880. {0x0272, "GUI: Select Word"},
  881. {0x0273, "GUI: Select Sentence"},
  882. {0x0274, "GUI: Select Paragraph"},
  883. {0x0275, "GUI: Select Column"},
  884. {0x0276, "GUI: Select Row"},
  885. {0x0277, "GUI: Select Table"},
  886. {0x0278, "GUI: Select Object"},
  887. {0x0279, "GUI: Redo/Repeat"},
  888. {0x027A, "GUI: Sort"},
  889. {0x027B, "GUI: Sort Ascending"},
  890. {0x027C, "GUI: Sort Descending"},
  891. {0x027D, "GUI: Filter"},
  892. {0x027E, "GUI: Set Clock"},
  893. {0x027F, "GUI: View Clock"},
  894. {0x0280, "GUI: Select Time Zone"},
  895. {0x0281, "GUI: Edit Time Zone"},
  896. {0x0282, "GUI: Set Alarm"},
  897. {0x0283, "GUI: Clear Alarm"},
  898. {0x0284, "GUI: Snooze Alarm"},
  899. {0x0285, "GUI: Reset Alarm"},
  900. {0x0286, "GUI: Synchronize"},
  901. {0x0287, "GUI: Send/Receive"},
  902. {0x0288, "GUI: Send To"},
  903. {0x0289, "GUI: Reply"},
  904. {0x028A, "GUI: Reply All"},
  905. {0x028B, "GUI: Forward Message"},
  906. {0x028C, "GUI: Send"},
  907. {0x028D, "GUI: Attach File"},
  908. {0x028E, "GUI: Upload"},
  909. {0x028F, "GUI: Download"},
  910. {0x0290, "GUI: Set Boards"},
  911. {0x0291, "GUI: Insert Row"},
  912. {0x0292, "GUI: Insert Column"},
  913. {0x0293, "GUI: insert File"},
  914. {0x0294, "GUI: Insert Picture"},
  915. {0x0295, "GUI: Insert Object"},
  916. {0x0296, "GUI: Insert Symbol"},
  917. {0x0297, "GUI: Save and Close"},
  918. {0x0298, "GUI: Rename"},
  919. {0x0299, "GUI: Merge"},
  920. {0x029A, "GUI: Split"},
  921. {0x029B, "GUI: Distribute Horz"},
  922. {0x029C, "GUI: Distribute Vert"},
  923. {0xFFFF, ""},
  924. };
  925. struct hid_usage_types_string hid_usage_type00D[] = {
  926. {0x0000, "Undefined"},
  927. {0x0001, "Digitizer"},
  928. {0x0002, "Pen"},
  929. {0x0003, "Light Pen"},
  930. {0x0004, "Touch Screen"},
  931. {0x0005, "Touch Pad"},
  932. {0x0006, "White Board"},
  933. {0x0007, "Coordinate Measuring Machine"},
  934. {0x0008, "3-D Digitizer"},
  935. {0x0009, "Stereo Plotter"},
  936. {0x000A, "Articulated Arm"},
  937. {0x000B, "Armature"},
  938. {0x000C, "Multiple Point Digitizer"},
  939. {0x000D, "Free Space Wand"},
  940. {0x0020, "Stylus"},
  941. {0x0021, "Puck"},
  942. {0x0022, "Finger"},
  943. {0x0030, "Tip Pressure"},
  944. {0x0031, "Barrel Pressure"},
  945. {0x0032, "In Range"},
  946. {0x0033, "Touch"},
  947. {0x0034, "Untouch"},
  948. {0x0035, "Tap"},
  949. {0x0036, "Quality"},
  950. {0x0037, "Data Valid"},
  951. {0x0038, "Transducer Index"},
  952. {0x0039, "Tablet Function Keys"},
  953. {0x003A, "Program Change Keys"},
  954. {0x003B, "Battery Strength"},
  955. {0x003C, "Invert"},
  956. {0x003D, "X Tilt"},
  957. {0x003E, "Y Tilt"},
  958. {0x003F, "Azimuth"},
  959. {0x0040, "Altitude"},
  960. {0x0041, "Twist"},
  961. {0x0042, "Tip Switch"},
  962. {0x0043, "Secondary Tip Switch"},
  963. {0x0044, "Barrel Switch"},
  964. {0x0045, "Eraser"},
  965. {0x0046, "Tablet Pick"},
  966. {0xFFFF, ""},
  967. };
  968. struct hid_usage_types_string hid_usage_type00F[] = {
  969. {0xFFFF, ""},
  970. };
  971. struct hid_usage_types_string hid_usage_type014[] = {
  972. {0x0000, "Undefined"},
  973. {0x0001, "Alphanumeric Display"},
  974. {0x0020, "Display Attributes Report"},
  975. {0x0021, "ASCII Character Set"},
  976. {0x0022, "Data Read Back"},
  977. {0x0023, "Font Read Back"},
  978. {0x0024, "Display Control Report"},
  979. {0x0025, "Clear Display"},
  980. {0x0026, "Display Enable"},
  981. {0x0027, "Screen Saver Delay"},
  982. {0x0028, "Screen Saver Enable"},
  983. {0x0029, "Vertical Scroll"},
  984. {0x002A, "Horizontal Scroll"},
  985. {0x002B, "Character Report"},
  986. {0x002C, "Display Data"},
  987. {0x002D, "Display Status"},
  988. {0x002E, "Stat Not Ready"},
  989. {0x002F, "Stat Ready"},
  990. {0x0030, "Err Not a loadable character"},
  991. {0x0031, "Err Font data cannot be read"},
  992. {0x0032, "Cursor Position Report"},
  993. {0x0033, "Row"},
  994. {0x0034, "Column"},
  995. {0x0035, "Rows"},
  996. {0x0036, "Columns"},
  997. {0x0037, "Cursor Pixel Positioning"},
  998. {0x0038, "Cursor Mode"},
  999. {0x0039, "Cursor Enable"},
  1000. {0x003A, "Cursor Blink"},
  1001. {0x003B, "Font Report"},
  1002. {0x003C, "Font Data"},
  1003. {0x003D, "Character Width"},
  1004. {0x003E, "Character Height"},
  1005. {0x003F, "Character Spacing Horizontal"},
  1006. {0x0040, "Character Spacing Vertical"},
  1007. {0x0041, "Unicode Character Set"},
  1008. {0xFFFF, ""},
  1009. };
  1010. struct hid_usage_types_string hid_usage_type040[] = {
  1011. {0x0000, "Undefined"},
  1012. {0x0001, "Medical Ultrasound"},
  1013. {0x0020, "VCR/Acquisition"},
  1014. {0x0021, "Freeze/Thaw"},
  1015. {0x0022, "Clip Store"},
  1016. {0x0023, "Update"},
  1017. {0x0024, "Next"},
  1018. {0x0025, "Save"},
  1019. {0x0026, "Print"},
  1020. {0x0027, "Microphone Enable"},
  1021. {0x0040, "Cine"},
  1022. {0x0041, "Transmit Power"},
  1023. {0x0042, "Volume"},
  1024. {0x0043, "Focus"},
  1025. {0x0044, "Depth"},
  1026. {0x0060, "Soft Step - Primary"},
  1027. {0x0061, "Soft Step - Secondary"},
  1028. {0x0070, "Depth Gain Compensation"},
  1029. {0x0080, "Zoom Select"},
  1030. {0x0081, "Zoom Adjust"},
  1031. {0x0082, "Spectral Doppler Mode Select"},
  1032. {0x0083, "Spectral Doppler Adjust"},
  1033. {0x0084, "Color Doppler Mode Select"},
  1034. {0x0085, "Color Doppler Adjust"},
  1035. {0x0086, "Motion Mode Select"},
  1036. {0x0087, "Motion Mode Adjust"},
  1037. {0x0088, "2-D Mode Select"},
  1038. {0x0089, "2-D Mode Adjust"},
  1039. {0x00A0, "Soft Control Select"},
  1040. {0x00A1, "Soft Control Adjust"},
  1041. {0xFFFF, ""},
  1042. };
  1043. struct hid_usage_types_string hid_usage_type080[] = {
  1044. {0x0000, "Undefined"},
  1045. {0x0001, "Monitor Control"},
  1046. {0x0002, "EDID Information"},
  1047. {0x0003, "VDIF Information"},
  1048. {0x0004, "VESA Version"},
  1049. {0x0005, "On Screen Display"},
  1050. {0x0006, "Auto Size Center"},
  1051. {0x0007, "Polarity Horz Synch"},
  1052. {0x0008, "Polarity Vert Synch"},
  1053. {0x0009, "Sync Type"},
  1054. {0x000A, "Screen Position"},
  1055. {0x000B, "Horizontal Frequency"},
  1056. {0x000C, "Vertical Frequency"},
  1057. {0xFFFF, ""},
  1058. };
  1059. struct hid_usage_types_string hid_usage_type082[] = {
  1060. {0x0010, "Brightness"},
  1061. {0x0012, "Contrast"},
  1062. {0x0016, "Video Gain Red"},
  1063. {0x0018, "Video Gain Green"},
  1064. {0x001A, "Video Gain Blue"},
  1065. {0x001C, "Focus"},
  1066. {0x0020, "Horizontal Position"},
  1067. {0x0022, "Horizontal Size"},
  1068. {0x0024, "Horizontal Pincushion"},
  1069. {0x0026, "Horizontal Pincushion Balance"},
  1070. {0x0028, "Horizontal Misconvergence"},
  1071. {0x002A, "Horizontal Linearity"},
  1072. {0x002C, "Horizontal Linearity Balance"},
  1073. {0x0030, "Vertical Position"},
  1074. {0x0032, "Vertical Size"},
  1075. {0x0034, "Vertical Pincushion"},
  1076. {0x0036, "Vertical Pincushion Balance"},
  1077. {0x0038, "Vertical Misconvergence"},
  1078. {0x003A, "Vertical Linearity"},
  1079. {0x003C, "Vertical Linearity Balance"},
  1080. {0x0040, "Parallelogram Distortion"},
  1081. {0x0042, "Trapezoidal Distortion"},
  1082. {0x0044, "Tilt"},
  1083. {0x0046, "Top Corner Distortion Control"},
  1084. {0x0048, "Top Corner Distortion Balance"},
  1085. {0x004A, "Bottom Corner Distortion Control"},
  1086. {0x004C, "Bottom Corner Distortion Balance"},
  1087. {0x0056, "Moir Horizontal"},
  1088. {0x0058, "Moir Vertical"},
  1089. {0x005E, "Input Level Select"},
  1090. {0x0060, "Input Source Select"},
  1091. {0x0062, "Stereo Mode"},
  1092. {0x006C, "Video Black Level Red"},
  1093. {0x006E, "Video Black Level Green"},
  1094. {0x0070, "Video Black Level Blue"},
  1095. {0xFFFF, ""},
  1096. };
  1097. struct hid_usage_types_string hid_usage_type083[] = {
  1098. {0x0000, "Undefined"},
  1099. {0x0001, "Settings"},
  1100. {0x0002, "Degauss"},
  1101. {0xFFFF, ""},
  1102. };
  1103. struct hid_usage_types_string hid_usage_type084[] = {
  1104. {0x0000, "Undefined"},
  1105. {0x0001, "iName"},
  1106. {0x0002, "PresentStatus"},
  1107. {0x0003, "ChangedStatus"},
  1108. {0x0004, "UPS"},
  1109. {0x0005, "PowerSupply"},
  1110. {0x0010, "BatterySystem"},
  1111. {0x0011, "BatterySystemID"},
  1112. {0x0012, "Battery"},
  1113. {0x0013, "BatteryID"},
  1114. {0x0014, "Charger"},
  1115. {0x0015, "ChargerID"},
  1116. {0x0016, "PowerConverter"},
  1117. {0x0017, "PowerConverterID"},
  1118. {0x0018, "OutletSystem"},
  1119. {0x0019, "OutletSystemID"},
  1120. {0x001A, "Input"},
  1121. {0x001B, "InputID"},
  1122. {0x001C, "Output"},
  1123. {0x001D, "OutputID"},
  1124. {0x001E, "Flow"},
  1125. {0x001F, "FlowID"},
  1126. {0x0020, "Outlet"},
  1127. {0x0021, "OutletID"},
  1128. {0x0022, "Gang"},
  1129. {0x0023, "GangID"},
  1130. {0x0024, "Sink"},
  1131. {0x0025, "SinkID"},
  1132. {0x0030, "Voltage"},
  1133. {0x0031, "Current"},
  1134. {0x0032, "Frequency"},
  1135. {0x0033, "ApparentPower"},
  1136. {0x0034, "ActivePower"},
  1137. {0x0035, "PercentLoad"},
  1138. {0x0036, "Temperature"},
  1139. {0x0037, "Humidity"},
  1140. {0x0040, "ConfigVoltage"},
  1141. {0x0041, "ConfigCurrent"},
  1142. {0x0042, "ConfigFrequency"},
  1143. {0x0043, "ConfigApparentPower"},
  1144. {0x0044, "ConfigActivePower"},
  1145. {0x0045, "ConfigPercentLoad"},
  1146. {0x0046, "ConfigTemperature"},
  1147. {0x0047, "ConfigHumidity"},
  1148. {0x0050, "SwitchOnControl"},
  1149. {0x0051, "SwitchOffControl"},
  1150. {0x0052, "ToggleControl"},
  1151. {0x0053, "LowVoltageTransfer"},
  1152. {0x0054, "HighVoltageTransfer"},
  1153. {0x0055, "DelayBeforeReboot"},
  1154. {0x0056, "DelayBeforeStartup"},
  1155. {0x0057, "DelayBeforeShutdown"},
  1156. {0x0058, "Test"},
  1157. {0x0059, "Vendorspecificcommand"},
  1158. {0x0060, "Present"},
  1159. {0x0061, "Good"},
  1160. {0x0062, "InternalFailure"},
  1161. {0x0063, "VoltageOutOfRange"},
  1162. {0x0064, "FrequencyOutOfRange"},
  1163. {0x0065, "Overload"},
  1164. {0x0066, "OverCharged"},
  1165. {0x0067, "OverTemperature"},
  1166. {0x0068, "ShutdownRequested"},
  1167. {0x0069, "ShutdownImminent"},
  1168. {0x006A, "VendorSpecificAnswerValid"},
  1169. {0x006B, "SwitchOn/Off"},
  1170. {0x006C, "Switcheble"},
  1171. {0x006D, "Used"},
  1172. {0x006E, "Boost"},
  1173. {0x006F, "Buck"},
  1174. {0x0070, "Initialized"},
  1175. {0x0071, "Tested"},
  1176. {0xFFFF, ""},
  1177. };
  1178. struct hid_usage_types_string hid_usage_type085[] = {
  1179. {0x0000, "Undefined"},
  1180. {0x0001, "SMBBatteryMode"},
  1181. {0x0002, "SMBBatteryStatus"},
  1182. {0x0003, "SMBAlarmWarning"},
  1183. {0x0004, "SMBChargerMode"},
  1184. {0x0005, "SMBChargerStatus"},
  1185. {0x0006, "SMBChargerSpecInfo"},
  1186. {0x0007, "SMBSelectorState"},
  1187. {0x0008, "SMBSelectorPreset"},
  1188. {0x0009, "SMBSelectorInfo"},
  1189. {0x0010, "OptionalMfgFunction1"},
  1190. {0x0011, "OptionalMfgFunction2"},
  1191. {0x0012, "OptionalMfgFunction3"},
  1192. {0x0013, "OptionalMfgFunction4"},
  1193. {0x0014, "OptionalMfgFunction5"},
  1194. {0x0015, "ConnectionToSMBus"},
  1195. {0x0016, "OutputConnection"},
  1196. {0x0017, "ChargerConnection"},
  1197. {0x0018, "BatteryInsertion"},
  1198. {0x0019, "Usenext"},
  1199. {0x001A, "OKToUse"},
  1200. {0x0028, "ManufacturerAccess"},
  1201. {0x0029, "RemainingCapacityLimit"},
  1202. {0x002A, "RemainingTimeLimit"},
  1203. {0x002B, "AtRate"},
  1204. {0x002C, "CapacityMode"},
  1205. {0x002D, "BroadcastToCharger"},
  1206. {0x002E, "PrimaryBattery"},
  1207. {0x002F, "ChargeController"},
  1208. {0x0040, "TerminateCharge"},
  1209. {0x0041, "TermminateDischarge"},
  1210. {0x0042, "BelowRemainingCapacityLimit"},
  1211. {0x0043, "RemainingTimeLimitExpired"},
  1212. {0x0044, "Charging"},
  1213. {0x0045, "Discharging"},
  1214. {0x0046, "FullyCharged"},
  1215. {0x0047, "FullyDischarged"},
  1216. {0x0048, "ConditionningFlag"},
  1217. {0x0049, "AtRateOK"},
  1218. {0x004A, "SMBErrorCode"},
  1219. {0x004B, "NeedReplacement"},
  1220. {0x0060, "AtRateTimeToFull"},
  1221. {0x0061, "AtRateTimeToEmpty"},
  1222. {0x0062, "AverageCurrent"},
  1223. {0x0063, "Maxerror"},
  1224. {0x0064, "RelativeStateOfCharge"},
  1225. {0x0065, "AbsoluteStateOfCharge"},
  1226. {0x0066, "RemainingCapacity"},
  1227. {0x0067, "FullChargeCapacity"},
  1228. {0x0068, "RunTimeToEmpty"},
  1229. {0x0069, "AverageTimeToEmpty"},
  1230. {0x006A, "AverageTimeToFull"},
  1231. {0x006B, "CycleCount"},
  1232. {0x0080, "BattPackModelLevel"},
  1233. {0x0081, "InternalChargeController"},
  1234. {0x0082, "PrimaryBatterySupport"},
  1235. {0x0083, "DesignCapacity"},
  1236. {0x0084, "SpecificationInfo"},
  1237. {0x0085, "ManufacturerDate"},
  1238. {0x0086, "SerialNumber"},
  1239. {0x0087, "iManufacturerName"},
  1240. {0x0088, "iDevicename"},
  1241. {0x0089, "iDeviceChemistery"},
  1242. {0x008A, "iManufacturerData"},
  1243. {0x008B, "Rechargeable"},
  1244. {0x008C, "WarningCapacityLimit"},
  1245. {0x008D, "CapacityGranularity1"},
  1246. {0x008E, "CapacityGranularity2"},
  1247. {0x00C0, "InhibitCharge"},
  1248. {0x00C1, "EnablePolling"},
  1249. {0x00C2, "ResetToZero"},
  1250. {0x00D0, "ACPresent"},
  1251. {0x00D1, "BatteryPresent"},
  1252. {0x00D2, "PowerFail"},
  1253. {0x00D3, "AlarmInhibited"},
  1254. {0x00D4, "ThermistorUnderRange"},
  1255. {0x00D5, "ThermistorHot"},
  1256. {0x00D6, "ThermistorCold"},
  1257. {0x00D7, "ThermistorOverRange"},
  1258. {0x00D8, "VoltageOutOfRange"},
  1259. {0x00D9, "CurrentOutOfRange"},
  1260. {0x00DA, "CurrentNotRegulated"},
  1261. {0x00DB, "VoltageNotRegulated"},
  1262. {0x00DC, "MasterMode"},
  1263. {0x00DD, "ChargerBattery/HostControlled"},
  1264. {0x00F0, "ChargerSpecInfo"},
  1265. {0x00F1, "ChargerSpecRef"},
  1266. {0x00F2, "Level2"},
  1267. {0x00F3, "Level3"},
  1268. {0xFFFF, ""},
  1269. };
  1270. struct hid_usage_types_string hid_usage_type086[] = {
  1271. {0xFFFF, ""},
  1272. };
  1273. struct hid_usage_types_string hid_usage_type087[] = {
  1274. {0xFFFF, ""},
  1275. };
  1276. struct hid_usage_types_string hid_usage_type08C[] = {
  1277. {0xFFFF, ""},
  1278. };
  1279. struct hid_usage_types_string hid_usage_type08D[] = {
  1280. {0xFFFF, ""},
  1281. };
  1282. struct hid_usage_types_string hid_usage_type08E[] = {
  1283. {0xFFFF, ""},
  1284. };
  1285. struct hid_usage_types_string hid_usage_type08F[] = {
  1286. {0xFFFF, ""},
  1287. };
  1288. struct hid_usage_types_string hid_usage_type090[] = {
  1289. {0xFFFF, ""},
  1290. };
  1291. struct hid_usage_types_string hid_usage_type091[] = {
  1292. {0xFFFF, ""},
  1293. };
  1294. /*
  1295. struct S_USAGE_TYPES_STR usage_typeF1F2[] = {
  1296. { 0x0000, "?????0000" },
  1297. { 0x0001, "?????1111" },
  1298. { 0xFFFF, "" }
  1299. };
  1300. */
  1301. struct hid_usage_types_string hid_usage_typeFF00[] = {
  1302. {0x00E9, "Base Up"},
  1303. {0x00EA, "Base Down"},
  1304. {0xFFFF, ""},
  1305. };
  1306. struct hid_usage_types_string hid_usage_typeFF84[] = {
  1307. {0x0000, "Undefined"},
  1308. {0x0001, "iName"},
  1309. {0x0002, "PresentStatus"},
  1310. {0x0003, "ChangedStatus"},
  1311. {0x0004, "UPS"},
  1312. {0x0005, "PowerSupply"},
  1313. {0x0010, "BatterySystem"},
  1314. {0x0011, "BatterySystemID"},
  1315. {0x0012, "Battery"},
  1316. {0x0013, "BatteryID"},
  1317. {0x0014, "Charger"},
  1318. {0x0015, "ChargerID"},
  1319. {0x0016, "PowerConverter"},
  1320. {0x0017, "PowerConverterID"},
  1321. {0x0018, "OutletSystem"},
  1322. {0x0019, "OutletSystemID"},
  1323. {0x001A, "Input"},
  1324. {0x001B, "InputID"},
  1325. {0x001C, "Output"},
  1326. {0x001D, "OutputID"},
  1327. {0x001E, "Flow"},
  1328. {0x001F, "FlowID"},
  1329. {0x0020, "Outlet"},
  1330. {0x0021, "OutletID"},
  1331. {0x0022, "Gang"},
  1332. {0x0023, "GangID"},
  1333. {0x0024, "Sink"},
  1334. {0x0025, "SinkID"},
  1335. {0x0030, "Voltage"},
  1336. {0x0031, "Current"},
  1337. {0x0032, "Frequency"},
  1338. {0x0033, "ApparentPower"},
  1339. {0x0034, "ActivePower"},
  1340. {0x0035, "PercentLoad"},
  1341. {0x0036, "Temperature"},
  1342. {0x0037, "Humidity"},
  1343. {0x0040, "ConfigVoltage"},
  1344. {0x0041, "ConfigCurrent"},
  1345. {0x0042, "ConfigFrequency"},
  1346. {0x0043, "ConfigApparentPower"},
  1347. {0x0044, "ConfigActivePower"},
  1348. {0x0045, "ConfigPercentLoad"},
  1349. {0x0046, "ConfigTemperature"},
  1350. {0x0047, "ConfigHumidity"},
  1351. {0x0050, "SwitchOnControl"},
  1352. {0x0051, "SwitchOffControl"},
  1353. {0x0052, "ToggleControl"},
  1354. {0x0053, "LowVoltageTransfer"},
  1355. {0x0054, "HighVoltageTransfer"},
  1356. {0x0055, "DelayBeforeReboot"},
  1357. {0x0056, "DelayBeforeStartup"},
  1358. {0x0057, "DelayBeforeShutdown"},
  1359. {0x0058, "Test"},
  1360. {0x0059, "Vendorspecificcommand"},
  1361. {0x0060, "Present"},
  1362. {0x0061, "Good"},
  1363. {0x0062, "InternalFailure"},
  1364. {0x0063, "VoltageOutOfRange"},
  1365. {0x0064, "FrequencyOutOfRange"},
  1366. {0x0065, "Overload"},
  1367. {0x0066, "OverCharged"},
  1368. {0x0067, "OverTemperature"},
  1369. {0x0068, "ShutdownRequested"},
  1370. {0x0069, "ShutdownImminent"},
  1371. {0x006A, "VendorSpecificAnswerValid"},
  1372. {0x006B, "SwitchOn/Off"},
  1373. {0x006C, "Switcheble"},
  1374. {0x006D, "Used"},
  1375. {0x006E, "Boost"},
  1376. {0x006F, "Buck"},
  1377. {0x0070, "Initialized"},
  1378. {0x0071, "Tested"},
  1379. {0xFFFF, ""},
  1380. };
  1381. struct hid_usage_types_string hid_usage_typeFF85[] = {
  1382. {0x0000, "Undefined"},
  1383. {0x0001, "SMBBatteryMode"},
  1384. {0x0002, "SMBBatteryStatus"},
  1385. {0x0003, "SMBAlarmWarning"},
  1386. {0x0004, "SMBChargerMode"},
  1387. {0x0005, "SMBChargerStatus"},
  1388. {0x0006, "SMBChargerSpecInfo"},
  1389. {0x0007, "SMBSelectorState"},
  1390. {0x0008, "SMBSelectorPreset"},
  1391. {0x0009, "SMBSelectorInfo"},
  1392. {0x0010, "OptionalMfgFunction1"},
  1393. {0x0011, "OptionalMfgFunction2"},
  1394. {0x0012, "OptionalMfgFunction3"},
  1395. {0x0013, "OptionalMfgFunction4"},
  1396. {0x0014, "OptionalMfgFunction5"},
  1397. {0x0015, "ConnectionToSMBus"},
  1398. {0x0016, "OutputConnection"},
  1399. {0x0017, "ChargerConnection"},
  1400. {0x0018, "BatteryInsertion"},
  1401. {0x0019, "Usenext"},
  1402. {0x001A, "OKToUse"},
  1403. {0x0028, "ManufacturerAccess"},
  1404. {0x0029, "RemainingCapacityLimit"},
  1405. {0x002A, "RemainingTimeLimit"},
  1406. {0x002B, "AtRate"},
  1407. {0x002C, "CapacityMode"},
  1408. {0x002D, "BroadcastToCharger"},
  1409. {0x002E, "PrimaryBattery"},
  1410. {0x002F, "ChargeController"},
  1411. {0x0040, "TerminateCharge"},
  1412. {0x0041, "TermminateDischarge"},
  1413. {0x0042, "BelowRemainingCapacityLimit"},
  1414. {0x0043, "RemainingTimeLimitExpired"},
  1415. {0x0044, "Charging"},
  1416. {0x0045, "Discharging"},
  1417. {0x0046, "FullyCharged"},
  1418. {0x0047, "FullyDischarged"},
  1419. {0x0048, "ConditionningFlag"},
  1420. {0x0049, "AtRateOK"},
  1421. {0x004A, "SMBErrorCode"},
  1422. {0x004B, "NeedReplacement"},
  1423. {0x0060, "AtRateTimeToFull"},
  1424. {0x0061, "AtRateTimeToEmpty"},
  1425. {0x0062, "AverageCurrent"},
  1426. {0x0063, "Maxerror"},
  1427. {0x0064, "RelativeStateOfCharge"},
  1428. {0x0065, "AbsoluteStateOfCharge"},
  1429. {0x0066, "RemainingCapacity"},
  1430. {0x0067, "FullChargeCapacity"},
  1431. {0x0068, "RunTimeToEmpty"},
  1432. {0x0069, "AverageTimeToEmpty"},
  1433. {0x006A, "AverageTimeToFull"},
  1434. {0x006B, "CycleCount"},
  1435. {0x0080, "BattPackModelLevel"},
  1436. {0x0081, "InternalChargeController"},
  1437. {0x0082, "PrimaryBatterySupport"},
  1438. {0x0083, "DesignCapacity"},
  1439. {0x0084, "SpecificationInfo"},
  1440. {0x0085, "ManufacturerDate"},
  1441. {0x0086, "SerialNumber"},
  1442. {0x0087, "iManufacturerName"},
  1443. {0x0088, "iDevicename"},
  1444. {0x0089, "iDeviceChemistery"},
  1445. {0x008A, "iManufacturerData"},
  1446. {0x008B, "Rechargeable"},
  1447. {0x008C, "WarningCapacityLimit"},
  1448. {0x008D, "CapacityGranularity1"},
  1449. {0x008E, "CapacityGranularity2"},
  1450. {0x00C0, "InhibitCharge"},
  1451. {0x00C1, "EnablePolling"},
  1452. {0x00C2, "ResetToZero"},
  1453. {0x00D0, "ACPresent"},
  1454. {0x00D1, "BatteryPresent"},
  1455. {0x00D2, "PowerFail"},
  1456. {0x00D3, "AlarmInhibited"},
  1457. {0x00D4, "ThermistorUnderRange"},
  1458. {0x00D5, "ThermistorHot"},
  1459. {0x00D6, "ThermistorCold"},
  1460. {0x00D7, "ThermistorOverRange"},
  1461. {0x00D8, "VoltageOutOfRange"},
  1462. {0x00D9, "CurrentOutOfRange"},
  1463. {0x00DA, "CurrentNotRegulated"},
  1464. {0x00DB, "VoltageNotRegulated"},
  1465. {0x00DC, "MasterMode"},
  1466. {0x00DD, "ChargerBattery/HostControlled"},
  1467. {0x00F0, "ChargerSpecInfo"},
  1468. {0x00F1, "ChargerSpecRef"},
  1469. {0x00F2, "Level2"},
  1470. {0x00F3, "Level3"},
  1471. {0xFFFF, ""},
  1472. };
  1473. // Usage Pages
  1474. struct hid_usage_pages_string hid_usage_page_strings[] = {
  1475. {0x0000, NULL, "Undefined"},
  1476. {0x0001, hid_usage_type001, "Generic Desktop"},
  1477. {0x0002, hid_usage_type002, "Simulation"},
  1478. {0x0003, hid_usage_type003, "Virtual Reality"},
  1479. {0x0004, hid_usage_type004, "Sport"},
  1480. {0x0005, hid_usage_type005, "Game"},
  1481. {0x0006, hid_usage_type006, "Generic Device"},
  1482. {0x0007, hid_usage_type007, "Keyboard/Keypad"},
  1483. {0x0008, hid_usage_type008, "LEDs"},
  1484. {0x0009, NULL, "Button"},
  1485. {0x000A, NULL, "Ordinal"},
  1486. {0x000B, hid_usage_type00B, "Telephony"},
  1487. {0x000C, hid_usage_type00C, "Consumer"},
  1488. {0x000D, hid_usage_type00D, "Digitizer"},
  1489. {0x000F, hid_usage_type00F, "PID Page"},
  1490. {0x0010, NULL, "Unicode"},
  1491. {0x0014, hid_usage_type014, "Alphanumeric Display"},
  1492. {0x0040, hid_usage_type040, "Meidcal Insturments"},
  1493. {0x0080, hid_usage_type080, "Monitor Pages"},
  1494. {0x0081, NULL, "Monitor Pages"},
  1495. {0x0082, hid_usage_type082, "Monitor Pages"},
  1496. {0x0083, hid_usage_type083, "Monitor Pages"},
  1497. {0x0084, hid_usage_type084, "Power Pages"},
  1498. {0x0085, hid_usage_type085, "Power Pages"},
  1499. {0x0086, hid_usage_type086, "Power Pages"},
  1500. {0x0087, hid_usage_type087, "Power Pages"},
  1501. {0x008C, hid_usage_type08C, "Barcode Scanner"},
  1502. {0x008D, hid_usage_type08D, "Scale"},
  1503. {0x008E, hid_usage_type08E, "Magnetic Stripe Reading (MSR) Devices"},
  1504. {0x008F, hid_usage_type08F, "Reserved Point of Sale"},
  1505. {0x0090, hid_usage_type090, "Camera Control"},
  1506. {0x0091, hid_usage_type091, "Arcade"},
  1507. //{ 0xF1F2, hid_usage_typeF1F2, "??????" }, // unknown: I have a MOSART Semi Wireless Mouse that uses this Upage
  1508. {0xFF00, hid_usage_typeFF00, "MS Non-Standard"},
  1509. {0xFF84, hid_usage_typeFF84, "APC Non-Standard"},
  1510. {0xFF85, hid_usage_typeFF85, "APC Non-Standard"},
  1511. {0xFFFF, NULL, ""},
  1512. };
  1513. char hid_collection_str[][64] = {
  1514. "Physical", "Application", "Logical", "Report", "Named Array", "Usage Switch", "Usage Modifier",
  1515. };