
Open your neogeo.ini file and add: ctrlr neogeo-fight
#Mame os x keyboard mapping driver
Go to your mame folder > ini create a new folder called source, inside this folder you create a file named neogeo.ini for neogeo system, cps1.ini for CPS1 games, cps2.ini for CPS2 games, etc (use your "Machine Information" to see what driver mame uses or mame64 gamename -ls from the command prompt or terminal). Remember that inside this neogeo-fight.cfg you can also add your controller static ID settings to make sure mame always follow these settings. If you want to use yourgame.cfg as a default key mappings to some system like neogeo for instance, you follow the instructions here, rename your yourgame.cfg to whatever you like, say neogeo-fight.cfg and move this file to your ctrl folder. cfg files, if you map your control or whatever to a specific game mame will save it as yourgame.cfg inside the cfg folder, much of this information is covered in another documentation here, use Google translate to translate it from Portuguese to English. For controls, joysticks and keyboards mame uses. Some of this issues are already covered here. I've got a post about this issue on the GameEx forums as well since it seems like an issue with the front end, and not a MAME issue, but I'm really puzzled how it would launch differently since GameEx uses the same MAME directory I use to run it manually.Īnyone have any ideas on where to start on this? Only the config outside GameEx is changed. If I launch MAME from GameEx and get the controls working they aren't changed between GameEx restarts or system reboots. I tried reconfiguring them all outside GameEx, but when I fired up MAME from GameEx they were changed again.
#Mame os x keyboard mapping code
I'm able to reconfigure controls on a MAME session launched from GamEx, but the keys from my wireless keyboard and my tankstick show as only the key code sent, (for example up on the P1 joystick of the tankstick and up on the wireless keyboard just show as "up" without a kdb device). Today, when launching a game from my frontend, (GameEx), I noticed all the keys that had a "kbd device" mapped to them had either had the kbd device removed, or in cases where it was the only configured input, they were changed to "n/a".įor example my light gun trigger and a tankstick button were both configured in MAME as button one, now only the light gun trigger is in the settings. Keys on the wireless keyboard show up as kbd 1.


The tankstick shows up as a keyboard, and when I map keys I get kbd 3 up for up on the P1 joystick. I have a tankstick controller with track ball, a wireless keyboard for admin/config duties, a turbo twist spinner, and an aimtrak light gun, all connected to my PC via USB.Īll of these are recognized in MAME and map as separate devices outside my front end and function as expected.
