Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: anissem on September 16, 2011, 08:51:06 pm

Title: USB Joystick confusion in MAME.
Post by: anissem on September 16, 2011, 08:51:06 pm
I've recently added USB PC NES & SNES controllers to my MAME cabinet and now my USB joystick and buttons no longer control MAME. It appears that MAME is only paying attention to 'JOYSTICK 0' & 'JOYSTICK 1' for input. Even though I've setup the config file to point towards the proper numbers as now they've all shifted with the new controllers... Is there a way to force my USB joysticks & buttons to be 'JOYSTICK 0' & 'JOYSTICK 1'. Right now I can only fix it by removing the new USB controllers from the mix as windows then reassigns them as 0 & 1.
Title: Re: USB Joystick confusion in MAME.
Post by: drventure on September 16, 2011, 10:07:13 pm
You're probably suffering from the "Windows USB device remapping" problem

Mame refers to USB devices specifically by their enumeration order, so if you install other devices, they can all shift around, when means Mame won't refer to the proper devices anymore, and you'll have to reconfigure.

If you install all your devices, then config mame and never add or remove (or relocate) devices, that's all you need to do.

If you plan on pluging and unplugging devices often, though, you might want to take a look at my ControllerRemap utility (the link is in my sig). It allows you to setup the mame config file such that things can be remapped properly when you start mame, no matter where the devices currently enumerate.
Title: Re: USB Joystick confusion in MAME.
Post by: animatorJustin on September 16, 2011, 11:50:32 pm
+1 to controller remap. Great tool to help with wireless controlers also.
Title: Re: USB Joystick confusion in MAME.
Post by: anissem on September 17, 2011, 02:13:59 pm
Thanks Guys!