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.