From: <an...@us...> - 2008-02-28 16:46:32
|
Revision: 1407 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1407&view=rev Author: and-81 Date: 2008-02-28 08:46:28 -0800 (Thu, 28 Feb 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.Designer.cs trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/GetKeyCodeForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.Designer.cs trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs trunk/plugins/IR Server Suite/Applications/Translator/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs trunk/plugins/IR Server Suite/Documentation/new.html trunk/plugins/IR Server Suite/IR Server Plugins/FusionRemote Receiver/FusionRemoteReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/USB-UIRT Transceiver/UirtTransceiver.cs Added Paths: ----------- trunk/plugins/IR Server Suite/Applications/Abstractor/Abstract Remote Model - v0.1.doc trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionHDTV.xml trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionREMOTE.xml trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/IgorPlug/ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/IgorPlug/Microsoft MCE.xml trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Microsoft MCE/ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Microsoft MCE/Microsoft MCE.xml trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/USB-UIRT/ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/USB-UIRT/Microsoft MCE.xml trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Windows Messages/ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Windows Messages/Virtual Remote.xml trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/XBCDRC/ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommandReceiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Icon.ico trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/Properties/AssemblyInfo.cs trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/ReceiverWindow.cs trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/ trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/MacMini Receiver.cs trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/MacMini Receiver.csproj trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/Properties/ trunk/plugins/IR Server Suite/IR Server Plugins/MacMini Receiver/Properties/AssemblyInfo.cs Property Changed: ---------------- trunk/plugins/IR Server Suite/Applications/Abstractor/ Property changes on: trunk/plugins/IR Server Suite/Applications/Abstractor ___________________________________________________________________ Name: svn:ignore + bin obj Added: trunk/plugins/IR Server Suite/Applications/Abstractor/Abstract Remote Model - v0.1.doc =================================================================== (Binary files differ) Property changes on: trunk/plugins/IR Server Suite/Applications/Abstractor/Abstract Remote Model - v0.1.doc ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.Designer.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.Designer.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -46,7 +46,8 @@ this.listViewButtonMap = new System.Windows.Forms.ListView(); this.columnHeaderAbstractButton = new System.Windows.Forms.ColumnHeader(); this.columnHeaderKeyCode = new System.Windows.Forms.ColumnHeader(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.checkBoxToggle = new System.Windows.Forms.CheckBox(); + this.checkBoxForwardAbstract = new System.Windows.Forms.CheckBox(); this.groupBoxSetup.SuspendLayout(); this.groupBoxStatus.SuspendLayout(); this.groupBoxMapAbstract.SuspendLayout(); @@ -63,7 +64,7 @@ this.groupBoxSetup.Location = new System.Drawing.Point(8, 8); this.groupBoxSetup.Name = "groupBoxSetup"; this.groupBoxSetup.Size = new System.Drawing.Size(440, 64); - this.groupBoxSetup.TabIndex = 4; + this.groupBoxSetup.TabIndex = 0; this.groupBoxSetup.TabStop = false; this.groupBoxSetup.Text = "Setup"; // @@ -118,8 +119,8 @@ this.groupBoxStatus.Controls.Add(this.listBoxStatus); this.groupBoxStatus.Location = new System.Drawing.Point(8, 344); this.groupBoxStatus.Name = "groupBoxStatus"; - this.groupBoxStatus.Size = new System.Drawing.Size(440, 216); - this.groupBoxStatus.TabIndex = 5; + this.groupBoxStatus.Size = new System.Drawing.Size(440, 192); + this.groupBoxStatus.TabIndex = 2; this.groupBoxStatus.TabStop = false; this.groupBoxStatus.Text = "Status"; // @@ -134,7 +135,7 @@ this.listBoxStatus.Location = new System.Drawing.Point(8, 16); this.listBoxStatus.Name = "listBoxStatus"; this.listBoxStatus.ScrollAlwaysVisible = true; - this.listBoxStatus.Size = new System.Drawing.Size(424, 185); + this.listBoxStatus.Size = new System.Drawing.Size(424, 168); this.listBoxStatus.TabIndex = 0; // // groupBoxMapAbstract @@ -142,7 +143,7 @@ this.groupBoxMapAbstract.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.groupBoxMapAbstract.Controls.Add(this.checkBox1); + this.groupBoxMapAbstract.Controls.Add(this.checkBoxToggle); this.groupBoxMapAbstract.Controls.Add(this.buttonClear); this.groupBoxMapAbstract.Controls.Add(this.buttonLoad); this.groupBoxMapAbstract.Controls.Add(this.buttonSave); @@ -154,7 +155,7 @@ this.groupBoxMapAbstract.Location = new System.Drawing.Point(8, 80); this.groupBoxMapAbstract.Name = "groupBoxMapAbstract"; this.groupBoxMapAbstract.Size = new System.Drawing.Size(440, 256); - this.groupBoxMapAbstract.TabIndex = 6; + this.groupBoxMapAbstract.TabIndex = 1; this.groupBoxMapAbstract.TabStop = false; this.groupBoxMapAbstract.Text = "Abstract Remote Map"; // @@ -164,7 +165,7 @@ this.buttonClear.Location = new System.Drawing.Point(8, 224); this.buttonClear.Name = "buttonClear"; this.buttonClear.Size = new System.Drawing.Size(80, 24); - this.buttonClear.TabIndex = 7; + this.buttonClear.TabIndex = 5; this.buttonClear.Text = "Clear"; this.buttonClear.UseVisualStyleBackColor = true; this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click); @@ -175,7 +176,7 @@ this.buttonLoad.Location = new System.Drawing.Point(264, 224); this.buttonLoad.Name = "buttonLoad"; this.buttonLoad.Size = new System.Drawing.Size(80, 24); - this.buttonLoad.TabIndex = 5; + this.buttonLoad.TabIndex = 7; this.buttonLoad.Text = "Load"; this.buttonLoad.UseVisualStyleBackColor = true; this.buttonLoad.Click += new System.EventHandler(this.buttonLoad_Click); @@ -186,7 +187,7 @@ this.buttonSave.Location = new System.Drawing.Point(352, 224); this.buttonSave.Name = "buttonSave"; this.buttonSave.Size = new System.Drawing.Size(80, 24); - this.buttonSave.TabIndex = 6; + this.buttonSave.TabIndex = 8; this.buttonSave.Text = "Save"; this.buttonSave.UseVisualStyleBackColor = true; this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); @@ -196,7 +197,7 @@ this.labelDevice.Location = new System.Drawing.Point(232, 24); this.labelDevice.Name = "labelDevice"; this.labelDevice.Size = new System.Drawing.Size(72, 20); - this.labelDevice.TabIndex = 4; + this.labelDevice.TabIndex = 2; this.labelDevice.Text = "Receiver:"; // // labelRemote @@ -204,7 +205,7 @@ this.labelRemote.Location = new System.Drawing.Point(8, 24); this.labelRemote.Name = "labelRemote"; this.labelRemote.Size = new System.Drawing.Size(96, 20); - this.labelRemote.TabIndex = 3; + this.labelRemote.TabIndex = 0; this.labelRemote.Text = "Remote name:"; // // comboBoxDevice @@ -213,7 +214,7 @@ this.comboBoxDevice.Location = new System.Drawing.Point(304, 24); this.comboBoxDevice.Name = "comboBoxDevice"; this.comboBoxDevice.Size = new System.Drawing.Size(128, 21); - this.comboBoxDevice.TabIndex = 2; + this.comboBoxDevice.TabIndex = 3; // // textBoxRemoteName // @@ -238,7 +239,7 @@ this.listViewButtonMap.MultiSelect = false; this.listViewButtonMap.Name = "listViewButtonMap"; this.listViewButtonMap.Size = new System.Drawing.Size(424, 168); - this.listViewButtonMap.TabIndex = 0; + this.listViewButtonMap.TabIndex = 4; this.listViewButtonMap.UseCompatibleStateImageBehavior = false; this.listViewButtonMap.View = System.Windows.Forms.View.Details; this.listViewButtonMap.KeyDown += new System.Windows.Forms.KeyEventHandler(this.listViewButtonMap_KeyDown); @@ -253,21 +254,33 @@ this.columnHeaderKeyCode.Text = "KeyCode"; this.columnHeaderKeyCode.Width = 288; // - // checkBox1 + // checkBoxToggle // - this.checkBox1.AutoSize = true; - this.checkBox1.Location = new System.Drawing.Point(136, 224); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(85, 17); - this.checkBox1.TabIndex = 8; - this.checkBox1.Text = "Toggle Keys"; - this.checkBox1.UseVisualStyleBackColor = true; + this.checkBoxToggle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.checkBoxToggle.Location = new System.Drawing.Point(96, 224); + this.checkBoxToggle.Name = "checkBoxToggle"; + this.checkBoxToggle.Size = new System.Drawing.Size(160, 24); + this.checkBoxToggle.TabIndex = 6; + this.checkBoxToggle.Text = "Remote uses Toggle codes"; + this.checkBoxToggle.UseVisualStyleBackColor = true; + this.checkBoxToggle.Visible = false; // + // checkBoxForwardAbstract + // + this.checkBoxForwardAbstract.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.checkBoxForwardAbstract.Location = new System.Drawing.Point(8, 544); + this.checkBoxForwardAbstract.Name = "checkBoxForwardAbstract"; + this.checkBoxForwardAbstract.Size = new System.Drawing.Size(168, 24); + this.checkBoxForwardAbstract.TabIndex = 3; + this.checkBoxForwardAbstract.Text = "Forward abstract buttons"; + this.checkBoxForwardAbstract.UseVisualStyleBackColor = true; + // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(456, 569); + this.Controls.Add(this.checkBoxForwardAbstract); this.Controls.Add(this.groupBoxMapAbstract); this.Controls.Add(this.groupBoxSetup); this.Controls.Add(this.groupBoxStatus); @@ -302,7 +315,8 @@ private System.Windows.Forms.ListView listViewButtonMap; private System.Windows.Forms.ColumnHeader columnHeaderAbstractButton; private System.Windows.Forms.ColumnHeader columnHeaderKeyCode; - private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.CheckBox checkBoxToggle; + private System.Windows.Forms.CheckBox checkBoxForwardAbstract; } } Modified: trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/MainForm.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -23,6 +23,81 @@ public partial class MainForm : Form { + /* + static readonly string[] AbstractButtons = new string[] { + + // Primary buttons ... + "Up", + "Down", + "Left", + "Right", + "OK", + "Volume Up", + "Volume Down", + "Channel Up", + "Channel Down", + "Start", + "Back", + "Info", + "Mute", + "Number 0", + "Number 1", + "Number 2", + "Number 3", + "Number 4", + "Number 5", + "Number 6", + "Number 7", + "Number 8", + "Number 9", + "Play", + "Pause", + "Play / Pause", + "Stop", + "Fast Forward", + "Rewind", + "Record", + "Next Chapter", + "Previous Chapter", + "Power", + + // Secondary buttons ... + "Power 2", + "Power 3", + "Teletext", + "Teletext Red", + "Teletext Green", + "Teletext Yellow", + "Teletext Blue", + "Subtitles", + "Menu", + "Clear", + "Enter", + "#", + "*", + "Task Swap", + "Fullscreen", + "Aspect Ratio", + "Setup", + "Music", + "Pictures", + "Videos", + "DVD", + "TV", + "Guide", + "Live TV", + "Radio", + "Print", + "Snapshot", + "Open", + "Close", + "Eject", + "Scroll Up", + "Scroll Down", + "Page Up", + "Page Down" + };*/ + public enum AbstractButton { Up, @@ -82,6 +157,8 @@ TV, Guide, LiveTV, + Radio, + Print, Snapshot, Open, Close, @@ -109,7 +186,6 @@ delegate void DelegateAddStatusLine(string status); DelegateAddStatusLine _addStatusLine; - void AddStatusLine(string status) { IrssLog.Info(status); @@ -122,7 +198,6 @@ delegate void DelegateSetDevices(string[] devices); DelegateSetDevices _setDevices; - void SetDevices(string[] devices) { comboBoxDevice.Items.Clear(); @@ -231,6 +306,9 @@ _registered = true; _irServerInfo = IRServerInfo.FromBytes(received.GetDataAsBytes()); + _abstractRemoteButtons = new DataSet("AbstractRemoteButtons"); + _abstractRemoteButtons.CaseSensitive = true; + _client.Send(new IrssMessage(MessageType.ActiveReceivers, MessageFlags.Request)); _client.Send(new IrssMessage(MessageType.ActiveBlasters, MessageFlags.Request)); } @@ -312,8 +390,31 @@ // Determine abstract button details ... string abstractButton = LookupAbstractButton(deviceName, keyCode); - string abstractText = String.Format("Abstract Button \"{0}\"", abstractButton); + + bool isAbstract = true; + if (String.IsNullOrEmpty(abstractButton)) + { + isAbstract = false; + abstractButton = String.Format("{0} ({1})", deviceName, keyCode); + } + + string abstractText = String.Format("Button: {0}", abstractButton); this.Invoke(_addStatusLine, abstractText); + + if (checkBoxForwardAbstract.Checked && isAbstract) + { + byte[] deviceNameBytes = Encoding.ASCII.GetBytes("Abstract"); + byte[] keyCodeBytes = Encoding.ASCII.GetBytes(abstractButton); + + byte[] bytes = new byte[8 + deviceNameBytes.Length + keyCodeBytes.Length]; + + BitConverter.GetBytes(deviceNameBytes.Length).CopyTo(bytes, 0); + deviceNameBytes.CopyTo(bytes, 4); + BitConverter.GetBytes(keyCodeBytes.Length).CopyTo(bytes, 4 + deviceNameBytes.Length); + keyCodeBytes.CopyTo(bytes, 8 + deviceNameBytes.Length); + + _client.Send(new IrssMessage(MessageType.ForwardRemoteEvent, MessageFlags.Request, bytes)); + } } void CommsFailure(object obj) @@ -374,9 +475,6 @@ private void buttonConnect_Click(object sender, EventArgs e) { - _abstractRemoteButtons = new DataSet("AbstractRemoteButtons"); - _abstractRemoteButtons.CaseSensitive = true; - try { AddStatusLine("Connect"); @@ -402,8 +500,6 @@ } private void buttonDisconnect_Click(object sender, EventArgs e) { - _abstractRemoteButtons = null; - AddStatusLine("Disconnect"); try @@ -443,12 +539,18 @@ { string button = rows[0]["AbstractButton"].ToString() as string; if (!String.IsNullOrEmpty(button)) - return button + " on " + table.ExtendedProperties["Remote"] as string + " through " + deviceName; + { +#if TRACE + Trace.WriteLine(button + ", remote: " + table.ExtendedProperties["Remote"] as string + ", device: " + deviceName); +#endif + return button; + } } } } - return String.Format("{0} ({1})", deviceName, keyCode); + return null; + //return String.Format("{0} ({1})", deviceName, keyCode); } @@ -462,6 +564,14 @@ string remote = Path.GetFileNameWithoutExtension(file); this.Invoke(_addStatusLine, String.Format("Loading {0} remote map \"{1}\"", device, remote)); + string tableName = String.Format("{0}:{1}", device, remote); + + if (_abstractRemoteButtons.Tables.Contains(tableName)) + { + this.Invoke(_addStatusLine, "Table already loaded"); + continue; + } + DataTable table = _abstractRemoteButtons.Tables.Add("RemoteTable"); table.ReadXmlSchema("RemoteTable.xsd"); table.ReadXml(file); @@ -470,7 +580,7 @@ table.ExtendedProperties.Add("Device", device); table.ExtendedProperties.Add("Remote", remote); - table.TableName = String.Format("{0}:{1}", device, remote); + table.TableName = tableName; } } } @@ -496,11 +606,7 @@ listViewButtonMap.Items.Clear(); foreach (string abstractButton in abstractButtons) listViewButtonMap.Items.Add(new ListViewItem(new string[] { abstractButton, String.Empty })); - - listViewButtonMap.Sort(); } - - void SaveMap() { if (String.IsNullOrEmpty(textBoxRemoteName.Text)) @@ -519,27 +625,7 @@ DataTable table = new DataTable("RemoteTable"); table.ReadXmlSchema("RemoteTable.xsd"); - - /* - DataColumn column; - column = new DataColumn("RawCode", typeof(string)); - column.Caption = "Raw Code"; - column.ColumnMapping = MappingType.Attribute; - column.DefaultValue = String.Empty; - column.ReadOnly = false; - column.Unique = true; - table.Columns.Add(column); - - column = new DataColumn("AbstractButton", typeof(string)); - column.Caption = "Abstract Button"; - column.ColumnMapping = MappingType.Attribute; - column.DefaultValue = String.Empty; - column.ReadOnly = false; - column.Unique = false; - table.Columns.Add(column); - */ - foreach (ListViewItem item in listViewButtonMap.Items) { if (!String.IsNullOrEmpty(item.SubItems[1].Text)) @@ -548,7 +634,6 @@ table.WriteXml(path); } - void LoadMap() { if (String.IsNullOrEmpty(textBoxRemoteName.Text)) @@ -591,8 +676,6 @@ ListViewItem item = new ListViewItem(subitems); listViewButtonMap.Items.Add(item); } - - listViewButtonMap.Sort(); } private void listViewButtonMap_KeyDown(object sender, KeyEventArgs e) Added: trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionHDTV.xml =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionHDTV.xml (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionHDTV.xml 2008-02-28 16:46:28 UTC (rev 1407) @@ -0,0 +1,39 @@ +<?xml version="1.0" standalone="yes"?> +<DocumentElement> + <RemoteTable RawCode="00F90000" AbstractButton="Up" /> + <RemoteTable RawCode="01F90000" AbstractButton="Down" /> + <RemoteTable RawCode="03F90000" AbstractButton="Left" /> + <RemoteTable RawCode="02F90000" AbstractButton="Right" /> + <RemoteTable RawCode="1FF90000" AbstractButton="OK" /> + <RemoteTable RawCode="0DF90000" AbstractButton="Mute" /> + <RemoteTable RawCode="10F90000" AbstractButton="Number0" /> + <RemoteTable RawCode="11F90000" AbstractButton="Number1" /> + <RemoteTable RawCode="12F90000" AbstractButton="Number2" /> + <RemoteTable RawCode="13F90000" AbstractButton="Number3" /> + <RemoteTable RawCode="14F90000" AbstractButton="Number4" /> + <RemoteTable RawCode="15F90000" AbstractButton="Number5" /> + <RemoteTable RawCode="16F90000" AbstractButton="Number6" /> + <RemoteTable RawCode="17F90000" AbstractButton="Number7" /> + <RemoteTable RawCode="18F90000" AbstractButton="Number8" /> + <RemoteTable RawCode="19F90000" AbstractButton="Number9" /> + <RemoteTable RawCode="1EF90000" AbstractButton="Stop" /> + <RemoteTable RawCode="1DF90000" AbstractButton="FastForward" /> + <RemoteTable RawCode="1CF90000" AbstractButton="Rewind" /> + <RemoteTable RawCode="1BF90000" AbstractButton="Record" /> + <RemoteTable RawCode="0AF90000" AbstractButton="Power" /> + <RemoteTable RawCode="0CF90000" AbstractButton="Power2" /> + <RemoteTable RawCode="05F90000" AbstractButton="TeletextRed" /> + <RemoteTable RawCode="09F90000" AbstractButton="TeletextGreen" /> + <RemoteTable RawCode="42F90000" AbstractButton="TeletextYellow" /> + <RemoteTable RawCode="43F90000" AbstractButton="TeletextBlue" /> + <RemoteTable RawCode="08F90000" AbstractButton="Menu" /> + <RemoteTable RawCode="0EF90000" AbstractButton="TaskSwap" /> + <RemoteTable RawCode="04F90000" AbstractButton="Fullscreen" /> + <RemoteTable RawCode="07F90000" AbstractButton="AspectRatio" /> + <RemoteTable RawCode="41F90000" AbstractButton="Videos" /> + <RemoteTable RawCode="06F90000" AbstractButton="TV" /> + <RemoteTable RawCode="0BF90000" AbstractButton="Guide" /> + <RemoteTable RawCode="0FF90000" AbstractButton="LiveTV" /> + <RemoteTable RawCode="1AF90000" AbstractButton="Snapshot" /> + <RemoteTable RawCode="40F90000" AbstractButton="Open" /> +</DocumentElement> \ No newline at end of file Added: trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionREMOTE.xml =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionREMOTE.xml (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/FusionREMOTE/FusionREMOTE.xml 2008-02-28 16:46:28 UTC (rev 1407) @@ -0,0 +1,48 @@ +<?xml version="1.0" standalone="yes"?> +<DocumentElement> + <RemoteTable RawCode="51FE0100" AbstractButton="Up" /> + <RemoteTable RawCode="53FE0100" AbstractButton="Down" /> + <RemoteTable RawCode="5BFE0100" AbstractButton="Left" /> + <RemoteTable RawCode="5FFE0100" AbstractButton="Right" /> + <RemoteTable RawCode="5EFE0100" AbstractButton="OK" /> + <RemoteTable RawCode="15FE0100" AbstractButton="VolumeUp" /> + <RemoteTable RawCode="05FE0100" AbstractButton="VolumeDown" /> + <RemoteTable RawCode="11FE0100" AbstractButton="ChannelUp" /> + <RemoteTable RawCode="09FE0100" AbstractButton="ChannelDown" /> + <RemoteTable RawCode="42FE0100" AbstractButton="Start" /> + <RemoteTable RawCode="49FE0100" AbstractButton="Back" /> + <RemoteTable RawCode="59FE0100" AbstractButton="Info" /> + <RemoteTable RawCode="57FE0100" AbstractButton="Mute" /> + <RemoteTable RawCode="03FE0100" AbstractButton="Number0" /> + <RemoteTable RawCode="0BFE0100" AbstractButton="Number1" /> + <RemoteTable RawCode="17FE0100" AbstractButton="Number2" /> + <RemoteTable RawCode="1BFE0100" AbstractButton="Number3" /> + <RemoteTable RawCode="07FE0100" AbstractButton="Number4" /> + <RemoteTable RawCode="50FE0100" AbstractButton="Number5" /> + <RemoteTable RawCode="54FE0100" AbstractButton="Number6" /> + <RemoteTable RawCode="48FE0100" AbstractButton="Number7" /> + <RemoteTable RawCode="4CFE0100" AbstractButton="Number8" /> + <RemoteTable RawCode="58FE0100" AbstractButton="Number9" /> + <RemoteTable RawCode="47FE0100" AbstractButton="PlayPause" /> + <RemoteTable RawCode="0DFE0100" AbstractButton="Stop" /> + <RemoteTable RawCode="4FFE0100" AbstractButton="FastForward" /> + <RemoteTable RawCode="43FE0100" AbstractButton="Rewind" /> + <RemoteTable RawCode="01FE0100" AbstractButton="Record" /> + <RemoteTable RawCode="12FE0100" AbstractButton="NextChapter" /> + <RemoteTable RawCode="0FFE0100" AbstractButton="PreviousChapter" /> + <RemoteTable RawCode="46FE0100" AbstractButton="Power" /> + <RemoteTable RawCode="4EFE0100" AbstractButton="Power2" /> + <RemoteTable RawCode="4DFE0100" AbstractButton="Menu" /> + <RemoteTable RawCode="55FE0100" AbstractButton="TaskSwap" /> + <RemoteTable RawCode="1FFE0100" AbstractButton="Fullscreen" /> + <RemoteTable RawCode="13FE0100" AbstractButton="AspectRatio" /> + <RemoteTable RawCode="16FE0100" AbstractButton="Setup" /> + <RemoteTable RawCode="0EFE0100" AbstractButton="Music" /> + <RemoteTable RawCode="1EFE0100" AbstractButton="Pictures" /> + <RemoteTable RawCode="1AFE0100" AbstractButton="DVD" /> + <RemoteTable RawCode="02FE0100" AbstractButton="TV" /> + <RemoteTable RawCode="0AFE0100" AbstractButton="Guide" /> + <RemoteTable RawCode="5AFE0100" AbstractButton="LiveTV" /> + <RemoteTable RawCode="52FE0100" AbstractButton="Snapshot" /> + <RemoteTable RawCode="19FE0100" AbstractButton="Open" /> +</DocumentElement> \ No newline at end of file Added: trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/IgorPlug/Microsoft MCE.xml =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/IgorPlug/Microsoft MCE.xml (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/IgorPlug/Microsoft MCE.xml 2008-02-28 16:46:28 UTC (rev 1407) @@ -0,0 +1,55 @@ +<?xml version="1.0" standalone="yes"?> +<DocumentElement> + <RemoteTable RawCode="31642" AbstractButton="Power" /> + <RemoteTable RawCode="31649" AbstractButton="Teletext_Blue" /> + <RemoteTable RawCode="31650" AbstractButton="Teletext_Yellow" /> + <RemoteTable RawCode="31651" AbstractButton="Teletext_Green" /> + <RemoteTable RawCode="31652" AbstractButton="Teletext_Red" /> + <RemoteTable RawCode="31653" AbstractButton="Teletext" /> + <RemoteTable RawCode="31663" AbstractButton="Radio" /> + <RemoteTable RawCode="31665" AbstractButton="Print" /> + <RemoteTable RawCode="31669" AbstractButton="Videos" /> + <RemoteTable RawCode="31670" AbstractButton="Pictures" /> + <RemoteTable RawCode="31671" AbstractButton="Recorded_TV" /> + <RemoteTable RawCode="31672" AbstractButton="Music" /> + <RemoteTable RawCode="31673" AbstractButton="TV" /> + <RemoteTable RawCode="31705" AbstractButton="Guide" /> + <RemoteTable RawCode="31706" AbstractButton="Live_TV" /> + <RemoteTable RawCode="31707" AbstractButton="DVD_Menu" /> + <RemoteTable RawCode="31708" AbstractButton="Back" /> + <RemoteTable RawCode="31709" AbstractButton="OK" /> + <RemoteTable RawCode="31710" AbstractButton="Right" /> + <RemoteTable RawCode="31711" AbstractButton="Left" /> + <RemoteTable RawCode="31712" AbstractButton="Down" /> + <RemoteTable RawCode="31713" AbstractButton="Up" /> + <RemoteTable RawCode="31714" AbstractButton="Star" /> + <RemoteTable RawCode="31715" AbstractButton="Hash" /> + <RemoteTable RawCode="31716" AbstractButton="Replay" /> + <RemoteTable RawCode="31717" AbstractButton="Skip" /> + <RemoteTable RawCode="31718" AbstractButton="Stop" /> + <RemoteTable RawCode="31719" AbstractButton="Pause" /> + <RemoteTable RawCode="31720" AbstractButton="Record" /> + <RemoteTable RawCode="31721" AbstractButton="Play" /> + <RemoteTable RawCode="31722" AbstractButton="Rewind" /> + <RemoteTable RawCode="31723" AbstractButton="Forward" /> + <RemoteTable RawCode="31724" AbstractButton="Channel_Down" /> + <RemoteTable RawCode="31725" AbstractButton="Channel_Up" /> + <RemoteTable RawCode="31726" AbstractButton="Volume_Down" /> + <RemoteTable RawCode="31727" AbstractButton="Volume_Up" /> + <RemoteTable RawCode="31728" AbstractButton="Info" /> + <RemoteTable RawCode="31729" AbstractButton="Mute" /> + <RemoteTable RawCode="31730" AbstractButton="Start" /> + <RemoteTable RawCode="31731" AbstractButton="Power_2" /> + <RemoteTable RawCode="31732" AbstractButton="Enter" /> + <RemoteTable RawCode="31733" AbstractButton="Escape" /> + <RemoteTable RawCode="31734" AbstractButton="Number_9" /> + <RemoteTable RawCode="31735" AbstractButton="Number_8" /> + <RemoteTable RawCode="31736" AbstractButton="Number_7" /> + <RemoteTable RawCode="31737" AbstractButton="Number_6" /> + <RemoteTable RawCode="31738" AbstractButton="Number_5" /> + <RemoteTable RawCode="31739" AbstractButton="Number_4" /> + <RemoteTable RawCode="31740" AbstractButton="Number_3" /> + <RemoteTable RawCode="31741" AbstractButton="Number_2" /> + <RemoteTable RawCode="31742" AbstractButton="Number_1" /> + <RemoteTable RawCode="31743" AbstractButton="Number_0" /> +</DocumentElement> \ No newline at end of file Added: trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Microsoft MCE/Microsoft MCE.xml =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Microsoft MCE/Microsoft MCE.xml (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Microsoft MCE/Microsoft MCE.xml 2008-02-28 16:46:28 UTC (rev 1407) @@ -0,0 +1,54 @@ +<?xml version="1.0" standalone="yes"?> +<DocumentElement> + <RemoteTable RawCode="31713" AbstractButton="Up" /> + <RemoteTable RawCode="31712" AbstractButton="Down" /> + <RemoteTable RawCode="31711" AbstractButton="Left" /> + <RemoteTable RawCode="31710" AbstractButton="Right" /> + <RemoteTable RawCode="31709" AbstractButton="OK" /> + <RemoteTable RawCode="31727" AbstractButton="VolumeUp" /> + <RemoteTable RawCode="31726" AbstractButton="VolumeDown" /> + <RemoteTable RawCode="31725" AbstractButton="ChannelUp" /> + <RemoteTable RawCode="31724" AbstractButton="ChannelDown" /> + <RemoteTable RawCode="31730" AbstractButton="Start" /> + <RemoteTable RawCode="31708" AbstractButton="Back" /> + <RemoteTable RawCode="31728" AbstractButton="Info" /> + <RemoteTable RawCode="31729" AbstractButton="Mute" /> + <RemoteTable RawCode="31743" AbstractButton="Number0" /> + <RemoteTable RawCode="31742" AbstractButton="Number1" /> + <RemoteTable RawCode="31741" AbstractButton="Number2" /> + <RemoteTable RawCode="31740" AbstractButton="Number3" /> + <RemoteTable RawCode="31739" AbstractButton="Number4" /> + <RemoteTable RawCode="31738" AbstractButton="Number5" /> + <RemoteTable RawCode="31737" AbstractButton="Number6" /> + <RemoteTable RawCode="31736" AbstractButton="Number7" /> + <RemoteTable RawCode="31735" AbstractButton="Number8" /> + <RemoteTable RawCode="31734" AbstractButton="Number9" /> + <RemoteTable RawCode="31721" AbstractButton="Play" /> + <RemoteTable RawCode="31719" AbstractButton="Pause" /> + <RemoteTable RawCode="31718" AbstractButton="Stop" /> + <RemoteTable RawCode="31723" AbstractButton="FastForward" /> + <RemoteTable RawCode="31722" AbstractButton="Rewind" /> + <RemoteTable RawCode="31720" AbstractButton="Record" /> + <RemoteTable RawCode="31717" AbstractButton="NextChapter" /> + <RemoteTable RawCode="31716" AbstractButton="PreviousChapter" /> + <RemoteTable RawCode="31642" AbstractButton="Power" /> + <RemoteTable RawCode="31731" AbstractButton="Power2" /> + <RemoteTable RawCode="31653" AbstractButton="Teletext" /> + <RemoteTable RawCode="31652" AbstractButton="TeletextRed" /> + <RemoteTable RawCode="31651" AbstractButton="TeletextGreen" /> + <RemoteTable RawCode="31650" AbstractButton="TeletextYellow" /> + <RemoteTable RawCode="31649" AbstractButton="TeletextBlue" /> + <RemoteTable RawCode="31733" AbstractButton="Clear" /> + <RemoteTable RawCode="31732" AbstractButton="Enter" /> + <RemoteTable RawCode="31715" AbstractButton="Hash" /> + <RemoteTable RawCode="31714" AbstractButton="Star" /> + <RemoteTable RawCode="31672" AbstractButton="Music" /> + <RemoteTable RawCode="31670" AbstractButton="Pictures" /> + <RemoteTable RawCode="31669" AbstractButton="Videos" /> + <RemoteTable RawCode="31707" AbstractButton="DVD" /> + <RemoteTable RawCode="31673" AbstractButton="TV" /> + <RemoteTable RawCode="31705" AbstractButton="Guide" /> + <RemoteTable RawCode="31706" AbstractButton="LiveTV" /> + <RemoteTable RawCode="31663" AbstractButton="Radio" /> + <RemoteTable RawCode="31665" AbstractButton="Print" /> +</DocumentElement> \ No newline at end of file Added: trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/USB-UIRT/Microsoft MCE.xml =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/USB-UIRT/Microsoft MCE.xml (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/USB-UIRT/Microsoft MCE.xml 2008-02-28 16:46:28 UTC (rev 1407) @@ -0,0 +1,95 @@ +<?xml version="1.0" standalone="yes"?> +<DocumentElement> + <RemoteTable RawCode="432689F040F1" AbstractButton="Up" /> + <RemoteTable RawCode="432688F050F1" AbstractButton="Up" /> + <RemoteTable RawCode="432489F040F1" AbstractButton="Down" /> + <RemoteTable RawCode="432488F050F1" AbstractButton="Down" /> + <RemoteTable RawCode="432451F040F1" AbstractButton="Left" /> + <RemoteTable RawCode="432450F050F1" AbstractButton="Left" /> + <RemoteTable RawCode="412F51F040F1" AbstractButton="Right" /> + <RemoteTable RawCode="412F50F050F1" AbstractButton="Right" /> + <RemoteTable RawCode="412F52F040F1" AbstractButton="OK" /> + <RemoteTable RawCode="412F53F050F1" AbstractButton="OK" /> + <RemoteTable RawCode="43249DF040F1" AbstractButton="VolumeUp" /> + <RemoteTable RawCode="43249CF050F1" AbstractButton="VolumeUp" /> + <RemoteTable RawCode="412F9DF040F1" AbstractButton="VolumeDown" /> + <RemoteTable RawCode="412F9CF050F1" AbstractButton="VolumeDown" /> + <RemoteTable RawCode="412F9EF040F1" AbstractButton="ChannelUp" /> + <RemoteTable RawCode="412F9FF050F1" AbstractButton="ChannelUp" /> + <RemoteTable RawCode="412F9FF040F1" AbstractButton="ChannelDown" /> + <RemoteTable RawCode="412F9EF050F1" AbstractButton="ChannelDown" /> + <RemoteTable RawCode="412FAAF040F1" AbstractButton="Start" /> + <RemoteTable RawCode="412FABF050F1" AbstractButton="Start" /> + <RemoteTable RawCode="412F53F040F1" AbstractButton="Back" /> + <RemoteTable RawCode="412F52F050F1" AbstractButton="Back" /> + <RemoteTable RawCode="4324ABF040F1" AbstractButton="Info" /> + <RemoteTable RawCode="4324AAF050F1" AbstractButton="Info" /> + <RemoteTable RawCode="4326ABF040F1" AbstractButton="Mute" /> + <RemoteTable RawCode="4326AAF050F1" AbstractButton="Mute" /> + <RemoteTable RawCode="450CA1F040F1" AbstractButton="Number0" /> + <RemoteTable RawCode="450CA0F050F1" AbstractButton="Number0" /> + <RemoteTable RawCode="4325A1F040F1" AbstractButton="Number1" /> + <RemoteTable RawCode="4325A0F050F1" AbstractButton="Number1" /> + <RemoteTable RawCode="4323A1F040F1" AbstractButton="Number2" /> + <RemoteTable RawCode="4323A0F050F1" AbstractButton="Number2" /> + <RemoteTable RawCode="4321A1F040F1" AbstractButton="Number3" /> + <RemoteTable RawCode="4321A0F050F1" AbstractButton="Number3" /> + <RemoteTable RawCode="4322A2F040F1" AbstractButton="Number4" /> + <RemoteTable RawCode="4322A3F050F1" AbstractButton="Number4" /> + <RemoteTable RawCode="412EA2F040F1" AbstractButton="Number5" /> + <RemoteTable RawCode="412EA3F050F1" AbstractButton="Number5" /> + <RemoteTable RawCode="4322A3F040F1" AbstractButton="Number6" /> + <RemoteTable RawCode="4322A2F050F1" AbstractButton="Number6" /> + <RemoteTable RawCode="4320A3F040F1" AbstractButton="Number7" /> + <RemoteTable RawCode="4320A2F050F1" AbstractButton="Number7" /> + <RemoteTable RawCode="4324AEF040F1" AbstractButton="Number8" /> + <RemoteTable RawCode="4324AFF050F1" AbstractButton="Number8" /> + <RemoteTable RawCode="412FAEF040F1" AbstractButton="Number9" /> + <RemoteTable RawCode="412FAFF050F1" AbstractButton="Number9" /> + <RemoteTable RawCode="412E96F040F1" AbstractButton="Play" /> + <RemoteTable RawCode="412E97F050F1" AbstractButton="Play" /> + <RemoteTable RawCode="43248CF040F1" AbstractButton="Pause" /> + <RemoteTable RawCode="43248DF050F1" AbstractButton="Pause" /> + <RemoteTable RawCode="412F8CF040F1" AbstractButton="Stop" /> + <RemoteTable RawCode="412F8DF050F1" AbstractButton="Stop" /> + <RemoteTable RawCode="412E92F040F1" AbstractButton="FastForward" /> + <RemoteTable RawCode="412E93F050F1" AbstractButton="FastForward" /> + <RemoteTable RawCode="3F2C39F040F1" AbstractButton="Rewind" /> + <RemoteTable RawCode="3F2C38F050F1" AbstractButton="Rewind" /> + <RemoteTable RawCode="412E97F040F1" AbstractButton="Record" /> + <RemoteTable RawCode="412E96F050F1" AbstractButton="Record" /> + <RemoteTable RawCode="412F8FF040F1" AbstractButton="NextChapter" /> + <RemoteTable RawCode="412F8EF050F1" AbstractButton="NextChapter" /> + <RemoteTable RawCode="412F8EF040F1" AbstractButton="PreviousChapter" /> + <RemoteTable RawCode="412F8FF050F1" AbstractButton="PreviousChapter" /> + <RemoteTable RawCode="3F2C4FF240F1" AbstractButton="Power" /> + <RemoteTable RawCode="3F2C4EF250F1" AbstractButton="Power" /> + <RemoteTable RawCode="4326AAF040F1" AbstractButton="Power2" /> + <RemoteTable RawCode="4326ABF050F1" AbstractButton="Power2" /> + <RemoteTable RawCode="3F2C1CF340F1" AbstractButton="Teletext" /> + <RemoteTable RawCode="3F2C1DF350F1" AbstractButton="Teletext" /> + <RemoteTable RawCode="3F2C1EF340F1" AbstractButton="TeletextRed" /> + <RemoteTable RawCode="3F2C1FF350F1" AbstractButton="TeletextRed" /> + <RemoteTable RawCode="412EC4F340F1" AbstractButton="TeletextGreen" /> + <RemoteTable RawCode="412EC5F350F1" AbstractButton="TeletextGreen" /> + <RemoteTable RawCode="3F2C12F340F1" AbstractButton="TeletextYellow" /> + <RemoteTable RawCode="3F2C13F350F1" AbstractButton="TeletextYellow" /> + <RemoteTable RawCode="412EC0F340F1" AbstractButton="TeletextBlue" /> + <RemoteTable RawCode="412EC1F350F1" AbstractButton="TeletextBlue" /> + <RemoteTable RawCode="412FADF040F1" AbstractButton="Clear" /> + <RemoteTable RawCode="412FACF050F1" AbstractButton="Clear" /> + <RemoteTable RawCode="412FACF040F1" AbstractButton="Enter" /> + <RemoteTable RawCode="412FADF050F1" AbstractButton="Enter" /> + <RemoteTable RawCode="432688F040F1" AbstractButton="Hash" /> + <RemoteTable RawCode="432689F050F1" AbstractButton="Hash" /> + <RemoteTable RawCode="412F88F040F1" AbstractButton="Star" /> + <RemoteTable RawCode="412F89F050F1" AbstractButton="Star" /> + <RemoteTable RawCode="412E5EF040F1" AbstractButton="DVD" /> + <RemoteTable RawCode="412E5FF050F1" AbstractButton="DVD" /> + <RemoteTable RawCode="412E5DF340F1" AbstractButton="TV" /> + <RemoteTable RawCode="412E5CF350F1" AbstractButton="TV" /> + <RemoteTable RawCode="412E5AF040F1" AbstractButton="Guide" /> + <RemoteTable RawCode="412E5BF050F1" AbstractButton="Guide" /> + <RemoteTable RawCode="3F2C5FF040F1" AbstractButton="LiveTV" /> + <RemoteTable RawCode="3F2C5EF050F1" AbstractButton="LiveTV" /> +</DocumentElement> \ No newline at end of file Added: trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Windows Messages/Virtual Remote.xml =================================================================== --- trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Windows Messages/Virtual Remote.xml (rev 0) +++ trunk/plugins/IR Server Suite/Applications/Abstractor/Remote Maps/Windows Messages/Virtual Remote.xml 2008-02-28 16:46:28 UTC (rev 1407) @@ -0,0 +1,56 @@ +<?xml version="1.0" standalone="yes"?> +<DocumentElement> + <RemoteTable RawCode="101" AbstractButton="Power" /> + <RemoteTable RawCode="94" AbstractButton="TeletextBlue" /> + <RemoteTable RawCode="93" AbstractButton="TeletextYellow" /> + <RemoteTable RawCode="92" AbstractButton="TeletextGreen" /> + <RemoteTable RawCode="91" AbstractButton="TeletextRed" /> + <RemoteTable RawCode="90" AbstractButton="Teletext" /> + <RemoteTable RawCode="80" AbstractButton="Radio" /> + <RemoteTable RawCode="78" AbstractButton="Print" /> + <RemoteTable RawCode="74" AbstractButton="Videos" /> + <RemoteTable RawCode="73" AbstractButton="Pictures" /> + <RemoteTable RawCode="72" AbstractButton="RecordedTV" /> + <RemoteTable RawCode="71" AbstractButton="Music" /> + <RemoteTable RawCode="70" AbstractButton="TV" /> + <RemoteTable RawCode="39" AbstractButton="AspectRatio" /> + <RemoteTable RawCode="38" AbstractButton="Guide" /> + <RemoteTable RawCode="37" AbstractButton="LiveTV" /> + <RemoteTable RawCode="36" AbstractButton="DVDMenu" /> + <RemoteTable RawCode="35" AbstractButton="Back" /> + <RemoteTable RawCode="34" AbstractButton="OK" /> + <RemoteTable RawCode="33" AbstractButton="Right" /> + <RemoteTable RawCode="32" AbstractButton="Left" /> + <RemoteTable RawCode="31" AbstractButton="Down" /> + <RemoteTable RawCode="30" AbstractButton="Up" /> + <RemoteTable RawCode="29" AbstractButton="Star" /> + <RemoteTable RawCode="28" AbstractButton="Hash" /> + <RemoteTable RawCode="27" AbstractButton="PreviousChapter" /> + <RemoteTable RawCode="26" AbstractButton="NextChapter" /> + <RemoteTable RawCode="25" AbstractButton="Stop" /> + <RemoteTable RawCode="24" AbstractButton="Pause" /> + <RemoteTable RawCode="23" AbstractButton="Record" /> + <RemoteTable RawCode="22" AbstractButton="Play" /> + <RemoteTable RawCode="21" AbstractButton="Rewind" /> + <RemoteTable RawCode="20" AbstractButton="Forward" /> + <RemoteTable RawCode="19" AbstractButton="ChannelDown" /> + <RemoteTable RawCode="18" AbstractButton="ChannelUp" /> + <RemoteTable RawCode="17" AbstractButton="VolumeDown" /> + <RemoteTable RawCode="16" AbstractButton="VolumeUp" /> + <RemoteTable RawCode="15" AbstractButton="Info" /> + <RemoteTable RawCode="14" AbstractButton="Mute" /> + <RemoteTable RawCode="13" AbstractButton="Start" /> + <RemoteTable RawCode="12" AbstractButton="Power2" /> + <RemoteTable RawCode="11" AbstractButton="Enter" /> + <RemoteTable RawCode="10" AbstractButton="Clear" /> + <RemoteTable RawCode="9" AbstractButton="Number9" /> + <RemoteTable RawCode="8" AbstractButton="Number8" /> + <RemoteTable RawCode="7" AbstractButton="Number7" /> + <RemoteTable RawCode="6" AbstractButton="Number6" /> + <RemoteTable RawCode="5" AbstractButton="Number5" /> + <RemoteTable RawCode="4" AbstractButton="Number4" /> + <RemoteTable RawCode="3" AbstractButton="Number3" /> + <RemoteTable RawCode="2" AbstractButton="Number2" /> + <RemoteTable RawCode="1" AbstractButton="Number1" /> + <RemoteTable RawCode="0" AbstractButton="Number0" /> +</DocumentElement> \ No newline at end of file Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/GetKeyCodeForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/GetKeyCodeForm.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/GetKeyCodeForm.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -68,6 +68,13 @@ string keyCode = Encoding.ASCII.GetString(data, 8 + deviceNameSize, keyCodeSize); _keyCode = keyCode; + /* + if (!deviceName.Equals("Abstract", StringComparison.OrdinalIgnoreCase)) + { + _keyCode = String.Format("{0} ({1})", deviceName, keyCode); + // TODO: REMOVE! + return; + }*/ this.Invoke(_keyCodeSet); } Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.Designer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.Designer.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.Designer.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -305,6 +305,8 @@ // // panelPrograms // + this.panelPrograms.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.panelPrograms.BackColor = System.Drawing.SystemColors.Window; this.panelPrograms.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panelPrograms.Controls.Add(this.listViewPrograms); Modified: trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Translator/Forms/MainForm.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -504,16 +504,9 @@ if (map == null) { string description = String.Empty; - try - { - MceButton temp = (MceButton)Enum.Parse(typeof(MceButton), keyCode, true); - description = Enum.GetName(typeof(MceButton), temp); - } - catch - { - // keyCode did not fall within MceButton enum - } + // TODO: Get description from Abstract Remote Model ... + map = new ButtonMappingForm(keyCode, description, String.Empty); } Modified: trunk/plugins/IR Server Suite/Applications/Translator/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Translator/Program.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Translator/Program.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -809,15 +809,22 @@ if (_inConfiguration) return; + // Ability to handle Abstract and Complex remote buttons ... + string button = keyCode; + + // TODO: Include abstract button support ... + //if (!deviceName.Equals("Abstract", StringComparison.OrdinalIgnoreCase)) + // button = String.Format("{0} ({1})", deviceName, keyCode); + ProgramSettings active = ActiveProgram(); if (active == null) { // Try system wide button mappings ... foreach (ButtonMapping buttonMap in _config.SystemWideMappings) { - if (buttonMap.KeyCode.Equals(keyCode, StringComparison.Ordinal)) + if (buttonMap.KeyCode.Equals(button, StringComparison.Ordinal)) { - IrssLog.Debug("KeyCode {0} mapped in System Wide mappings", keyCode); + IrssLog.Debug("KeyCode {0} mapped in System Wide mappings", button); try { ProcessCommand(buttonMap.Command, true); @@ -832,9 +839,9 @@ // Try active program button mappings ... foreach (ButtonMapping buttonMap in active.ButtonMappings) { - if (buttonMap.KeyCode.Equals(keyCode, StringComparison.Ordinal)) + if (buttonMap.KeyCode.Equals(button, StringComparison.Ordinal)) { - IrssLog.Debug("KeyCode {0} mapped in \"{1}\" mappings", keyCode, active.Name); + IrssLog.Debug("KeyCode {0} mapped in \"{1}\" mappings", button, active.Name); try { ProcessCommand(buttonMap.Command, true); @@ -849,9 +856,9 @@ // Try system wide button mappings ... foreach (ButtonMapping buttonMap in _config.SystemWideMappings) { - if (buttonMap.KeyCode.Equals(keyCode, StringComparison.Ordinal)) + if (buttonMap.KeyCode.Equals(button, StringComparison.Ordinal)) { - IrssLog.Debug("KeyCode {0} mapped in System Wide mappings", keyCode); + IrssLog.Debug("KeyCode {0} mapped in System Wide mappings", button); try { ProcessCommand(buttonMap.Command, true); @@ -863,7 +870,7 @@ } } - IrssLog.Debug("No mapping found for KeyCode = {0}", keyCode); + IrssLog.Debug("No mapping found for KeyCode = {0}", button); } static void KeyboardHandlerCallback(string deviceName, int vKey, bool keyUp) { Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote/MainForm.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -151,6 +151,7 @@ throw new FileNotFoundException("Skin file not found", xmlFile); } + Program.Device = Path.GetFileNameWithoutExtension(xmlFile); LoadSkinXml(xmlFile); this.BackgroundImage = new Bitmap(skinFile); Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote/Program.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -42,6 +42,8 @@ static string _remoteSkin; + static string _device; + static RemoteButton[] _buttons; #endregion Variables @@ -76,6 +78,12 @@ set { _buttons = value; } } + internal static string Device + { + get { return _device; } + set { _device = value; } + } + #endregion Properties /// <summary> @@ -355,7 +363,17 @@ if (!_registered) return; - IrssMessage message = new IrssMessage(MessageType.ForwardRemoteEvent, MessageFlags.Notify, keyCode); + byte[] deviceNameBytes = Encoding.ASCII.GetBytes(_device); + byte[] keyCodeBytes = Encoding.ASCII.GetBytes(keyCode); + + byte[] bytes = new byte[8 + deviceNameBytes.Length + keyCodeBytes.Length]; + + BitConverter.GetBytes(deviceNameBytes.Length).CopyTo(bytes, 0); + deviceNameBytes.CopyTo(bytes, 4); + BitConverter.GetBytes(keyCodeBytes.Length).CopyTo(bytes, 4 + deviceNameBytes.Length); + keyCodeBytes.CopyTo(bytes, 8 + deviceNameBytes.Length); + + IrssMessage message = new IrssMessage(MessageType.ForwardRemoteEvent, MessageFlags.Notify, bytes); SendMessage(message); } Modified: trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Virtual Remote Skin Editor/MainForm.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -595,7 +595,7 @@ int keyCodeSize = BitConverter.ToInt32(data, 4 + deviceNameSize); string keyCode = Encoding.ASCII.GetString(data, 8 + deviceNameSize, keyCodeSize); - listViewButtons.SelectedItems[0].SubItems[1].Text = String.Format("{0} ({1})", deviceName, keyCode); + listViewButtons.SelectedItems[0].SubItems[1].Text = keyCode; } return; Modified: trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Applications/Web Remote/Program.cs 2008-02-28 16:46:28 UTC (rev 1407) @@ -52,6 +52,8 @@ static string _installFolder; static string _remoteSkin; + static string _device; + static RemoteButton[] _buttons; static WebServer _webServer; @@ -266,7 +268,17 @@ if (!_registered) return; - IrssMessage message = new IrssMessage(MessageType.ForwardRemoteEvent, MessageFlags.Notify, keyCode); + byte[] deviceNameBytes = Encoding.ASCII.GetBytes(_device); + byte[] keyCodeBytes = Encoding.ASCII.GetBytes(keyCode); + + byte[] bytes = new byte[8 + deviceNameBytes.Length + keyCodeBytes.Length]; + + BitConverter.GetBytes(deviceNameBytes.Length).CopyTo(bytes, 0); + deviceNameBytes.CopyTo(bytes, 4); + BitConverter.GetBytes(keyCodeBytes.Length).CopyTo(bytes, 4 + deviceNameBytes.Length); + keyCodeBytes.CopyTo(bytes, 8 + deviceNameBytes.Length); + + IrssMessage message = new IrssMessage(MessageType.ForwardRemoteEvent, MessageFlags.Notify, bytes); SendMessage(message); } @@ -301,6 +313,7 @@ throw new FileNotFoundException("Skin file not found", xmlFile); } + _device = Path.GetFileNameWithoutExtension(xmlFile); LoadSkinXml(xmlFile); } catch (Exception ex) Modified: trunk/plugins/IR Server Suite/Documentation/new.html =================================================================== --- trunk/plugins/IR Server Suite/Documentation/new.html 2008-02-28 12:22:43 UTC (rev 1406) +++ trunk/plugins/IR Server Suite/Documentation/new.html 2008-02-28 16:46:28 UTC (rev 1407) @@ -38,6 +38,9 @@ <LI>IR Server Plugin: Added support for RC102 and compatible receivers - Experimental.</LI> <LI>TCP Comms: Automatically maps "localhost" to loopback address, avoiding the lookup process. This <i>might</i> solve a host name lookup problem for some users.</LI> <LI>IR Server Plugin: Added Keyboard Input plugin, should enable mapping special (App Command) keyboard buttons (like Forward, Back, Play, Stop, Volume, etc...) as well as basic key combinations.</LI> +<LI>USB-UIRT: Fixed a bug that caused the receive callback to get garbage collected, crashing the Input Service.</LI> +<LI>FusionREMOTE: Can now tell the difference between different DViCo remotes (You will need to re-teach the button keycodes).</LI> +<LI>General: Receiving device is now communicated with remote button codes, this is in preparation for a major overhaul of the remote mapping system to facilitate automatic configuration for controlling your whole PC! This feature will not be completed until 1.0.5.0 but it will be very big if it comes together as planned.</LI> </UL></P> <BR> Added: trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj =================================================================== --- trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj (rev 0) +++ trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommand Receiver.csproj 2008-02-28 16:46:28 UTC (rev 1407) @@ -0,0 +1,93 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{C9DB6BFE-4AA7-43D6-8B5D-3B27A2FA4B1A}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>InputService.Plugin</RootNamespace> + <AssemblyName>CoolCommand Receiver</AssemblyName> + <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent> + <ApplicationIcon>Icon.ico</ApplicationIcon> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>false</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <UseVSHostingProcess>false</UseVSHostingProcess> + <DocumentationFile>bin\Debug\CoolCommand Receiver.xml</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>none</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants> + </DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <UseVSHostingProcess>false</UseVSHostingProcess> + <DebugSymbols>false</DebugSymbols> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <OutputPath>bin\x86\Debug\</OutputPath> + <DefineConstants>TRACE;DEBUG</DefineConstants> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + <DocumentationFile>bin\x86\Debug\CoolCommand Receiver.xml</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> + <OutputPath>bin\x86\Release\</OutputPath> + <Optimize>true</Optimize> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <DebugType> + </DebugType> + <PlatformTarget>x86</PlatformTarget> + <UseVSHostingProcess>false</UseVSHostingProcess> + <ErrorReport>prompt</ErrorReport> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="CoolCommandReceiver.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="ReceiverWindow.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\IR Server Plugin Interface\IR Server Plugin Interface.csproj"> + <Project>{D8B3D28F-62CE-4CA7-86CE-B7EAD614A94C}</Project> + <Name>IR Server Plugin Interface</Name> + <Private>False</Private> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Content Include="Icon.ico" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <PropertyGroup> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> \ No newline at end of file Added: trunk/plugins/IR Server Suite/IR Server Plugins/CoolCommand Receiver/CoolCommandReceiver.cs ==========================================... [truncated message content] |