Adding missing entries in consumer usage table.
Adding magic MyTv code in MCE usage table as handled by MP.
1.1 --- a/HidUsageTableConsumer.txt Fri Dec 19 18:56:38 2014 +0100
1.2 +++ b/HidUsageTableConsumer.txt Fri Dec 19 21:07:15 2014 +0100
1.3 @@ -338,5 +338,45 @@
1.4 271 AC View Comment Sel 15.16
1.5 272 AC Select Word Sel 15.16
1.6 273 AC Select Sentence Sel 15.16
1.7 +274 AC Select Paragraph Sel 15.16
1.8 +275 AC Select Column Sel 15.16
1.9 +276 AC Select Row Sel 15.16
1.10 +277 AC Select Table Sel 15.16
1.11 +278 AC Select Object Sel 15.16
1.12 +279 AC Redo/Repeat Sel 15.16
1.13 +27A AC Sort Sel 15.16
1.14 +27B AC Sort Ascending Sel 15.16
1.15 +27C AC Sort Descending Sel 15.16
1.16 +27D AC Filter Sel 15.16
1.17 +27E AC Set Clock Sel 15.16
1.18 +27F AC View Clock Sel 15.16
1.19 +280 AC Select Time Zone Sel 15.16
1.20 +281 AC Edit Time Zones Sel 15.16
1.21 +282 AC Set Alarm Sel 15.16
1.22 +283 AC Clear Alarm Sel 15.16
1.23 +284 AC Snooze Alarm Sel 15.16
1.24 +285 AC Reset Alarm Sel 15.16
1.25 +286 AC Synchronize Sel 15.16
1.26 +287 AC Send/Receive Sel 15.16
1.27 +288 AC Send To Sel 15.16
1.28 +289 AC Reply Sel 15.16
1.29 +28A AC Reply All Sel 15.16
1.30 +28B AC Forward Msg Sel 15.16
1.31 +28C AC Send Sel 15.16
1.32 +28D AC Attach File Sel 15.16
1.33 +28E AC Upload Sel 15.16
1.34 +28F AC Download Save Target As Sel 15.16
1.35 +290 AC Set Borders Sel 15.16
1.36 +291 AC Insert Row Sel 15.16
1.37 +292 AC Insert Column Sel 15.16
1.38 +293 AC Insert File Sel 15.16
1.39 +294 AC Insert Picture Sel 15.16
1.40 +295 AC Insert Object Sel 15.16
1.41 +296 AC Insert Symbol Sel 15.16
1.42 +297 AC Save and Close Sel 15.16
1.43 +298 AC Rename Sel 15.16
1.44 +299 AC Merge Sel 15.16
1.45 +29A AC Split Sel 15.16
1.46 +29B AC Distribute Horizontally Sel 15.16
1.47 29C AC Distribute Vertically Sel 15.16
1.48 29D-FFFF Reserved
1.49 \ No newline at end of file
2.1 --- a/HidUsageTables.cs Fri Dec 19 18:56:38 2014 +0100
2.2 +++ b/HidUsageTables.cs Fri Dec 19 21:07:15 2014 +0100
2.3 @@ -91,7 +91,7 @@
2.4 }
2.5
2.6
2.7 - public enum UsageCollectionWindowsMediaCenter: ushort
2.8 + public enum UsageCollectionWindowsMediaCenter : ushort
2.9 {
2.10 WindowsMediaCenterRemoteControl = 0x88
2.11 }
2.12 @@ -103,31 +103,32 @@
2.13 /// <summary>
2.14 ///
2.15 /// </summary>
2.16 - public enum WindowsMediaCenterRemoteControl: ushort
2.17 + public enum WindowsMediaCenterRemoteControl : ushort
2.18 {
2.19 /// <summary>
2.20 /// Not defined by the Microsoft specs.
2.21 /// </summary>
2.22 - Null = 0x00,
2.23 - GreenStart = 0x0D,
2.24 - ClosedCaptioning = 0x2B,
2.25 - Teletext = 0x5A,
2.26 - TeletextRed = 0x5B,
2.27 - TeletextGreen = 0x5C,
2.28 - TeletextYellow = 0x5D,
2.29 - TeletextBlue = 0x5E,
2.30 - LiveTv = 0x25,
2.31 - Music = 0x47,
2.32 - RecordedTv = 0x48,
2.33 - Pictures = 0x49,
2.34 - Videos = 0x4A,
2.35 - FmRadio = 0x50,
2.36 - Extras = 0x3C,
2.37 - ExtrasApp = 0x3D,
2.38 - DvdMenu = 0x24,
2.39 - DvdAngle = 0x4B,
2.40 - DvdAudio = 0x4C,
2.41 - DvdSubtitle = 0x4D,
2.42 + Null = 0x00,
2.43 + GreenStart = 0x0D,
2.44 + ClosedCaptioning = 0x2B,
2.45 + Teletext = 0x5A,
2.46 + TeletextRed = 0x5B,
2.47 + TeletextGreen = 0x5C,
2.48 + TeletextYellow = 0x5D,
2.49 + TeletextBlue = 0x5E,
2.50 + LiveTv = 0x25,
2.51 + Tv = 0x46,
2.52 + Music = 0x47,
2.53 + RecordedTv = 0x48,
2.54 + Pictures = 0x49,
2.55 + Videos = 0x4A,
2.56 + FmRadio = 0x50,
2.57 + Extras = 0x3C,
2.58 + ExtrasApp = 0x3D,
2.59 + DvdMenu = 0x24,
2.60 + DvdAngle = 0x4B,
2.61 + DvdAudio = 0x4C,
2.62 + DvdSubtitle = 0x4D,
2.63 /// <summary>
2.64 /// First press action: Ejects a DVD drive.
2.65 /// <para />
2.66 @@ -135,8 +136,8 @@
2.67 /// <para />
2.68 /// Notably issued by XBOX360 remote as defined in irplus - Remote Control - Android application.
2.69 /// </summary>
2.70 - Eject = 0x28,
2.71 - DvdTopMenu = 0x43,
2.72 + Eject = 0x28,
2.73 + DvdTopMenu = 0x43,
2.74 /// <summary>
2.75 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
2.76 /// Collection (page 0xFFBC, usage 0x88).
2.77 @@ -149,7 +150,7 @@
2.78 /// <para />
2.79 /// According to HP specs it displays visual imagery that is synchronized to the sound of your music tracks.
2.80 /// </summary>
2.81 - Ext0 = 0x32,
2.82 + Ext0 = 0x32,
2.83 /// <summary>
2.84 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
2.85 /// Collection (page 0xFFBC, usage 0x88).
2.86 @@ -162,7 +163,7 @@
2.87 /// <para />
2.88 /// According to HP specs it plays a slide show of all the pictures on your hard disk drive.
2.89 /// </summary>
2.90 - Ext1 = 0x33,
2.91 + Ext1 = 0x33,
2.92 /// <summary>
2.93 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
2.94 /// Collection (page 0xFFBC, usage 0x88).
2.95 @@ -174,7 +175,7 @@
2.96 /// Notably sent by the 'Eject' button of HP Windows Media Center Remote (TSGH-IR08).
2.97 /// Also interpreted as 'Eject' action by SoundGraph iMON Manager in MCE mode (OrigenAE VF310).
2.98 /// </summary>
2.99 - Ext2 = 0x34,
2.100 + Ext2 = 0x34,
2.101 /// <summary>
2.102 /// First press action: Generates EXTn HID message in the Media Center Vendor Specific
2.103 /// Collection (page 0xFFBC, usage 0x88).
2.104 @@ -185,21 +186,21 @@
2.105 /// <para />
2.106 /// Notably sent by the 'Input selection' button of HP Windows Media Center Remote (TSGH-IR08).
2.107 /// </summary>
2.108 - Ext3 = 0x35,
2.109 - Ext4 = 0x36,
2.110 - Ext5 = 0x37,
2.111 - Ext6 = 0x38,
2.112 - Ext7 = 0x39,
2.113 - Ext8 = 0x3A,
2.114 - Ext9 = 0x80,
2.115 - Ext10 = 0x81,
2.116 - Ext11 = 0x6F,
2.117 - Zoom = 0x27,
2.118 - ChannelInput = 0x42,
2.119 - SubAudio = 0x2D,
2.120 - Channel10 = 0x3E,
2.121 - Channel11 = 0x3F,
2.122 - Channel12 = 0x40,
2.123 + Ext3 = 0x35,
2.124 + Ext4 = 0x36,
2.125 + Ext5 = 0x37,
2.126 + Ext6 = 0x38,
2.127 + Ext7 = 0x39,
2.128 + Ext8 = 0x3A,
2.129 + Ext9 = 0x80,
2.130 + Ext10 = 0x81,
2.131 + Ext11 = 0x6F,
2.132 + Zoom = 0x27,
2.133 + ChannelInput = 0x42,
2.134 + SubAudio = 0x2D,
2.135 + Channel10 = 0x3E,
2.136 + Channel11 = 0x3F,
2.137 + Channel12 = 0x40,
2.138 /// <summary>
2.139 /// First press action: Generates OEM2 HID message in the Media Center Vendor Specific
2.140 /// Collection. This button is intended to control the front panel display of home entertainment
2.141 @@ -212,7 +213,7 @@
2.142 /// <para />
2.143 /// Notably issued by XBOX360 remote as defined in irplus - Remote Control - Android application.
2.144 /// </summary>
2.145 - Display = 0x4F,
2.146 + Display = 0x4F,
2.147 /// <summary>
2.148 /// First press action: To be determined.
2.149 /// <para />
2.150 @@ -220,11 +221,11 @@
2.151 /// <para />
2.152 /// Auto-repeat: No
2.153 /// </summary>
2.154 - Kiosk = 0x6A,
2.155 - NetworkSelection = 0x2C,
2.156 - BlueRayTool = 0x78,
2.157 - ChannelInfo = 0x41,
2.158 - VideoSelection = 0x61
2.159 + Kiosk = 0x6A,
2.160 + NetworkSelection = 0x2C,
2.161 + BlueRayTool = 0x78,
2.162 + ChannelInfo = 0x41,
2.163 + VideoSelection = 0x61
2.164 }
2.165
2.166 /// <summary>
2.167 @@ -285,8 +286,7 @@
2.168 /// </summary>
2.169 public enum ConsumerControl : ushort
2.170 {
2.171 - Null = 0x0000,
2.172 - //
2.173 + Null = 0x00,
2.174 ConsumerControl = 0x01,
2.175 NumericKeyPad = 0x02,
2.176 ProgrammableButtons = 0x03,
2.177 @@ -610,6 +610,46 @@
2.178 AppCtrlViewComment = 0x271,
2.179 AppCtrlSelectWord = 0x272,
2.180 AppCtrlSelectSentence = 0x273,
2.181 + AppCtrlSelectParagraph = 0x274,
2.182 + AppCtrlSelectColumn = 0x275,
2.183 + AppCtrlSelectRow = 0x276,
2.184 + AppCtrlSelectTable = 0x277,
2.185 + AppCtrlSelectObject = 0x278,
2.186 + AppCtrlRedoRepeat = 0x279,
2.187 + AppCtrlSort = 0x27A,
2.188 + AppCtrlSortAscending = 0x27B,
2.189 + AppCtrlSortDescending = 0x27C,
2.190 + AppCtrlFilter = 0x27D,
2.191 + AppCtrlSetClock = 0x27E,
2.192 + AppCtrlViewClock = 0x27F,
2.193 + AppCtrlSelectTimeZone = 0x280,
2.194 + AppCtrlEditTimeZones = 0x281,
2.195 + AppCtrlSetAlarm = 0x282,
2.196 + AppCtrlClearAlarm = 0x283,
2.197 + AppCtrlSnoozeAlarm = 0x284,
2.198 + AppCtrlResetAlarm = 0x285,
2.199 + AppCtrlSynchronize = 0x286,
2.200 + AppCtrlSendReceive = 0x287,
2.201 + AppCtrlSendTo = 0x288,
2.202 + AppCtrlReply = 0x289,
2.203 + AppCtrlReplyAll = 0x28A,
2.204 + AppCtrlForwardMsg = 0x28B,
2.205 + AppCtrlSend = 0x28C,
2.206 + AppCtrlAttachFile = 0x28D,
2.207 + AppCtrlUpload = 0x28E,
2.208 + AppCtrlDownloadSaveTargetAs = 0x28F,
2.209 + AppCtrlSetBorders = 0x290,
2.210 + AppCtrlInsertRow = 0x291,
2.211 + AppCtrlInsertColumn = 0x292,
2.212 + AppCtrlInsertFile = 0x293,
2.213 + AppCtrlInsertPicture = 0x294,
2.214 + AppCtrlInsertObject = 0x295,
2.215 + AppCtrlInsertSymbol = 0x296,
2.216 + AppCtrlSaveAndClose = 0x297,
2.217 + AppCtrlRename = 0x298,
2.218 + AppCtrlMerge = 0x299,
2.219 + AppCtrlSplit = 0x29A,
2.220 + AppCtrlDistributeHorizontally = 0x29B,
2.221 AppCtrlDistributeVertically = 0x29C
2.222 }
2.223
2.224 @@ -693,6 +733,7 @@
2.225 /// </summary>
2.226 enum SimulationControl : ushort
2.227 {
2.228 + Null = 0x00,
2.229 FlightSimulationDevice = 0x01,
2.230 AutomobileSimulationDevice = 0x02,
2.231 TankSimulationDevice = 0x03,
2.232 @@ -751,6 +792,7 @@
2.233 /// </summary>
2.234 enum GameControl : ushort
2.235 {
2.236 + Null = 0x00,
2.237 GameController3D = 0x01,
2.238 PinballDevice = 0x02,
2.239 GunDevice = 0x03,
2.240 @@ -786,6 +828,7 @@
2.241 /// </summary>
2.242 enum TelephonyDevice : ushort
2.243 {
2.244 + Null = 0x00,
2.245 Phone = 0x01,
2.246 AnsweringMachine = 0x02,
2.247 MessageControls = 0x03,
2.248 @@ -852,6 +895,5 @@
2.249 PhoneKeyC = 0xBE,
2.250 PhoneKeyD = 0xBF
2.251 }
2.252 -
2.253 }
2.254 }
2.255 \ No newline at end of file