How to change keymap on RaspBMC to fit the Microsoft MCE remote
- Connect to RPi using Putty or other SSH-client
-
Copy the default XBMC keymap file to your home directory.
cp /opt/xbmc-bcm/xbmc-bin/share/xbmc/system/keymaps/remote.xml /home/pi/.xbmc/userdata/keymaps/remote.xml
-
I use nano to edit the remote.xml file. Use whatever editor you want.
sudo nano /home/pi/.xbmc/userdata/keymaps/remote.xml
- In the global-section I edited the command of the yellow button to show the context menu.
-
Default is:
<yellow>XBMC.ActivateWindow(MyMusic)</yellow> <yellow>ContextMenu</yellow> - Hit CTRL+X, Press Y to confirm and Enter to execute. Now changes are saved to the file.
- Restart your RaspBMC for the changes to take effect. In my case I needed to change the command of the yellow button but you can change whatever parameter that you need. You can find the full list of commands here.
How to change keymap on RaspBMC to fit the Microsoft MCE remote
- Connect to RPi using Putty or other SSH-client
-
Copy the default XBMC keymap file to your home directory.
cp /opt/xbmc-bcm/xbmc-bin/share/xbmc/system/keymaps/remote.xml /home/pi/.xbmc/userdata/keymaps/remote.xml
-
I use nano to edit the remote.xml file. Use whatever editor you want.
sudo nano /home/pi/.xbmc/userdata/keymaps/remote.xml
- In the global-section I edited the command of the yellow button to show the context menu.
-
Default is:
<yellow>XBMC.ActivateWindow(MyMusic)</yellow>
New value is:
<yellow>ContextMenu</yellow>
- Hit CTRL+X, Press Y to confirm and Enter to execute. Now changes are saved to the file.
- Restart your RaspBMC for the changes to take effect. In my case I needed to change the command of the yellow button but you can change whatever parameter that you need. You can find the full list of commands here.