I think the problem here is Ghallo is trying to get you to copy how other programs handle keymaps.

Lets start from scratch instead, and just make it completely logical by key name. (forget what WoW calls keys - who gives a crap about what wow is doing - lets do it at the OS level).