So i've been struggling to get Injustice Gods Among Us working with the controls on my cabinet for a while now. I have an ipac 4 that i created a custom configuration for when i first got it and then setup mame to match it. this has been working well, until i tried to get some different PC games working. Most of them would let me remap the controls, but sometimes they wouldn't like specific keys. To deal with this, i've been launching these games with an autohotkey script that launches the game, remaps several keys, then checks to see if the application is still running, and closes once it isn't. This was worked for most games, but for some reason, i just could not get Injustice to work. I eventually just quit trying and forgot about it.
Today, i suddenly had a realization that I was going about it all wrong. Instead of remapping keys with autohotkey, i can simply remap the keys on the ipac itself. I already have a batch file to launch each pc game, since that is the easiest way to get them setup in Mala. I just now use the WinIpac software to make custom configuration files for the games in question. then in the batch file, it loads the config into the ipac, launches the game, and then it loads the mame config back onto the when the game exits.
I didn't have time to go through all of my pc games and mess with it yet, and i'm not sure it is going to help with MK9 since i don't beleive it allows two players to share a keybaord.(it is using some virtual xbox 360 controller program) but it worked very well for:
Injustice
Geometry Wars
PacMan Championship Edition
Shovel Knight
i'm sure this might seem obvious to you guys, but i just realized this today and it made my setup so much easier to work with. I just wanted post this in case anyone else was in the same situation as me.