I'm currently setting up a guns-only game cabinet, and I'm looking into adding Ocean Hunter on the Supermodel emulator.
To enable dual guns, Supermodel must be run with the -input-system=rawinput command line. So far, so good.
I also needed to set the controls in the .ini file to read the guns as mouse3 and mouse4, for whatever reason, but that works, too.
My problem:
All my other emulators have the Q key configured to exit the emulator and F8 to restore a saved state.
Supermodel uses Esc and F7 respectively, and this is hardcoded and can't be changed via the .ini file.
I've written a script in AutoHotkey that changes the relevant keys, and it works fine in Star Wars Trilogy Arcade, since that doesn't use the rawinput option.
However, using rawinput blocks AutoHotKey's inputs. I've played around with SendPlay and SendEvent instead of SendInput, to no avail. If I disable rawinput, the second gun doesn't work.
Are there any AHK pros out there that can tell me how (or even if) I can get AutoHotKey to get past the rawinput barrier?
The alternative would be to go and remap MAME, snes9x, nestopia, Daphne, Dolphin and Phoenix to use Esc and F7, and I'd rather avoid that hassle if I can.
Any help is much appreciated.