2009-08-12, 02:14
Hi,
I've been playing with my remote key mappings to get a few custom mappings done. Not a whole lot of success so far. Looking at my log it seems to my way of thinking, that the Keymap.xml and Lirecmap.xml are being loaded in the incorrect order. Log snippet below:
It seems Keymap.xml is being loaded first and some buttons can't be found. This seems obvious to me as Lircmap.xml hasn't loaded yet so it shouldn't find any. So, how did it apparently find the rest of they buttons?
Here is my Lircmap.xml:
And my Keymap.xml:
Any help making sense of this much appreciate.
Thanks
Phil
I've been playing with my remote key mappings to get a few custom mappings done. Not a whole lot of success so far. Looking at my log it seems to my way of thinking, that the Keymap.xml and Lirecmap.xml are being loaded in the incorrect order. Log snippet below:
Code:
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/gamepad.xml
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/joystick.AppleRemote.xml
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/joystick.Harmony.xml
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/joystick.Microsoft.Xbox.Controller.S.xml
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/joystick.Sony.PLAYSTATION(R)3.Controller.xml
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/joystick.WiiRemote.xml
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/keyboard.xml
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/keymaps/Keymap.xml
09:57:46 T:3045259152 M:801005568 ERROR: Remote Translator: Can't find button fullscreen
09:57:46 T:3045259152 M:801005568 ERROR: Remote Translator: Can't find button eject
09:57:46 T:3045259152 M:801005568 ERROR: Remote Translator: Can't find button screensaver
09:57:46 T:3045259152 M:801005568 ERROR: Remote Translator: Can't find button visualization
09:57:46 T:3045259152 M:801005568 ERROR: Remote Translator: Can't find button aspect
09:57:46 T:3045259152 M:801005568 ERROR: Remote Translator: Can't find button audiotrack
09:57:46 T:3045259152 M:801005568 ERROR: Remote Translator: Can't find button subtitle
09:57:46 T:3045259152 M:801005568 INFO: Loading special://xbmc/system/Lircmap.xml
09:57:46 T:3045259152 M:801005568 DEBUG: CButtonTranslator::Load - no userdata Lircmap.xml found, skipping
It seems Keymap.xml is being loaded first and some buttons can't be found. This seems obvious to me as Lircmap.xml hasn't loaded yet so it shouldn't find any. So, how did it apparently find the rest of they buttons?
Here is my Lircmap.xml:
Code:
<lircmap>
<remote device="mceusb">
<pause>Pause</pause>
<stop>Stop</stop>
<forward>Forward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>OK</select>
<pageplus>ChanUp</pageplus>
<pageminus>ChanDown</pageminus>
<back>Back</back>
<menu>Hash</menu>
<play>Play</play>
<info>More</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>Teletext</display>
<start>Home</start>
<record>Record</record>
<volumeplus>VolUp</volumeplus>
<volumeminus>VolDown</volumeminus>
<mute>Mute</mute>
<one>One</one>
<two>Two</two>
<three>Three</three>
<four>Four</four>
<five>Five</five>
<six>Six</six>
<seven>Seven</seven>
<eight>Eight</eight>
<nine>Nine</nine>
<zero>Zero</zero>
<fullscreen>Fullscreen</fullscreen>
<eject>Eject</eject>
<screensaver>SlideShow</screensaver>
<visualization>Visualization</visualization>
<aspect>Aspect</aspect>
<audiotrack>Audio</audiotrack>
<subtitle>Subtitle</subtitle>
</remote>
And my Keymap.xml:
Code:
<keymap>
<global>
<remote>
<three>VolumeUp</three>
<six>VolumeDown</six>
<nine>Mute</nine>
<play>Play</play>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Select</select>
<pageplus>PageUp</pageplus>
<pageminus>PageDown</pageminus>
<back>ParentDir</back>
<menu>ContextMenu</menu>
<title>ContextMenu</title>
<info>Info</info>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<display>FullScreen</display>
<start>XBMC.ActivateWindow(home)</start>
<record>Screenshot</record>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
<power>XBMC.ShutDown()</power>
<myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
<mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
<mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
<mytv>XBMC.ActivateWindow(Home)</mytv>
<fullscreen>Fullscreen</fullscreen>
<eject>XBMC.EjectTray()</eject>
<screensaver>XBMC.ActivateWindow(ScreenSaver)</screensaver>
<visualization>XBMC.ActivateWindow(Visualization)</visualization>
<aspect>AspectRatio</aspect>
<audiotrack>AudioNextLanguage</audiotrack>
<subtitle>ShowSubtitles</subtitle>
</remote>
Any help making sense of this much appreciate.
Thanks
Phil