Jump to content
LaunchBox Community Forums

Mame and xbox controllers


Multimike

Recommended Posts

Is there a way to make mame use the same numbers for my Xbox controllers everytime I boot up my pc??  Right now I’m using the ctrlr file to make my guns work everytime is there a line of code I could add to that so the numbers stay the same? Like right now if I set them up and then restart my pc the joy number will change from let’s say number 1 to 3 or 4. It’s super annoying. Any help here would be awesome. Thanks 

Link to comment
Share on other sites

You can use MAME stable controller IDs to help with the issue: MAME stable controller IDs

One problem is the IDs between the same Xbox controllers aren't unique (unless the situation has improved), so you could set up 2 xbox controller to specific IDs, but you can't make sure a specific xbox controller is the first or second xbox controller .

For example you can map 2 xbox controller to MAME joystick 7 and one to MAME joystick 8. Which ever one is scanned or attached first will be assigned to MAME joystick 7 and the next one as MAME joystick 8. So within MAME you can map controls to joystick 7 and 8 for  player 1 and player 2, but you don't know for sure which Xbox controller will be which.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...