Skip to content

Instantly share code, notes, and snippets.

@andrsd
Created April 15, 2016 22:38
Show Gist options
  • Save andrsd/ec7df1900b11f0a0c32e29858bf248bc to your computer and use it in GitHub Desktop.
Save andrsd/ec7df1900b11f0a0c32e29858bf248bc to your computer and use it in GitHub Desktop.
Remapping keys for Apple remote (silver) in Kodi

Using Apple Remote (silver) with Kodi

Having Kodi installed on Mac mini and trying to use Apple Remote?

You do not need lircd, the remote behaves like a keyboard and sends VolumeUp, VolumeDown, Back, Forward, Enter, Menu and PlayPause when a buton is pressed. Thus, we need to change the key mapping if we want the behavior of moving left, right, up, down and back.

  1. Place the file apple.remote.xml (below) in KODI_DATA_DIR/userdata/keymaps.
  2. Restart Kodi.
<!--
Apple Remote
-->
<keymap>
<global>
<keyboard>
<volume_up>Up</volume_up>
<volume_down>Down</volume_down>
<browser_back>Left</browser_back>
<browser_forward>Right</browser_forward>
<key id="0xf200">Back</key>
</keyboard>
</global>
</keymap>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment