Remote control media player without lirc using ir-keytable

I want to use my TV remote to control my media player. Since understanding infra-red commands is now built into the Ubuntu kernal, i wanted to stop using lirc, and instead use ir-keytable. The aim is to control XBMC with the minimum of fuss!

kodi, linux, ubuntu, xbmc