How to change keymap on RaspBMC to fit MCE remote

How to change keymap on RaspBMC to fit the Microsoft MCE remote

  1. Connect to RPi using Putty or other SSH-client
  2. 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
  3. I use nano to edit the remote.xml file. Use whatever editor you want.
    sudo nano /home/pi/.xbmc/userdata/keymaps/remote.xml
  4. In the global-section I edited the command of the yellow button to show the context menu.
  5. Default is:
    <yellow>XBMC.ActivateWindow(MyMusic)</yellow>
    New value is:
    <yellow>ContextMenu</yellow>
  6. Hit CTRL+X, Press Y to confirm and Enter to execute. Now changes are saved to the file.
  7. 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.
“”;s:7:””summary””;s:0:””””;s:6:””format””;s:13:””filtered_html””;s:10:””safe_value””;s:1248:””

How to change keymap on RaspBMC to fit the Microsoft MCE remote

  1. Connect to RPi using Putty or other SSH-client
  2. 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

  3. I use nano to edit the remote.xml file. Use whatever editor you want.

    sudo nano /home/pi/.xbmc/userdata/keymaps/remote.xml

  4. In the global-section I edited the command of the yellow button to show the context menu.
  5. Default is:

    <yellow>XBMC.ActivateWindow(MyMusic)</yellow>

    New value is:

    <yellow>ContextMenu</yellow>

  6. Hit CTRL+X, Press Y to confirm and Enter to execute. Now changes are saved to the file.
  7. 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.