Is the official remote control open source? I would like to use it for non-media center purposes. How do I get the key codes? Can I flash custom firmware on the reciever/remote?
The hardware and software that runs on the remote is unfortunately not open source.
If you run Linux, running evtest should show you the keycodes as interpreted by your OS.
The remote controller behaves like a keyboard. Depending on which version you have, the keys are slightly different.
Does your remote have volume buttons or FF/RW buttons?