how do programs catch hotkeys like that? all window managers have this - fluxbox, kde, gnome I'm sure, and they catch your keypress no matter what program has active keyboard focus.
devices in /dev/input are all (or should be, anyhow) unreadable by any but root, so that idea is out the window.