Files required to use most RC6 MCE remotes with Kodi and Ubuntu 17, without LIRC.
See Wiki
sudo ir-keytable -c -w /etc/rc_keymaps/rc6_mce
Because I couldn't be fucked fucking around with trying to get LIRC and Kodi and devinput working with Ubuntu 17.
Edit /etc/rc_keymaps/rc6mce and replace the KEY commands with the equivalient Kodi keyboard shortcut.
An example would be changing KEY_BLUE to KEY_I if you wanted to make it the info key.