2015-05-28, 16:37
Hi,
I'm running Kodi 14.2-4 on Arch Linux x64, from stock repo.
Currently I have setup Lirc to read the keys of my IMON remote and have tested using the "irw" command.
For some reason, I am having issues with some keys...
I am currently going through these guides:
http://kodi.wiki/view/keymap
http://kodi.wiki/view/Window_IDs
http://kodi.wiki/view/Action_IDs
My Lircmap.xml file is this:
and keymaps/remote.xml file is this:
....currently I am re-configuring from another machine which has a HAMA remote connected to it so some features are not mapped to the correct keys.
My issue is with basics, for some reason the ENTER and BACKSPACE keys aren't functioning.
Running irw, I get the proper map; eg. the ENTER key generates: KEY_ENTER
From my config I have mapped this key to a variable called (select) in Lircmap.xml and tied that to "Select" in remote.xml
For some reason when I press the ENTER key on the remote it doesn't actually do what I have set, as stated irw is reading the input correctly. On my HAMA remote this works fine on the other machine.
I have just looked at the log file but unfortunately nothing seems to be mentioned in there...
Is it possible that for some reason there is a "global" override that is taking priority over my local config? Or is it something else?
Thanks.
I'm running Kodi 14.2-4 on Arch Linux x64, from stock repo.
Currently I have setup Lirc to read the keys of my IMON remote and have tested using the "irw" command.
For some reason, I am having issues with some keys...
I am currently going through these guides:
http://kodi.wiki/view/keymap
http://kodi.wiki/view/Window_IDs
http://kodi.wiki/view/Action_IDs
My Lircmap.xml file is this:
Code:
<lircmap>
<remote device="IMON">
<livetv>KEY_TV</livetv>
<power>KEY_POWER</power>
<myvideo>KEY_VIDEO</myvideo>
<mymusic>KEY_AUDIO</mymusic>
<mypictures>KEY_IMAGES</mypictures>
<red>RED</red>
<display>TV</display>
<title>PICTURES</title>
<reverse>KEY_REWIND</reverse>
<play>KEY_PLAY</play>
<forward>KEY_FASTFORWARD</forward>
<skipminus>KEY_PREVIOUS</skipminus>
<skipplus>KEY_NEXT</skipplus>
<stop>KEY_STOP</stop>
<pause>KEY_PAUSE</pause>
<record>KEY_RECORD</record>
<back>KEY_BACKSPACE</back>
<info>INFO</info>
<up>KEY_UP</up>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<down>KEY_DOWN</down>
<select>KEY_ENTER</select>
<menu>BTN_LEFT</menu>
<volumeplus>KEY_VOLUMEUP</volumeplus>
<volumeminus>KEY_VOLUMEDOWN</volumeminus>
<mute>KEY_MUTE</mute>
<channelplus>KEY_CHANNELUP</channelplus>
<channelminus>KEY_CHANNELDOWN</channelminus>
<pageplus>KEY_CHANNELUP</pageplus>
<pageminus>KEY_CHANNELDOWN</pageminus>
<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>
<clear>CLEAR</clear>
<start>CLOSE</start>
<lang>KEY_LANGUAGE</lang>
<media>KEY_MEDIA</media>
</remote>
</lircmap>
and keymaps/remote.xml file is this:
Code:
<keymap>
<global>
<remote>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Select</select>
<back>ParentDir</back>
<menu>PreviousMenu</menu>
<info>Info</info>
<display>FullScreen</display>
<title></title>
<play>Play</play>
<pause>Pause</pause>
<reverse>Rewind</reverse>
<forward>FastForward</forward>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<stop>Stop</stop>
<power>XBMC.ActivateWindow(ShutDownMenu)</power>
<media>XBMC.ActivateWindow(Home)</media>
<mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
<mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
<myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
<red>XBMC.ActivateWindow(12600)</red>
<livetv>XBMC.ActivateWindow(10615)</livetv>
<lang>AudioNextLanguage</lang>
<record>Info</record>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<channelplus>PageUp</channelplus>
<channelminus>PageDown</channelminus>
<pageplus>PageUp</pageplus>
<pageminus>PageDown</pageminus>
<mute>Mute</mute>
<hash>ShowSubtitles</hash>
<clear>PreviousMenu</clear>
<start>XBMC.EjectTray()</start>
</remote>
</global>
<SlideShow>
<remote>
<pageplus>ZoomIn</pageplus>
<pageminus>ZoomOut</pageminus>
<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>
<zero>ZoomNormal</zero>
</remote>
</SlideShow>
</keymap>
....currently I am re-configuring from another machine which has a HAMA remote connected to it so some features are not mapped to the correct keys.
My issue is with basics, for some reason the ENTER and BACKSPACE keys aren't functioning.
Running irw, I get the proper map; eg. the ENTER key generates: KEY_ENTER
From my config I have mapped this key to a variable called (select) in Lircmap.xml and tied that to "Select" in remote.xml
For some reason when I press the ENTER key on the remote it doesn't actually do what I have set, as stated irw is reading the input correctly. On my HAMA remote this works fine on the other machine.
I have just looked at the log file but unfortunately nothing seems to be mentioned in there...
Is it possible that for some reason there is a "global" override that is taking priority over my local config? Or is it something else?
Thanks.