HID Usage Tables fixes.
8 /// From USB HID usage tables.
9 /// http://www.usb.org/developers/hidpage#HID_Usage
10 /// http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf
12 public enum UsagePage : ushort
15 GenericDesktopControls,
17 VirtualRealityControls,
20 GenericDeviceControls,
28 PhysicalInterfaceDevice = 0x0f,
30 AlphaNumericDisplay = 0x14,
31 MedicalInstruments = 0x40,
40 BarCodeScanner = 0x8c,
46 // http://msdn.microsoft.com/en-us/library/windows/desktop/bb417079.aspx
48 TerraTecRemote = 0xffcc
51 public enum UsageCollectionGenericDesktop : ushort
59 MultiAxisController = 0x08,
60 TabletPCSystemControls = 0x09,
64 public enum UsageCollectionConsumer : ushort
66 ConsumerControl = 0x01,
68 ProgrammableButtons = 0x03,
71 GraphicEqualizer = 0x06,
72 FunctionButtons = 0x36,
74 MediaSelection = 0x0087,
76 PlaybackSpeed = 0x00F1,
78 SpeakerSystem = 0x0160,
80 ChannelRight = 0x0162,
81 ChannelCenter = 0x0163,
82 ChannelFront = 0x0164,
83 ChannelCenterFront = 0x0165,
85 ChannelSurrond = 0x0167,
86 ChannelLowFrequencyEnhancement = 0x0168,
88 ChannelUnknown = 0x016A,
89 ApplicationLaunchButtons = 0x016A,
90 GenericGuiApplicationControls = 0x0200,
94 public enum UsageIdMce: ushort
101 namespace UsageTables
106 public enum MceButton: ushort
109 /// Not defined by the Microsoft specs.
113 ClosedCaptioning = 0x2B,
116 TeletextGreen = 0x5C,
117 TeletextYellow = 0x5D,
132 /// First press action: Ejects a DVD drive.
134 /// Second press action: Repeats first press action.
136 /// Notably issued by XBOX360 remote as defined in irplus - Remote Control - Android application.
141 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
142 /// Collection (page 0xFFBC, usage 0x88).
144 /// Second press action: Repeats message.
148 /// Notably sent by the 'Visualization' button of HP Windows Media Center Remote (TSGH-IR08).
150 /// According to HP specs it displays visual imagery that is synchronized to the sound of your music tracks.
154 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
155 /// Collection (page 0xFFBC, usage 0x88).
157 /// Second press action: Repeats message.
161 /// Notably sent by the 'Slide Show' button of HP Windows Media Center Remote (TSGH-IR08).
163 /// According to HP specs it plays a slide show of all the pictures on your hard disk drive.
167 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
168 /// Collection (page 0xFFBC, usage 0x88).
170 /// Second press action: Repeats message.
174 /// Notably sent by the 'Eject' button of HP Windows Media Center Remote (TSGH-IR08).
175 /// Also interpreted as 'Eject' action by SoundGraph iMON Manager in MCE mode (OrigenAE VF310).
179 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
180 /// Collection (page 0xFFBC, usage 0x88).
182 /// Second press action: Repeats message.
186 /// Notably sent by the 'Input selection' button of HP Windows Media Center Remote (TSGH-IR08).
204 /// First press action: Generates OEM2 HID message in the Media Center Vendor Specific
205 /// Collection. This button is intended to control the front panel display of home entertainment
206 /// computers. When this button is pressed, the display could be turned on or off, or the display
207 /// mode could change.
209 /// Second press action: Repeats message.
213 /// Notably issued by XBOX360 remote as defined in irplus - Remote Control - Android application.
217 /// First press action: To be determined.
219 /// Second press action: Repeats message.
224 NetworkSelection = 0x2C,
227 VideoSelection = 0x61
231 /// Those codes come from experimenting with HP remotes.
233 public enum HpMceButton: ushort
236 /// Displays visual imagery that is synchronized to the sound of your music tracks.
238 /// Second press action: Repeats message.
242 /// Notably sent by the 'Visualization' button of HP Windows Media Center Remote (TSGH-IR08).
244 /// According to HP specs it displays visual imagery that is synchronized to the sound of your music tracks.
246 Visualization = MceButton.Ext0,
248 /// Plays a slide show of all the pictures on your hard disk drive.
250 /// Second press action: Repeats message.
254 /// Notably sent by the 'Slide Show' button of HP Windows Media Center Remote (TSGH-IR08).
256 /// According to HP specs it plays a slide show of all the pictures on your hard disk drive.
258 SlideShow = MceButton.Ext1,
260 /// Eject optical drive.
262 /// Second press action: Repeats message.
266 /// Notably sent by the 'Eject' button of HP Windows Media Center Remote (TSGH-IR08).
267 /// Also interpreted as 'Eject' action by SoundGraph iMON Manager in MCE mode (OrigenAE VF310).
269 Eject = MceButton.Ext2,
271 /// Not sure what this should do.
273 /// Second press action: Repeats message.
277 /// Notably sent by the 'Input selection' button of HP Windows Media Center Remote (TSGH-IR08).
279 InputSelection = MceButton.Ext3,
283 /// Usage Table for Consumer Controls
286 public enum ConsumerControl: ushort
291 MediaSelectComputer = 0x0088,
292 MediaSelectTV = 0x0089,
293 MediaSelectWWW = 0x008A,
294 MediaSelectDVD = 0x008B,
295 MediaSelectTelephone = 0x008C,
296 MediaSelectProgramGuide = 0x008D,
297 MediaSelectVideoPhone = 0x008E,
298 MediaSelectGames = 0x008F,
299 MediaSelectMessages = 0x0090,
300 MediaSelectCD = 0x0091,
301 MediaSelectVCR = 0x0092,
302 MediaSelectTuner = 0x0093,
305 MediaSelectTape = 0x0096,
306 MediaSelectCable = 0x0097,
307 MediaSelectSatellite = 0x0098,
308 MediaSelectSecurity = 0x0099,
309 MediaSelectHome = 0x009A,
310 MediaSelectCall = 0x009B,
311 ChannelIncrement = 0x009C,
312 ChannelDecrement = 0x009D,
313 MediaSelectSAP = 0x009E,
318 FastForward = 0x00B3,
320 ScanNextTrack = 0x00B5,
321 ScanPreviousTrack = 0x00B6,
328 TrackNormal = 0x00BE,
329 SlowTracking = 0x00BF,
330 FrameForward = 0x00C0,
334 RepeatFromMark = 0x00C4,
335 ReturnToMark = 0x00C5,
336 SearchMarkForward = 0x00C6,
337 SearchMarkBackwards = 0x00C7,
338 CounterReset = 0x00C8,
339 ShowCounter = 0x00C9,
340 TrackingIncrement = 0x00CA,
341 TrackingDecrement = 0x00CB,
355 SurroundMode = 0x00E6,
358 VolumeIncrement = 0x00E9,
359 VolumeDecrement = 0x00EA,
361 //Generic GUI Application Controls
362 //GenericGUIApplicationControls = 0x0200,
364 AppCtrlOpen = 0x0202,
365 AppCtrlClose = 0x0203,
366 AppCtrlExit = 0x0204,
367 AppCtrlMaximize = 0x0205,
368 AppCtrlMinimize = 0x0206,
369 AppCtrlSave = 0x0207,
370 AppCtrlPrint = 0x0208,
371 AppCtrlProperties = 0x0209,
372 AppCtrlUndo = 0x021A,
373 AppCtrlCopy = 0x021B,
375 AppCtrlPaste = 0x021D,
376 AppCtrlSelectAll = 0x021E,
377 AppCtrlFind = 0x021F,
378 AppCtrlFindAndReplace = 0x0220,
379 AppCtrlSearch = 0x0221,
380 AppCtrlGoTo = 0x0222,
381 AppCtrlHome = 0x0223,
382 AppCtrlBack = 0x0224,
383 AppCtrlForward = 0x0225,
384 AppCtrlStop = 0x0226,
385 AppCtrlRefresh = 0x0227,
386 AppCtrlPreviousLink = 0x0228,
387 AppCtrlNextLink = 0x0229,
388 AppCtrlBookmarks = 0x022A,
389 AppCtrlHistory = 0x022B,
390 AppCtrlSubscriptions = 0x022C,
391 AppCtrlZoomIn = 0x022D,
392 AppCtrlZoomOut = 0x022E,
393 AppCtrlZoom = 0x022F,
394 AppCtrlFullScreenView = 0x0230,
395 AppCtrlNormalView = 0x0231,
396 AppCtrlViewToggle = 0x0232,
397 AppCtrlScrollUp = 0x0233,
398 AppCtrlScrollDown = 0x0234,
399 AppCtrlScroll = 0x0235,
400 AppCtrlPanLeft = 0x0236,
401 AppCtrlPanRight = 0x0237,
403 AppCtrlNewWindow = 0x0239,
404 AppCtrlTileHorizontally = 0x023A,
405 AppCtrlTileVertically = 0x023B,
406 AppCtrlFormat = 0x023C,
407 AppCtrlEdit = 0x023D,