Map a remote control button
#1
I have XBMC running on Ubuntu with a Hauppauge 350 remote. Everything is working fine except that I currently have to press the C key on the keyboard to bring up the context menu on video files in order to delete them. I want to map a button on the remote to bring up the context menu but all of the related wiki pages as well as other articles show the editing of files that I do not have.

They reference keymap.xml/remote.xml that I do not have. The closest thing I have to that is ~/.lirc/xbmc

Any help is appreciated.
Reply
#2
What your looking for is the Lircmap.xml file. There is a default one used by XBMC, located in "/usr/local/share/xbmc/system/", but you should crate a new one in your userdata folder just for your remote.

Here is the Wiki page for more information. (Lircmap.xml)

The button tag you want to map is <title></title>.
Reply
#3
I do not have a Lircmap.xml in my ~/.xbmc/userdata directory.

There is a keymap directory but it is empty.
Reply
#4
I ran irw in the shell and pressed the desired button to get the button name and remote name fom the lirc config and then created the ~/.xbmc/userdata/Lircmap.xml file with the following contents

Code:
<lircmap>
       <remote device="Hauppauge_350">
               <title>Radio</title>
       </remote>
</lircmap>

Where Radio is the button name displayed in irw
and Hauppauge_350 is the remote name displayed in irw

Then I restarted XBMC and it is working.

Thanks for the assistance.
Reply
#5
Thumbs Up 
No problem, glad it's working for you. Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Map a remote control button0