The MX6 is just another keyboard to the Raspberry Pi. On the front it is a remote, and on the back a keyboard, but either way the Raspberry only sees a regular keyboard.
But to use custom key bindings for OMXPlayer, I wanted to know what each of the front-facing keys actually maps to. That way I can reassign them as I please.
In green all the keys that can be reassigned. In red those that cannot. Note that some of the buttons are to control the remote (microphone and pointer) or to mimic another remote’s button, so it makes sense that you can’t get the codes for those keys.
However, it is unfortunate that the sound up/down and back/play/forward buttons don’t expose their hex codes so that I can use them for OMXPlayer.
Here’s a template key binding file for use with OMXPlayer which follows the default configuration: