Because we do this before the keypresses reach X11, it avoids the dreaded problem of keys with codes LIRC is used by many programs to receive input from a remote control.
When LIRC was first written, it was great to have a shared API so you could use any remote with any program.
It can be really frustrating to get a remote control to work properly under Linux with LIRC and programs like Myth TV, mplayer or XMBC.
This article shows how to avoid using LIRC altogether: Treat the remote like any other keyboard, then change the keyboard mapping to use the application's key shortcuts.
This brief tutorial is going to show you how to do it.
Recently, I tried (not for the first time) to get one of my two remotes working with Myth TV and got annoyed at LIRC again: Only some buttons on the remote worked, others such as the all-important "OK" button were not recognized in Myth TV.