MPlayer allows you bind any key/button to any MPlayer command using
a simple config file. The syntax consist of a key name followed by
a command. The default config file location is $HOME/.mplayer/input.conf
but it can be overridden using the -input conf option (relative path are
relative to $HOME/.mplayer).