Xbox 360 controller - Triggers as buttons or Axes?
-
Hoping someone can help me out. I mainly use official Xbox 360 wireless controllers with all my RetroPie setups. However I have noticed that when mapping them in emulation station sometimes the triggers are perceived as buttons and other times the are seen as axes. This difference seems to occur after a kernel/firmware update and it messes up any existing configs that I have for many of the standalone emulators. If the triggers are perceived as buttons then the button numbering/labels are shuffled around for many of the other buttons and all my configs are essentially scrambled. In particular in PPSSPP, if the the triggers are seen as buttons then for some reason, left direction on the right analog stick is not recognized at all. I have seen many other threads on the forums that discuss this issue and the usual advice is to update xpad driver. However this doesnt always work for me and I have to resort to rolling back my firmware/kernal.
So I guess my question is, is there a way for me to set xpad to only see the triggers as axes instead of buttons?
-
I used to have a similar problem with my Xbox One pad. I found that editing the config fire manually fixed it. I did post a thread here with the correct settings which may help: https://retropie.org.uk/forum/topic/20854/xbox-one-pad-not-working-until-trigger-pressed-fix
-
Found the option I was looking for in /etc/modprobe.d/xpad.conf
Changing from
options xpad triggers_to_buttons=1
tooptions xpad triggers_to_buttons=0
solved my issue.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.