2014-05-13, 18:20
Hello,
i bought a MCE remote and got almost all buttons working except the "select" one.
I want to use the default OK button on the remot as "select" action in XBMC.
Started with the Wiki (http://wiki.xbmc.org/index.php?title=Keyboard.xml and http://wiki.xbmc.org/index.php?title=Lirc) and followed this guide: http://forum.xbmc.org/showthread.php?tid...ght=KEY_OK.
When pressing the OK button on the remote i get the following from ir-keytable:
My Lircmap.xml is:
and my remote.xml in .xbmc/userdata/keymaps is:
This looks for me like the key event "KEY_OK" should be translated by the Lircmap into "select" which should end up with the keymap into " <select>Select</select>" but it isn't working.
Nothing happens when i press the OK button while in the main menue of XBMC. Although left, up, right, down, mute and others are working fine.
Anyone any idea?
Thank you in advance!
i bought a MCE remote and got almost all buttons working except the "select" one.
I want to use the default OK button on the remot as "select" action in XBMC.
Started with the Wiki (http://wiki.xbmc.org/index.php?title=Keyboard.xml and http://wiki.xbmc.org/index.php?title=Lirc) and followed this guide: http://forum.xbmc.org/showthread.php?tid...ght=KEY_OK.
When pressing the OK button on the remote i get the following from ir-keytable:
Code:
[root@manjaro keymaps]# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1399997762.510846: event type EV_MSC(0x04): scancode = 0x800f0422
1399997762.510846: event type EV_KEY(0x01) key_down: KEY_OK(0x0001)
1399997762.510846: event type EV_SYN(0x00).
1399997762.615966: event type EV_MSC(0x04): scancode = 0x800f0422
1399997762.615966: event type EV_SYN(0x00).
1399997762.863974: event type EV_KEY(0x01) key_up: KEY_OK(0x0001)
1399997762.863974: event type EV_SYN(0x00).
My Lircmap.xml is:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml -->
<!-- -->
<!-- How to add remotes -->
<!-- <remote device="name_Lirc_calls_the_remote"> -->
<!-- -->
<!-- For the commands the layout following layout is used -->
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> -->
<!-- -->
<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml -->
<lircmap>
<remote device="mceusb">
<!-- new kernel-based lirc button names -->
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<start>KEY_HOME</start>
<back>KEY_BACK</back>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<forward>KEY_FORWARD</forward>
<reverse>KEY_REWIND</reverse>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<skipplus>KEY_NEXT</skipplus>
<skipminus>KEY_AGAIN</skipminus>
<mute>KEY_MUTE</mute>
<power>KEY_POWER</power>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mytv>LiveTV</mytv>
<one>KEY_1</one>
<two>KEY_2</two>
<three>KEY_3</three>
<four>KEY_4</four>
<five>KEY_5</five>
<six>KEY_6</six>
<seven>KEY_7</seven>
<eight>KEY_8</eight>
<nine>KEY_9</nine>
<zero>KEY_0</zero>
<red>KEY_RED</red>
<green>KEY_GREEN</green>
<yellow>KEY_YELLOW</yellow>
<blue>KEY_BLUE</blue>
<menu>KEY_DVD</menu>
<clear>KEY_CLEAR</clear>
<enter>KEY_ENTER</enter>
</remote>
<remote device="XboxDVDDongle">
<play>PLAY</play>
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>FORWARD</forward>
<reverse>REVERSE</reverse>
<left>LEFT</left>
<right>RIGHT</right>
<up>UP</up>
<down>DOWN</down>
<select>SELECT</select>
<back>BACK</back>
<menu>MENU</menu>
<title>TITLE</title>
<info>INFO</info>
<skipplus>SKIP+</skipplus>
<skipminus>SKIP-</skipminus>
<display>DISPLAY</display>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
<remote device="Microsoft_Xbox">
<play>PLAY</play>
<pause>PAUSE</pause>
<stop>STOP</stop>
<forward>FORWARD</forward>
<reverse>REVERSE</reverse>
<left>LEFT</left>
<right>RIGHT</right>
<up>UP</up>
<down>DOWN</down>
<select>SELECT</select>
<back>BACK</back>
<menu>MENU</menu>
<title>TITLE</title>
<info>INFO</info>
<skipplus>SKIP+</skipplus>
<skipminus>SKIP-</skipminus>
<display>DISPLAY</display>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
<remote device="PinnacleSysPCTVRemote">
<play>Play</play>
<pause>pause</pause>
<stop>Stop</stop>
<forward>FForward</forward>
<reverse>Rewind</reverse>
<left>Vol-Rew</left>
<right>Vol+FF</right>
<up>Chan+Play</up>
<down>Chan-Stop</down>
<pageplus>channel+</pageplus>
<pageminus>channel-</pageminus>
<select>middle</select>
<back>undo</back>
<menu>Menu</menu>
<title>L</title>
<info>Info</info>
<skipplus>next</skipplus>
<display>Fullscreen</display>
<record>Record</record>
<volumeplus>vol+</volumeplus>
<volumeminus>vol-</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
</remote>
<remote device="anysee">
<pause>pause</pause>
<stop>stop</stop>
<forward>f1</forward>
<reverse>f2</reverse>
<left>left</left>
<right>right</right>
<up>chan-up</up>
<down>chan-down</down>
<select>ok</select>
<back>exit</back>
<menu>menu</menu>
<title>play</title>
<info>info</info>
<skipplus>jump-fwd</skipplus>
<skipminus>jump-back</skipminus>
<display>size</display>
<start>star</start>
<record>rec</record>
<volumeplus></volumeplus>
<volumeminus></volumeminus>
<mute>mute</mute>
<power>power</power>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<red>red</red>
<green>green</green>
<yellow>yellow</yellow>
<blue>blue</blue>
<subtitle>subtitle</subtitle>
<language>audio</language>
</remote>
<remote device="iMON-PAD">
<power>Power</power>
<record>Record</record>
<play>Play</play>
<reverse>Rewind</reverse>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Enter</select>
<pageplus>Ch+</pageplus>
<pageminus>Ch-</pageminus>
<back>Esc</back>
<back>Backspace</back>
<menu>Multimon</menu>
<title>MouseMenu</title>
<info>SelectSpace</info>
<skipplus>NextChapter</skipplus>
<skipminus>PrevChapter</skipminus>
<display>FullScreen</display>
<start>MultiMon</start>
<volumeplus>Vol+</volumeplus>
<volumeminus>Vol-</volumeminus>
<mute>Mute</mute>
<myvideo>MyMovie</myvideo>
<mymusic>MyMusic</mymusic>
<mypictures>MyPhoto</mypictures>
<mytv>MyTV</mytv>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<subtitle>Language</subtitle>
</remote>
<remote device="Antec_Veris_RM200">
<stop>KEY_STOP</stop>
<pause>KEY_PAUSE</pause>
<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_ENTER</select>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<back>KEY_BACKSPACE</back>
<menu>KEY_MENU</menu>
<play>KEY_PLAY</play>
<info>Go</info>
<skipplus>next</skipplus>
<skipminus>prev</skipminus>
<display>FullScreen</display>
<start>applauncher</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_1</one>
<two>KEY_2</two>
<three>KEY_3</three>
<four>KEY_4</four>
<five>KEY_5</five>
<six>KEY_6</six>
<seven>KEY_7</seven>
<eight>KEY_8</eight>
<nine>KEY_9</nine>
<zero>KEY_0</zero>
<star>Star</star>
<hash>Hash</hash>
<playlist>KEY_BOOKMARKS</playlist>
<teletext>Thumbnail</teletext>
<title>TaskSwitcher</title>
</remote>
<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>
</remote>
<remote device="TwinHanRemote">
<display>fullscreen</display>
<power>power</power>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<record>rec</record>
<zero>0</zero>
<myvideo>favorite</myvideo>
<volumeminus>rewind</volumeminus>
<volumeplus>forward</volumeplus>
<up>ch+</up>
<left>vol-</left>
<select>play</select>
<right>vol+</right>
<down>ch-</down>
<menu>recall</menu>
<stop>stop</stop>
<pause>pause</pause>
<mute>mute</mute>
<info>epg</info>
<recordedtv>recordlist</recordedtv>
<title>teletext</title>
</remote>
<remote device="linux-input-layer">
<altname>cx23885_remote</altname>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<select>KEY_ENTER</select>
<enter>KEY_ENTER</enter>
<clear>KEY_DELETE</clear>
<start>KEY_SELECT</start>
<start>KEY_PROG1</start>
<start>KEY_HOME</start>
<back>KEY_ESC</back>
<back>KEY_EXIT</back>
<back>KEY_BACK</back>
<back>KEY_CLOSE</back>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<play>KEY_PLAYPAUSE</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<stop>KEY_STOPCD</stop>
<forward>KEY_FASTFORWARD</forward>
<reverse>KEY_REWIND</reverse>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<channelplus>KEY_CHANNELUP</channelplus>
<channelminus>KEY_CHANNELDOWN</channelminus>
<skipplus>KEY_NEXTSONG</skipplus>
<skipplus>KEY_NEXT</skipplus>
<skipminus>KEY_PREVIOUSSONG</skipminus>
<skipminus>KEY_PREVIOUS</skipminus>
<title>KEY_TITLE</title>
<title>KEY_EPG</title>
<subtitle>KEY_SUBTITLE</subtitle>
<language>KEY_LANGUAGE</language>
<mute>KEY_MUTE</mute>
<power>KEY_POWER</power>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mypictures>KEY_MHP</mypictures>
<mypictures>KEY_CAMERA</mypictures>
<mytv>KEY_TV</mytv>
<liveradio>KEY_RADIO</liveradio>
<mytv>KEY_TUNER</mytv>
<one>KEY_1</one>
<two>KEY_2</two>
<three>KEY_3</three>
<four>KEY_4</four>
<five>KEY_5</five>
<six>KEY_6</six>
<seven>KEY_7</seven>
<eight>KEY_8</eight>
<nine>KEY_9</nine>
<zero>KEY_0</zero>
<one>KEY_NUMERIC_1</one>
<two>KEY_NUMERIC_2</two>
<three>KEY_NUMERIC_3</three>
<four>KEY_NUMERIC_4</four>
<five>KEY_NUMERIC_5</five>
<six>KEY_NUMERIC_6</six>
<seven>KEY_NUMERIC_7</seven>
<eight>KEY_NUMERIC_8</eight>
<nine>KEY_NUMERIC_9</nine>
<zero>KEY_NUMERIC_0</zero>
<star>KEY_NUMERIC_STAR</star>
<hash>KEY_NUMERIC_POUND</hash>
<red>KEY_RED</red>
<green>KEY_GREEN</green>
<yellow>KEY_YELLOW</yellow>
<blue>KEY_BLUE</blue>
<menu>KEY_DVD</menu>
<menu>KEY_MENU</menu>
<info>KEY_INFO</info>
<info>KEY_PROPS</info>
<display>KEY_ANGLE</display>
<display>KEY_ZOOM</display>
<recordedtv>KEY_PVR</recordedtv>
<teletext>KEY_TEXT</teletext>
<clear>KEY_DELETE</clear>
</remote>
<remote device="mediacenter">
<pause>pause</pause>
<stop>stop</stop>
<forward>fwd</forward>
<reverse>rew</reverse>
<left>left</left>
<right>right</right>
<up>up</up>
<down>down</down>
<select>ok</select>
<pageplus>ch+</pageplus>
<pageminus>ch-</pageminus>
<back>back</back>
<menu>clear</menu>
<title>play</title>
<info>info</info>
<skipplus>next</skipplus>
<skipminus>prev</skipminus>
<display>teletext</display>
<start>ehome</start>
<record>rec</record>
<volumeplus>vol+</volumeplus>
<volumeminus>vol-</volumeminus>
<mute>mute</mute>
<power>power</power>
<myvideo>video</myvideo>
<mymusic>music</mymusic>
<mypictures>pictures</mypictures>
<mytv>tv</mytv>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<mytv>red</mytv>
<mymusic>green</mymusic>
<mypictures>yellow</mypictures>
<myvideo>blue</myvideo>
</remote>
<remote device="devinput">
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
<enter>KEY_ENTER</enter>
<clear>KEY_DELETE</clear>
<start>KEY_MEDIA</start>
<back>KEY_EXIT</back>
<record>KEY_RECORD</record>
<play>KEY_PLAY</play>
<pause>KEY_PAUSE</pause>
<stop>KEY_STOP</stop>
<forward>KEY_FASTFORWARD</forward>
<reverse>KEY_REWIND</reverse>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<channelplus>KEY_CHANNELUP</channelplus>
<channelminus>KEY_CHANNELDOWN</channelminus>
<skipplus>KEY_NEXT</skipplus>
<skipminus>KEY_PREVIOUS</skipminus>
<title>KEY_EPG</title>
<subtitle>KEY_SUBTITLE</subtitle>
<language>KEY_LANGUAGE</language>
<info>KEY_INFO</info>
<display>KEY_ZOOM</display>
<mute>KEY_MUTE</mute>
<power>KEY_POWER</power>
<eject>KEY_EJECT</eject>
<menu>KEY_DVD</menu>
<menu>KEY_MENU</menu>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mypictures>KEY_CAMERA</mypictures>
<mytv>KEY_TUNER</mytv>
<teletext>KEY_TEXT</teletext>
<one>KEY_NUMERIC_1</one>
<two>KEY_NUMERIC_2</two>
<three>KEY_NUMERIC_3</three>
<four>KEY_NUMERIC_4</four>
<five>KEY_NUMERIC_5</five>
<six>KEY_NUMERIC_6</six>
<seven>KEY_NUMERIC_7</seven>
<eight>KEY_NUMERIC_8</eight>
<nine>KEY_NUMERIC_9</nine>
<zero>KEY_NUMERIC_0</zero>
<star>KEY_NUMERIC_STAR</star>
<hash>KEY_NUMERIC_POUND</hash>
<red>KEY_RED</red>
<green>KEY_GREEN</green>
<yellow>KEY_YELLOW</yellow>
<blue>KEY_BLUE</blue>
<recordedtv>KEY_PVR</recordedtv>
<liveradio>KEY_RADIO</liveradio>
</remote>
</lircmap>
and my remote.xml in .xbmc/userdata/keymaps is:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
<!-- The <global> section is a fall through - they will only be used if the button is not -->
<!-- used in the current window's section. Note that there is only handling -->
<!-- for a single action per button at this stage. -->
<!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox -->
<!-- gamepads. -->
<!-- The format is: -->
<!-- <device> -->
<!-- <button>action</button> -->
<!-- </device> -->
<!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks -->
<!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key -->
<!-- You set it up by adding a <universalremote> block to the window or <global> section: -->
<!-- <universalremote> -->
<!-- <obc45>Stop</obc45> -->
<!-- </universalremote> -->
<!-- Note that the action can be a built-in function. -->
<!-- eg <B>XBMC.ActivateWindow(MyMusic)</B> -->
<!-- would automatically go to My Music on the press of the B button. -->
<!-- Joysticks / Gamepads: -->
<!-- See the sample PS3 controller configuration below for the format. -->
<!-- -->
<!-- Joystick Name: -->
<!-- Do 'cat /proc/bus/input/devices' or see your xbmc log file to find the names of -->
<!-- detected joysticks. The name used in the configuration should match the detected name. -->
<!-- -->
<!-- Button Ids: -->
<!-- 'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear -->
<!-- in xbmc.log when they are pressed. Use your log to map custom buttons to actions. -->
<!-- -->
<!-- Axis Ids / Analog Controls -->
<!-- Coming soon. -->
<keymap>
<global>
<keyboard>
<p>Play</p>
<q>Queue</q>
<f>FastForward</f>
<r>Rewind</r>
<y>SwitchPlayer</y>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<left mod="ctrl">analogseekback</left>
<right mod="ctrl">analogseekforward</right>
<pageup>PageUp</pageup>
<pagedown>PageDown</pagedown>
<return>Select</return>
<enter>Select</enter>
<select>Select</select>
<backspace>Back</backspace>
<key id='65446'>Back</key>
<m>ActivateWindow(PlayerControls)</m>
<s>ActivateWindow(shutdownmenu)</s>
<escape>PreviousMenu</escape>
<i>Info</i>
<menu>ContextMenu</menu>
<c>ContextMenu</c>
<space>Pause</space>
<x>Stop</x>
<period>SkipNext</period>
<comma>SkipPrevious</comma>
<tab>FullScreen</tab>
<printscreen>Screenshot</printscreen>
<s mod="ctrl">Screenshot</s>
<minus>VolumeDown</minus>
<plus>VolumeUp</plus>
<equals>VolumeUp</equals>
<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>
<numpadminus>VolumeDown</numpadminus>
<numpadplus>VolumeUp</numpadplus>
<numpadzero>Number0</numpadzero>
<numpadone>Number1</numpadone>
<numpadtwo>Number2</numpadtwo>
<numpadthree>Number3</numpadthree>
<numpadfour>Number4</numpadfour>
<numpadfive>Number5</numpadfive>
<numpadsix>Number6</numpadsix>
<numpadseven>Number7</numpadseven>
<numpadeight>Number8</numpadeight>
<numpadnine>Number9</numpadnine>
<backslash>ToggleFullScreen</backslash>
<home>FirstPage</home>
<end>LastPage</end>
<power>ActivateWindow(shutdownmenu)</power>
<sleep>ActivateWindow(shutdownmenu)</sleep>
<!-- PVR windows -->
<e>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</e>
<h>XBMC.ActivateWindowAndFocus(MyPVR, 32,0, 11,0)</h>
<j>XBMC.ActivateWindowAndFocus(MyPVR, 33,0, 12,0)</j>
<k>XBMC.ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</k>
<b>XBMC.ActivateWindowAndFocus(MyPVR, 35,0, 14,0)</b>
<!-- Multimedia keyboard keys -->
<browser_back>Back</browser_back>
<browser_forward/>
<browser_refresh/>
<browser_stop/>
<browser_search/>
<browser_favorites>ActivateWindow(Favourites)</browser_favorites>
<browser_home>XBMC.ActivateWindow(Home)</browser_home>
<volume_mute>Mute</volume_mute>
<volume_down>VolumeDown</volume_down>
<volume_up>VolumeUp</volume_up>
<next_track>SkipNext</next_track>
<prev_track>SkipPrevious</prev_track>
<stop>Stop</stop>
<play_pause>Pause</play_pause>
<fastforward>FastForward</fastforward>
<rewind>Rewind</rewind>
<record/>
<launch_mail></launch_mail>
<launch_media_select>XBMC.ActivateWindow(MyMusic)</launch_media_select>
<launch_app1_pc_icon>ActivateWindow(MyPrograms)</launch_app1_pc_icon>
<launch_app2_pc_icon>ActivateWindow(MyPrograms)</launch_app2_pc_icon>
<launch_file_browser/>
<launch_media_center/>
<!-- ****************************************************** -->
<!-- MS Media Center keyboard shortcuts sent by MCE remotes -->
<!-- See http://msdn.microsoft.com/en-us/library/bb189249.aspx -->
<p mod="ctrl,shift">Play</p> <!-- Play -->
<s mod="ctrl,shift">Stop</s> <!-- Stop -->
<p mod="ctrl">Pause</p> <!-- Pause -->
<f mod="ctrl,shift">FastForward</f> <!-- Fwd -->
<b mod="ctrl,shift">Rewind</b> <!-- Rew -->
<f mod="ctrl">SkipNext</f> <!-- Skip -->
<b mod="ctrl">SkipPrevious</b> <!-- Replay -->
<d mod="ctrl">Info</d> <!-- MCE Details -->
<f10>VolumeUp</f10> <!-- MCE Vol up -->
<f9>VolumeDown</f9> <!-- MCE Vol down -->
<f8>Mute</f8> <!-- MCE mute -->
<g mod="ctrl">ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</g> <!-- MCE Guide -->
<m mod="ctrl">ActivateWindow(music)</m> <!-- MCE My music -->
<i mod="ctrl">ActivateWindow(pictures)</i> <!-- MCE My pictures -->
<e mod="ctrl">ActivateWindow(video)</e> <!-- MCE videos -->
<m mod="ctrl,shift">PlayerControl(ShowVideoMenu)</m> <!-- MCE DVD menu -->
<o mod="ctrl">ActivateWindowAndFocus(MyPVR, 34,0, 13,0)</o> <!-- MCE Recorded TV -->
<t mod="ctrl">ActivateWindowAndFocus(MyPVR, 32,0, 11,0)</t> <!-- MCE Live TV -->
<t mod="ctrl,shift">ActivateWindow(MyPVR)</t> <!-- MCE My TV -->
<a mod="ctrl">ActivateWindowAndFocus(MyPVR, 33,0, 12,0)</a> <!-- MCE My Radio -->
<!-- MCE keypresses without an obvious use in XBMC -->
<u mod="ctrl">Notification(MCEKeypress, DVD subtitle, 3)</u>
<a mod="ctrl,shift">Notification(MCEKeypress, DVD audio, 3)</a>
</keyboard>
</global>
<LoginScreen>
<keyboard>
<end mod="ctrl">XBMC.ShutDown()</end>
</keyboard>
</LoginScreen>
<Home>
<keyboard>
<i>info</i>
<end mod="ctrl">XBMC.ShutDown()</end>
</keyboard>
</Home>
<VirtualKeyboard>
<keyboard>
<backspace>Backspace</backspace>
</keyboard>
</VirtualKeyboard>
<MyTV>
<keyboard>
<delete>Delete</delete>
<m>Move</m>
<r>Rename</r>
</keyboard>
</MyTV>
<MyFiles>
<keyboard>
<space>Highlight</space>
<delete>Delete</delete>
<m>Move</m>
<r>Rename</r>
</keyboard>
</MyFiles>
<MyMusicPlaylist>
<keyboard>
<space>Back</space>
<delete>Delete</delete>
<u>MoveItemUp</u>
<d>MoveItemDown</d>
</keyboard>
</MyMusicPlaylist>
<MyMusicPlaylistEditor>
<keyboard>
<u>MoveItemUp</u>
<d>MoveItemDown</d>
<delete>Delete</delete>
</keyboard>
</MyMusicPlaylistEditor>
<MyMusicFiles>
<keyboard>
<space>Playlist</space>
<q>Queue</q>
<delete>Delete</delete>
</keyboard>
</MyMusicFiles>
<MyMusicLibrary>
<keyboard>
<space>Playlist</space>
<q>Queue</q>
</keyboard>
</MyMusicLibrary>
<FullscreenVideo>
<keyboard>
<f>FastForward</f>
<r>Rewind</r>
<period>StepForward</period>
<comma>StepBack</comma>
<backspace>Fullscreen</backspace>
<quote>SmallStepBack</quote>
<opensquarebracket>BigStepForward</opensquarebracket>
<closesquarebracket>BigStepBack</closesquarebracket>
<return>OSD</return>
<enter>OSD</enter>
<m>OSD</m>
<i>Info</i>
<o>CodecInfo</o>
<z>AspectRatio</z>
<t>ShowSubtitles</t>
<t mod="ctrl">SubtitleAlign</t>
<l>NextSubtitle</l>
<left>StepBack</left>
<right>StepForward</right>
<up>ChapterOrBigStepForward</up>
<down>ChapterOrBigStepBack</down>
<a>AudioDelay</a>
<escape>Fullscreen</escape>
<c>Playlist</c>
<v>XBMC.ActivateWindow(Teletext)</v>
<up mod="ctrl">SubtitleShiftUp</up>
<down mod="ctrl">SubtitleShiftDown</down>
<pageup>SkipNext</pageup>
<pagedown>SkipPrevious</pagedown>
</keyboard>
</FullscreenVideo>
<VideoTimeSeek>
<keyboard>
<return>Select</return>
<enter>Select</enter>
</keyboard>
</VideoTimeSeek>
<FullscreenInfo>
<keyboard>
<f>FastForward</f>
<r>Rewind</r>
<period>StepForward</period>
<o>CodecInfo</o>
<i>Back</i>
<d mod="ctrl">Back</d>
<m>OSD</m>
</keyboard>
</FullscreenInfo>
<PlayerControls>
<keyboard>
<m>Back</m>
</keyboard>
</PlayerControls>
<Visualisation>
<keyboard>
<f>FastForward</f>
<r>Rewind</r>
<period>SkipNext</period>
<comma>SkipPrevious</comma>
<backspace>Fullscreen</backspace>
<return>OSD</return>
<enter>OSD</enter>
<m>OSD</m>
<i>Info</i>
<p>ActivateWindow(VisualisationPresetList)</p>
<v>ActivateWindow(VisualisationSettings)</v>
<n>ActivateWindow(MusicPlaylist)</n>
<left>SkipPrevious</left>
<right>SkipNext</right>
<up>IncreaseRating</up>
<down>DecreaseRating</down> <!--<back>NextPreset</back>!-->
<o>CodecInfo</o>
<l>LockPreset</l>
<escape>FullScreen</escape>
<g>XBMC.ActivateWindow(PVROSDGuide)</g>
<c>XBMC.ActivateWindow(PVROSDChannels)</c>
</keyboard>
</Visualisation>
<MusicOSD>
<keyboard>
<f>FastForward</f>
<r>Rewind</r>
<period>SkipNext</period>
<comma>SkipPrevious</comma>
<m>Back</m>
<i>Info</i>
<o>CodecInfo</o>
<p>ActivateWindow(VisualisationPresetList)</p>
<v>ActivateWindow(VisualisationSettings)</v>
<n>ActivateWindow(MusicPlaylist)</n>
</keyboard>
</MusicOSD>
<VisualisationSettings>
<keyboard>
<f>FastForward</f>
<r>Rewind</r>
<period>SkipNext</period>
<comma>SkipPrevious</comma>
<m>Back</m>
<i>Info</i>
<o>CodecInfo</o>
<p>ActivateWindow(VisualisationPresetList)</p>
<v>Back</v>
<n>ActivateWindow(MusicPlaylist)</n>
</keyboard>
</VisualisationSettings>
<VisualisationPresetList>
<keyboard>
<f>FastForward</f>
<r>Rewind</r>
<period>SkipNext</period>
<comma>SkipPrevious</comma>
<m>Back</m>
<i>Info</i>
<o>CodecInfo</o>
<p>Back</p>
<v>Back</v>
<n>ActivateWindow(MusicPlaylist)</n>
</keyboard>
</VisualisationPresetList>
<SlideShow>
<keyboard>
<zero>ZoomNormal</zero>
<one>ZoomLevel1</one>
<two>ZoomLevel2</two>
<three>ZoomLevel3</three>
<four>ZoomLevel4</four>
<five>ZoomLevel5</five>
<six>ZoomLevel6</six>
<seven>ZoomLevel7</seven>
<eight>ZoomLevel8</eight>
<nine>ZoomLevel9</nine>
<i>Info</i>
<o>CodecInfo</o>
<period>NextPicture</period>
<comma>PreviousPicture</comma>
<plus>ZoomIn</plus>
<minus>ZoomOut</minus>
<return>Rotate</return>
<enter>Rotate</enter>
<r>Rotate</r>
</keyboard>
</SlideShow>
<ScreenCalibration>
<keyboard>
<return>NextCalibration</return>
<enter>NextCalibration</enter>
<d>ResetCalibration</d>
<r>NextResolution</r>
</keyboard>
</ScreenCalibration>
<GUICalibration>
<keyboard>
<return>NextCalibration</return>
<enter>NextCalibration</enter>
<d>ResetCalibration</d>
</keyboard>
</GUICalibration>
<VideoOSD>
<keyboard>
<m>Back</m>
<g mod="ctrl">Back</g> <!-- MCE Guide button -->
<i>Info</i>
<o>CodecInfo</o>
</keyboard>
</VideoOSD>
<VideoMenu>
<keyboard>
<opensquarebracket>BigStepForward</opensquarebracket>
<closesquarebracket>BigStepBack</closesquarebracket>
<m>OSD</m>
<i>Info</i>
<o>CodecInfo</o>
<z>AspectRatio</z>
<t>ShowSubtitles</t>
<l>NextSubtitle</l>
<a>AudioDelay</a>
<escape>Fullscreen</escape>
<return>Select</return>
<enter>Select</enter> <!-- backspace>Fullscreen</backspace -->
<pageup>SkipNext</pageup>
<pagedown>SkipPrevious</pagedown>
</keyboard>
</VideoMenu>
<OSDVideoSettings>
<keyboard>
<i>Info</i>
<o>CodecInfo</o>
</keyboard>
</OSDVideoSettings>
<OSDAudioSettings>
<keyboard>
<i>Info</i>
<o>CodecInfo</o>
</keyboard>
</OSDAudioSettings>
<VideoBookmarks>
<keyboard>
<delete>Delete</delete>
</keyboard>
</VideoBookmarks>
<MyVideoLibrary>
<keyboard>
<delete>Delete</delete>
<space>Playlist</space>
<w>ToggleWatched</w>
</keyboard>
</MyVideoLibrary>
<MyVideoFiles>
<keyboard>
<space>Playlist</space>
<q>Queue</q>
<w>ToggleWatched</w>
</keyboard>
</MyVideoFiles>
<MyVideoPlaylist>
<keyboard>
<space>Back</space>
<delete>Delete</delete>
<u>MoveItemUp</u>
<d>MoveItemDown</d>
</keyboard>
</MyVideoPlaylist>
<MyPictures>
<keyboard>
<delete>Delete</delete>
</keyboard>
</MyPictures>
<ContextMenu>
<keyboard>
<c>Back</c>
<menu>Back</menu>
</keyboard>
</ContextMenu>
<Scripts>
<keyboard>
<i>info</i>
</keyboard>
</Scripts>
<MusicInformation>
<keyboard>
<i>Back</i>
<d mod="ctrl">Back</d>
</keyboard>
</MusicInformation>
<MovieInformation>
<keyboard>
<i>Back</i>
</keyboard>
</MovieInformation>
<PictureInfo>
<keyboard>
<period>NextPicture</period>
<comma>PreviousPicture</comma>
<i>Back</i>
<d mod="ctrl">Back</d>
<o>Back</o>
<space>Pause</space>
</keyboard>
</PictureInfo>
<Teletext>
<keyboard>
<v>Back</v>
</keyboard>
</Teletext>
<Favourites>
<keyboard>
<backspace>Close</backspace>
<u>MoveItemUp</u>
<d>MoveItemDown</d>
</keyboard>
</Favourites>
<NumericInput>
<keyboard>
<backspace>Close</backspace>
</keyboard>
</NumericInput>
<FullscreenLiveTV>
<keyboard>
<left>PreviousChannelGroup</left>
<right>NextChannelGroup</right>
<up>ChannelUp</up>
<down>ChannelDown</down>
</keyboard>
</FullscreenLiveTV>
<PVROSDChannels>
<keyboard>
<backspace>Close</backspace>
<escape>Close</escape>
<c>Close</c>
</keyboard>
</PVROSDChannels>
<PVROSDGuide>
<keyboard>
<backspace>Close</backspace>
<escape>Close</escape>
</keyboard>
</PVROSDGuide>
<PVROSDDirector>
<keyboard>
<backspace>Close</backspace>
<escape>Close</escape>
</keyboard>
</PVROSDDirector>
<PVROSDCutter>
<keyboard>
<backspace>Close</backspace>
<escape>Close</escape>
</keyboard>
</PVROSDCutter>
<MyTVSettings>
<keyboard>
<backspace>PreviousMenu</backspace>
</keyboard>
</MyTVSettings>
<FileBrowser>
<keyboard>
<space>Highlight</space>
</keyboard>
</FileBrowser>
<ShutdownMenu>
<keyboard>
<s>Back</s>
</keyboard>
</ShutdownMenu>
<AddonInformation>
<keyboard>
<i>Back</i>
</keyboard>
</AddonInformation>
<AddonSettings>
<keyboard>
<delete>Delete</delete>
</keyboard>
</AddonSettings>
</keymap>
This looks for me like the key event "KEY_OK" should be translated by the Lircmap into "select" which should end up with the keymap into " <select>Select</select>" but it isn't working.
Nothing happens when i press the OK button while in the main menue of XBMC. Although left, up, right, down, mute and others are working fine.
Anyone any idea?
Thank you in advance!