From: <che...@us...> - 2011-05-03 19:42:58
|
Revision: 4202 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4202&view=rev Author: chemelli_sf Date: 2011-05-03 19:42:52 +0000 (Tue, 03 May 2011) Log Message: ----------- Added support for latest "iMon ultrabay kit" Modified Paths: -------------- trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Front Panel.xml trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Volume Knob.xml trunk/plugins/IR Server Suite/IR Server Suite/IR Server Plugins/Imon USB Receivers/Imon USB Receivers.cs Added Paths: ----------- trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Navigation Knob.xml Modified: trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Front Panel.xml =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Front Panel.xml 2011-05-03 19:39:22 UTC (rev 4201) +++ trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Front Panel.xml 2011-05-03 19:42:52 UTC (rev 4202) @@ -4,13 +4,13 @@ <RemoteTable RawCode="3019" AbstractButton="Down" /> <RemoteTable RawCode="3020" AbstractButton="Left" /> <RemoteTable RawCode="3021" AbstractButton="Right" /> - <RemoteTable RawCode="3022" AbstractButton="OK" /> <RemoteTable RawCode="3015" AbstractButton="Start" /> <RemoteTable RawCode="3023" AbstractButton="Back" /> <RemoteTable RawCode="3045" AbstractButton="Info" /> <RemoteTable RawCode="3044" AbstractButton="Home" /> <RemoteTable RawCode="3043" AbstractButton="Power" /> <RemoteTable RawCode="3002" AbstractButton="Play" /> + <RemoteTable RawCode="3060" AbstractButton="PlayPause" /> <RemoteTable RawCode="3004" AbstractButton="Stop" /> <RemoteTable RawCode="3008" AbstractButton="FastForward" /> <RemoteTable RawCode="3007" AbstractButton="Rewind" /> Added: trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Navigation Knob.xml =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Navigation Knob.xml (rev 0) +++ trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Navigation Knob.xml 2011-05-03 19:42:52 UTC (rev 4202) @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="yes"?> +<DocumentElement> + <RemoteTable RawCode="4011" AbstractButton="Up" /> + <RemoteTable RawCode="4012" AbstractButton="Down" /> + <RemoteTable RawCode="3061" AbstractButton="OK" /> +</DocumentElement> Modified: trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Volume Knob.xml =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Volume Knob.xml 2011-05-03 19:39:22 UTC (rev 4201) +++ trunk/plugins/IR Server Suite/IR Server Suite/IR Server/IR Server/Abstract Remote Maps/iMon USB/Imon Volume Knob.xml 2011-05-03 19:42:52 UTC (rev 4202) @@ -1,5 +1,6 @@ <?xml version="1.0" standalone="yes"?> <DocumentElement> + <RemoteTable RawCode="3001" AbstractButton="Mute" /> <RemoteTable RawCode="4001" AbstractButton="VolumeUp" /> <RemoteTable RawCode="4002" AbstractButton="VolumeDown" /> </DocumentElement> \ No newline at end of file Modified: trunk/plugins/IR Server Suite/IR Server Suite/IR Server Plugins/Imon USB Receivers/Imon USB Receivers.cs =================================================================== --- trunk/plugins/IR Server Suite/IR Server Suite/IR Server Plugins/Imon USB Receivers/Imon USB Receivers.cs 2011-05-03 19:39:22 UTC (rev 4201) +++ trunk/plugins/IR Server Suite/IR Server Suite/IR Server Plugins/Imon USB Receivers/Imon USB Receivers.cs 2011-05-03 19:42:52 UTC (rev 4202) @@ -110,6 +110,8 @@ private const uint IMON_PANEL_BUTTON = 3000; private const uint IMON_VOLUME_DOWN = 4002; private const uint IMON_VOLUME_UP = 4001; + private const uint IMON_NAVIGATION_DOWN = 4012; + private const uint IMON_NAVIGATION_UP = 4011; private static readonly string ConfigurationFile = Path.Combine(ConfigurationPath, "iMon USB Receivers.xml"); @@ -356,7 +358,8 @@ "Vid_15c2&Pid_003c", "Vid_15c2&Pid_0038", "Vid_15c2&Pid_0036", - "Vid_15c2&Pid_0035" + "Vid_15c2&Pid_0035", + "Vid_15c2&Pid_0039" }; private RawInput.RAWINPUTDEVICE[] _deviceTree; @@ -1602,6 +1605,10 @@ RemoteEvent(IMON_VOLUME_DOWN, true); if (newArray[2] == 0x01) RemoteEvent(IMON_VOLUME_UP, true); + if (newArray[4] == 0x01) + RemoteEvent(IMON_NAVIGATION_UP, true); + if (newArray[3] == 0x01) + RemoteEvent(IMON_NAVIGATION_DOWN, true); } else if ((newArray[1] & 0xFC) == 0x68) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |