Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: BadMouth on June 30, 2014, 10:54:39 pm

Title: xbox360 controller order confusing me
Post by: BadMouth on June 30, 2014, 10:54:39 pm
Finally getting around to remapping everything in my cab to use hacked xbox360 fightpads instead of my usual keyboard encoder.
They are pluged directly in the usb slots on the mobo, no usb hubs.

They aren't changing positions or anything, but steam games are reporting them in a different order than MAME and other emulators.
I plugged my player 1 side in first, waited until it was completely installed, then plugged P2 side in.
Mapped MAME, P1 shows as Joy1, P2 shows as Joy2.  Model 2 emulator goes the same way, so I assume everything is good.

Then I go to remap some steam games and I notice that the controllers are showing as reversed.
It doesn't affect much until I get to DuckTales, which apparently only accepts input from controller #1 so it only works from the player 2 side.  Either one  worked for most 1 player games and for SSFIVAE, but when setting up a vs match it managed to confuse me.

Anyone else run into this?
Is there a way to change their order?
Title: Re: xbox360 controller order confusing me
Post by: Howard_Casto on July 01, 2014, 12:28:45 am
I'm not sure about how to fix it, but I can tell you what is going on. 

360 controllers support both Xinput and Direct Input. 

Older games use direct input which orders your gamepads along with all of your usb input devices.  Newer games use Xinput which is 360 controller specific and uses the sync order (the first 360 pad is #1, the second is #2, ect...)

You can't really alter the xinput order, but there are utilities that can sometimes force the direct input priority... so try to reverse those. 
Title: Re: xbox360 controller order confusing me
Post by: BadMouth on July 01, 2014, 07:10:25 am
Thanks man.  I figured as such, but wanted to make sure there wasn't another way to reassign the xinput devices before going to the trouble of swapping the pcbs between P1 and P2 sides.  I wish I'd used molex connectors instead of barrier strips.  :lol

Before rewiring, I swapped which usb ports that the controllers were plugged into just to see what would happen.  As expected it didn't do anything for the xinput order, but after rewiring the pcbs to fix the xinput order I went back into MAME and discovered the dinput order had changed in my favor.  So the controllers now show in the correct order for both protocols and I didn't have to redo MAME.   :applaud: