2011-07-31, 01:47
Hi,
i cannot really figure out how to edit my button mappings. Some buttons are working, however others are not. Can some bring some light into this issue please?
For example i mapped the button KEY_LiveTV to name "full"
and added an global action in the remote.xml to go back to Fullscreen
<full>FullScreen</full>
However it is not in effect. The buttons are recognized fine with the correct names by irw.
My /home/.xbmc/userdate/Lircmap.xml
My /home/.xbmc/userdata/keymaps/remote.xml
i cannot really figure out how to edit my button mappings. Some buttons are working, however others are not. Can some bring some light into this issue please?
For example i mapped the button KEY_LiveTV to name "full"
and added an global action in the remote.xml to go back to Fullscreen
<full>FullScreen</full>
However it is not in effect. The buttons are recognized fine with the correct names by irw.
My /home/.xbmc/userdate/Lircmap.xml
Code:
<lircmap>
<remote device="MCE_via_iMON">
<play>KEY_PLAY</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<forward>KEY_FASTFORWARD</forward>
<reverse>KEY_REWIND</reverse>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>#KEY_OK</select>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<back>KEY_BACKSPACE</back>
<menu>PreviousMenu</menu>
<title>Guide</title>
<info>KEY_INFO</info>
<skipplus>KEY_SKIP</skipplus>
<skipminus>KEY_REPLAY</skipminus>
<display>Teletext</display>
<start>WindowsMCE</start>
<record>KEY_RECORD</record>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<mute>KEY_MUTE</mute>
<power>KEY_POWER</power>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mypictures>KEY_PHOTO</mypictures>
<mytv>KEY_TV</mytv>
<one>KEY_ONE</one>
<two>KEY_TWO</two>
<three>KEY_THREE</three>
<four>KEY_FOUR</four>
<five>KEY_FIVE</five>
<six>KEY_SIX</six>
<seven>KEY_SEVEN</seven>
<eight>KEY_EIGHT</eight>
<nine>KEY_NINE</nine>
<zero>KEY_ZERO</zero>
<star>Star</star>
<hash>Hash</hash>
<clear>KEY_DELETE</clear>
<enter>KEY_ENTER</enter>
<red>Red</red>
<green>Green</green>
<yellow>Yellow</yellow>
<blue>Blue</blue>
<dvd>KEY_DVD</dvd>
<full>KEY_LiveTV</full>
</remote>
</lircmap>
My /home/.xbmc/userdata/keymaps/remote.xml
Code:
<keymap>
<global>
<remote>
<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>
<full>FullScreen</full>
<pageplus>PageUp</pageplus>
<pageminus>PageDown</pageminus>
<back>ParentDir</back>
<menu>PreviousMenu</menu>
<title>ContextMenu</title>
<info>Info</info>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<full>FullScreen</full>
<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(VideoLibrary,TvShows)</mytv>
<red>XBMC.ActivateWindow(Home)</red>
<green>XBMC.ActivateWindow(MyVideos)</green>
<yellow>XBMC.ActivateWindow(MyMusic)</yellow>
<blue>XBMC.ActivateWindow(MyPictures)</blue>
<zero>Number0</zero>
<one>Number1</one>
<two>JumpSMS2</two>
<three>JumpSMS3</three>
<four>JumpSMS4</four>
<five>JumpSMS5</five>
<six>JumpSMS6</six>
<seven>JumpSMS7</seven>
<eight>JumpSMS8</eight>
<nine>JumpSMS9</nine>
</remote>
</global>
<Home>
<remote>
<info>XBMC.ActivateWindow(SystemInfo)</info>
<clear>XBMC.ActivateWindow(Weather)</clear>
<hash>XBMC.ActivateWindow(Settings)</hash>
</remote>
</Home>
<MyFiles>
<remote>
<clear>Delete</clear>
<zero>Highlight</zero>
<star>Move</star>
<hash>Rename</hash>
</remote>
</MyFiles>
<MyMusicPlaylist>
<remote>
<back>Playlist</back> <!-- Close playlist -->
<clear>Delete</clear>
<zero>Delete</zero>
</remote>
</MyMusicPlaylist>
<MyMusicPlaylistEditor>
<remote>
<zero>Queue</zero>
</remote>
</MyMusicPlaylistEditor>
<MyMusicFiles>
<remote>
<zero>Queue</zero>
<star>Queue</star>
</remote>
</MyMusicFiles>
<MyMusicLibrary>
<remote>
<zero>Queue</zero>
<star>Queue</star>
</remote>
</MyMusicLibrary>
<FullscreenVideo>
<remote>
<zero>Number0</zero>
<one>Number1</one>
<two>Number2</two>
<three>Number3</three>
<four>Number4</four>
<five>Number5</five>
<six>Number6</six>
<seven>Number7</seven>
<eight>Number8</eight>
<nine>Number9</nine>
<left>StepBack</left>
<right>StepForward</right>
<up>BigStepForward</up>
<down>BigStepBack</down>
<menu>ParentDir</menu>
<select>OSD</select>
<title>CodecInfo</title>
<info>Info</info>
<teletext>XBMC.ActivateWindow(Teletext)</teletext>
<subtitle>ShowSubtitles</subtitle>
<star>ShowSubtitles</star>
<language>AudioNextLanguage</language>
<hash>AudioNextLanguage</hash>
<dvd>PreviousMenu</dvd>
</remote>
</FullscreenVideo>
...
</keymap>