MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » General Forums » Newcomers Forum


Newcomers Forum The newcomers forum is for members who may be: new to forums; intimidated by our size; or just learning about some of the many topics being discussed on the MediaPortal Forum.

Reply
 
Thread Tools Display Modes
Old 2008-05-29, 16:27   #1 (permalink)
Portal Member
 
Join Date: Mar 2008
Location: Ottawa
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default Binding Remote codes to actions ...

I've followed the " IR Server Suite to resolve Remote ..." tutorial by Geert-Jan to get media portal, Harmony 880, and IR Server to function as expected. Thanks to Geert-Jan for a very well written document. I can report everything works very well under Vista x64.

Now, I am trying to understand what I did when following the instructions. I have a few questions:

1. The file "Microsoft MCE.xml" in the C:\ProgramData\IR Server Suite\Input Service\Abstract Remote Maps\iMon directory appears to list all of the MCE button codes supported by the IR Server plugin. Is this correct?

<?xml version="1.0" standalone="yes"?>
<DocumentElement>
<RemoteTable RawCode="2030" AbstractButton="Up" />
<RemoteTable RawCode="2031" AbstractButton="Down" />
<RemoteTable RawCode="2032" AbstractButton="Left" />
<RemoteTable RawCode="2033" AbstractButton="Right" />
<RemoteTable RawCode="2034" AbstractButton="OK" />
<RemoteTable RawCode="2016" AbstractButton="VolumeUp" />
<RemoteTable RawCode="2017" AbstractButton="VolumeDown" />
<RemoteTable RawCode="2018" AbstractButton="ChannelUp" />
<RemoteTable RawCode="2019" AbstractButton="ChannelDown" />
<RemoteTable RawCode="2013" AbstractButton="Start" />
<RemoteTable RawCode="2035" AbstractButton="Back" />
<RemoteTable RawCode="2015" AbstractButton="Info" />
<RemoteTable RawCode="2014" AbstractButton="Mute" />
<RemoteTable RawCode="2000" AbstractButton="Number0" />
<RemoteTable RawCode="2001" AbstractButton="Number1" />
<RemoteTable RawCode="2002" AbstractButton="Number2" />
<RemoteTable RawCode="2003" AbstractButton="Number3" />
<RemoteTable RawCode="2004" AbstractButton="Number4" />
<RemoteTable RawCode="2005" AbstractButton="Number5" />
<RemoteTable RawCode="2006" AbstractButton="Number6" />
<RemoteTable RawCode="2007" AbstractButton="Number7" />
<RemoteTable RawCode="2008" AbstractButton="Number8" />
<RemoteTable RawCode="2009" AbstractButton="Number9" />
<RemoteTable RawCode="2022" AbstractButton="Play" />
<RemoteTable RawCode="2024" AbstractButton="Pause" />
<RemoteTable RawCode="2025" AbstractButton="Stop" />
<RemoteTable RawCode="2020" AbstractButton="FastForward" />
<RemoteTable RawCode="2021" AbstractButton="Rewind" />
<RemoteTable RawCode="2023" AbstractButton="Record" />
<RemoteTable RawCode="2026" AbstractButton="NextChapter" />
<RemoteTable RawCode="2027" AbstractButton="PreviousChapter" />
<RemoteTable RawCode="2101" AbstractButton="Power" />
<RemoteTable RawCode="2012" AbstractButton="Power2" />
<RemoteTable RawCode="2090" AbstractButton="Teletext" />
<RemoteTable RawCode="2091" AbstractButton="Red" />
<RemoteTable RawCode="2092" AbstractButton="Green" />
<RemoteTable RawCode="2093" AbstractButton="Yellow" />
<RemoteTable RawCode="2094" AbstractButton="Blue" />
<RemoteTable RawCode="2010" AbstractButton="Clear" />
<RemoteTable RawCode="2011" AbstractButton="Enter" />
<RemoteTable RawCode="2028" AbstractButton="Hash" />
<RemoteTable RawCode="2029" AbstractButton="Star" />
<RemoteTable RawCode="2071" AbstractButton="Music" />
<RemoteTable RawCode="2073" AbstractButton="Pictures" />
<RemoteTable RawCode="2074" AbstractButton="Videos" />
<RemoteTable RawCode="2036" AbstractButton="DVD" />
<RemoteTable RawCode="2070" AbstractButton="TV" />
<RemoteTable RawCode="2038" AbstractButton="Guide" />
<RemoteTable RawCode="2037" AbstractButton="LiveTV" />
<RemoteTable RawCode="2080" AbstractButton="Radio" />
<RemoteTable RawCode="2078" AbstractButton="Print" />
<RemoteTable RawCode="2072" AbstractButton="RecordedTV" />
<RemoteTable RawCode="2039" AbstractButton="AspectRatio" />
<RemoteTable RawCode="2105" AbstractButton="Messenger" />
</DocumentElement>

2. The file "MPControlPlugin.XML" in "C:\Program Files (x86)\ Team MediaPortal\ MediaPortal\ InputDeviceMappings\ defaults" appears to bind the codes from the remote to specific actions. Is this correct? I don't understand how the AbstractButton names and codes get mapped to the <button> tags below. Most of the mappings defined in the file are obvious but I don't see what configuration file told media portal how this should be done.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<mappings version="3">
<remote family="My Remote Control">
<button name="Power TV" code="101">
<action layer="0" condition="*" conproperty="-1" command="POWER" cmdproperty="EXIT"
sound="back.wav" />
</button>
<button name="Power PC" code="12">
<action layer="0" condition="*" conproperty="-1" command="POWER" cmdproperty="STANDBY"
sound="click.wav" />
</button>
<button name="Record" code="23">
<action layer="0" condition="WINDOW" conproperty="501" command="ACTION" cmdproperty="113"
sound="click.wav" />
<action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="89" sound="click.wav" />
</button>

[snip]

3. Is there a good reference or forum or source that explains <action>? What process should I follow to gain a better understanding of, for example: "<action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="89" sound="click.wav" />"

Rick
rjburke377 is offline   Reply With Quote
Reply

Bookmarks

Tags
actions, binding, codes, remote

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using 'Keypress' actions when configuring remote singer36 Installation, configuration support 3 2008-01-31 11:48
cmdproperty codes list? Possible to map a remote button to add files to a playlist? Atarian MediaPortal 1 Talk 2 2007-12-31 10:18
[USBUIRT] Binding multiple actions with one button? jarreboum Support 0 2007-03-10 15:29
Hauppauge remote control codes? takingover General Support 1 2006-06-28 14:24
Configurable actions with MCE remote when in TV FullScreen a.dimuzio Improvement Suggestions 0 2005-05-23 09:03


All times are GMT +1. The time now is 05:41.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress