AM2R-Community-Developers / AM2R-Community-Updates

Source code for AM2R 1.5.2+, free of copyrighted assets and trademarks.
https://www.reddit.com/r/AM2R/
Other
140 stars 27 forks source link

multiple Gamepad Support #76

Open Nicholas-Steel opened 3 years ago

Nicholas-Steel commented 3 years ago

Is your feature request related to a problem? Please describe. Game only recognizes the gamepad that Windows assigns to Player 1 (top left quadrant if looking at an Xbox 360's LED indicators).

Describe the solution you'd like Game to either accept input from any plugged in gamepad or offer an option to choose which gamepad I want to play with. Preferably with support for both Direct Input and XInput.

Describe alternatives you've considered Since Windows offers no widely supported way to re-assign what Player a gamepad is assigned to (people have been begging for it for over a decade) and the game offers no method, the only way to get my preferred gamepad recognized by Windows is to either physically unplug my Xbox 360 gamepad or to disable the Xbox 360 gamepad in Device Manager (requires a computer reboot to complete disabling of Xbox gamepad), neither are desirable.

Other info I have an Xbox 360 Microsoft branded gamepad and a Logitech F310 gamepad and I'd like to use the Logitech controller, the game ignores it regardless of if it is set to XInput or DirectInput mode because the Xbox 360 controller's driver assigns that gamepad to Player 1 by default.

I have already tried this (very few games obey this): image image

Miepee commented 3 years ago

IIRC AM2R only uses the first controller it can find. So yeah, a toggle / an option to choose a controller would probably be the best solution to this.

Lojemiru commented 3 years ago

Hey there! I don't think this is actually possible with the way the current controller library is set up, but we'll definitely look into it.