Just use XEV and XMODMAP. SIMPLE and better than dedicated programs or
emulating crappy Windows apps. All my LINUX stuff uses scripts to redefine
keys and change screen modes and then, when the program is done and exits,
set everything back to normal. It's about just as easy to use XMODMAP and
make a script as it is to make an AHK script, but with the added bonus of
not having to run an emulated Windows app.
And for people saying you can't do this or that... WRONG.
You can do more from Linux shell than any other OS and you can do everything
we're talking about, including moving windows around, and still be using
system friendly system commands that are built in!