AppleTV MPlayer keymap

It is possible to assign key mapping from the Apple remote control to keystrokes for MPlayer. It is also possible to make custom mappings from keystrokes to commands in MPlayer.

Mapping Remote Control Buttons to Keystrokes
The first, mapping buttons on the Apple remote control to keystrokes, is done with nitoTV in the settings menu. I have the following mapping.

Note that you can have multiple keymaps. You can switch to the next keymap by keeping the menu button pressed down for a few seconds.

Since I was not able to map buttons to keystrokes like "delete", "up arrow", etc. in the settings menu, I had to resort to single characters. It took me a while to find one-key equivalents for all commands. The follow list is what I found.


 * e, w: zoom in, zoom out (panscan)
 * X, C: rewind, forward 10 minutes
 * Z, U: rewind, forward 1 minute
 * L, R: rewind, forward 10 seconds
 * p: pauze/continue
 * j: switch subtitle language
 * # : switch audio language
 * q: stop playing and quit
 * z, x: adjust subtitle delay by -/+ 0.1 second
 * r, t: adjust subtitle position
 * -, +: adjust audio delay by -/+ 0.1 second
 * /, *: decrease, increase volume
 * 0, 9: decrease, increase volume
 * <, >: backward, forward in playlist
 * [, ]: Decrease, increase current playback speed by 10%.
 * {, }: Halve/double current playback speed.
 * .: step frame (pauze and advance to the next frame)
 * y, g: Step backward, forward in the subtitle list.

Mapping Keystrokes to Actions in Mplayer
In case you want to have other actions for each keystroke, you need to edit the input.conf file.