PDA

View Full Version : Lircmap.xml and Universal Remote Controls


Nick8888
2008-03-11, 03:46
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, 16:35
[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://xbmc.org/trac/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