home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Input/Output Interfaces
"Extra" buttons on HP MCE remote
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="tony72" data-source="post: 1033138" data-attributes="member: 97107"><p>Well, I figured it out. Should anyone else want to do this, you need to edit the file "C:\ProgramData\Team MediaPortal\MediaPortal\InputDeviceMappings\Microsoft MCE.xml". I added entries for my two buttons between the existing entries for "Skip" and "Back" as shown below.</p><p></p><p>The "code" attributes for the buttons (52 for eject, 50 for visualizations") I took from the XBMC wiki <a href="http://wiki.xbmc.org/?title=Using_a_Microsoft_remote_control_in_Windows" target="_blank">here</a>, scroll down to "8 Table of remote button codes", but note the table is in hex, you need to convert to decimal to use in this XML file.</p><p></p><p>The "cmdproperty" attribute of the button action comes from the <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/20_Reference/Actions" target="_blank">Mediaportal Wiki</a>, in my case I used ACTION_EJECTCD (= 100) for my Eject button and ACTION_SHOW_GUI (= 18) for my Visualizations button.</p><p></p><p>[code]</p><p> <button name="Skip" code="26"></p><p> <action layer="0" condition="PLAYER" conproperty="DVD" command="ACTION" cmdproperty="91" sound="cursor.wav" /></p><p> <action layer="0" condition="WINDOW" conproperty="600" command="ACTION" cmdproperty="5" sound="cursor.wav" /></p><p> <action layer="0" condition="WINDOW" conproperty="2007" command="ACTION" cmdproperty="28" sound="click.wav" /></p><p> <action layer="0" condition="WINDOW" conproperty="2005" command="ACTION" cmdproperty="91" sound="click.wav" /></p><p> <action layer="0" condition="WINDOW" conproperty="602" command="ACTION" cmdproperty="91" sound="click.wav" /></p><p> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="14" sound="cursor.wav" /></p><p> </button></p><p> </p><p> <!-- This is the entry for my Eject button --></p><p> <button name="Eject" code="52"></p><p> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="100" sound="click.wav" /></p><p> </button></p><p> <!-- This is the entry for my Visualization button --></p><p> <button name="Visualization" code="50"></p><p> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="18" sound="click.wav" /></p><p> </button></p><p></p><p> <button name="Back" code="35"></p><p> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="10" sound="back.wav" /></p><p> </button></p><p>[/code]</p></blockquote><p></p>
[QUOTE="tony72, post: 1033138, member: 97107"] Well, I figured it out. Should anyone else want to do this, you need to edit the file "C:\ProgramData\Team MediaPortal\MediaPortal\InputDeviceMappings\Microsoft MCE.xml". I added entries for my two buttons between the existing entries for "Skip" and "Back" as shown below. The "code" attributes for the buttons (52 for eject, 50 for visualizations") I took from the XBMC wiki [URL='http://wiki.xbmc.org/?title=Using_a_Microsoft_remote_control_in_Windows']here[/URL], scroll down to "8 Table of remote button codes", but note the table is in hex, you need to convert to decimal to use in this XML file. The "cmdproperty" attribute of the button action comes from the [URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/20_Reference/Actions']Mediaportal Wiki[/URL], in my case I used ACTION_EJECTCD (= 100) for my Eject button and ACTION_SHOW_GUI (= 18) for my Visualizations button. [code] <button name="Skip" code="26"> <action layer="0" condition="PLAYER" conproperty="DVD" command="ACTION" cmdproperty="91" sound="cursor.wav" /> <action layer="0" condition="WINDOW" conproperty="600" command="ACTION" cmdproperty="5" sound="cursor.wav" /> <action layer="0" condition="WINDOW" conproperty="2007" command="ACTION" cmdproperty="28" sound="click.wav" /> <action layer="0" condition="WINDOW" conproperty="2005" command="ACTION" cmdproperty="91" sound="click.wav" /> <action layer="0" condition="WINDOW" conproperty="602" command="ACTION" cmdproperty="91" sound="click.wav" /> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="14" sound="cursor.wav" /> </button> <!-- This is the entry for my Eject button --> <button name="Eject" code="52"> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="100" sound="click.wav" /> </button> <!-- This is the entry for my Visualization button --> <button name="Visualization" code="50"> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="18" sound="click.wav" /> </button> <button name="Back" code="35"> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="10" sound="back.wav" /> </button> [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Input/Output Interfaces
"Extra" buttons on HP MCE remote
Contact us
RSS
Top
Bottom