Kodi Community Forum
Lircmap.xml and Universal Remote Controls - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Lircmap.xml and Universal Remote Controls (/showthread.php?tid=31858)



Lircmap.xml and Universal Remote Controls - Nick8888 - 2008-03-11

I have been setting up my remote control and had a few buttons left over with weren't in lircmap.xml. First of all I tried to add custom buttons such as

<custom1>toggle</custom1>
<custom2>ARC</custom2>

However these don't work.

After looking through the keymap.xml I did manage to add three more custom buttons with the labels.

<clear></clear>
<hash></hash>
<star></star>

There is also
<enter></enter> but this only allows the button to be "select"

Does anyone else have any tips on adding extra buttons to lircmap.xml or

[FEATURE REQUEST]
can any developers add a few label options such as:
<custom1></custom1>
through to
<custom20></custom20>
[FEATURE REQUEST]

Cheers
Nick


- Temar - 2008-11-29

Nick8888 Wrote:[FEATURE REQUEST]
can any developers add a few label options such as:
<custom1></custom1>
through to
<custom20></custom20>
[FEATURE REQUEST]

I had exactly the same problem, that's why I patched the source code myself. You can download the patch from http://trac.xbmc.org/ticket/5384

Instead of using the normal names for your buttons, you now tag them as <obc0> - <obc254>. So your Lircmap.xml could look like this:

<obc1>Left</obc1>
<obc2>Right</obc2>
<obc3>Up</obc3>
<obc4>Down</obc4>

You can then use these obc tags to assign XBMC actions in Keymap.xml.

Temar