I hate to be a bummer, but I'm not sure how much of a problem this is anymore for most FF7 users now that Steam can do this itself with any controller
(it used to only work with the Steam Controller). You can have arbitrary configurations per-game.
Even for people who aren't using Steam, this has been done many times in the past with tools like:
- Joy2Key (Free, GPL) - Discontinued, and not the best software, but it's free and it works. Might have trouble on newer systems. Seems to have been supplanted by a paid fork.
- Pinnacle Game Profiler (On sale for $6, possibly permanent) - This was my recommendation until Steam added mapping. Still good software, years of profiles, but maybe not worth the money to everyone when there's free options available.
- Xpadder ($10) - It works, but the UI is junk. I'm slow to recommend this to anyone, but some people swear by it.
- AntiMicro (Free, GPL) - I haven't used this, but it looks to be pretty good software. Probably the best choice for people who don't want to use commercial software or Steam.
Personally, Steam's is my favorite because for games that DO support gamepads it's really easy to remap only some of the buttons. Want to swap X and O, without changing anything else? Easy. Want to make the left stick double as the D-Pad in a game with no analog support? Easy peasy.
Don't get the wrong idea; I do think there's merit behind an AHK-based solution. It's very lightweight. For someone who knows AHK, it's more configurable than anything else. A little bit of know-how, and someone could set up all kinds of crazy things, rapidfire, etc. But I don't know how many people will be interested in this except those that already use AutoHotKey.