Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: monkeybomb on October 26, 2015, 02:34:10 pm
-
If I plug in a gamepad and then another of the same type, how does windows determine player 1 and player 2? I have a pair of gamepad controllers that I need to swap and it doesn't matter what I plug in first or if either/both of the gamepads are plugged in at boot-up. How is it assigning the number?
-
I'm sure that someone more knowledgeable will be along with a better explanation, but in my experience:
xinput gamepads (xbox 360 controllers)have some sort of on board device ID and windows assigns the player # based on that.
(so they can't be re-ordered)
direct input gamepads are assigned an order based on when they are plugged in.
This made an extra wrinkle in using hacked xbox360 fightpads on my cab sincexbox360 controllers are both direct input gamepads and xinput gamepads based on what the game supports. I had to figure out which pad would be seen as xinput controller #1, then unplug them and replug them in the correct order so it would also show up as controller #1 for games that only accept direct input.