Controller 'jstest' does not match actual buttonmap
-
Hi Everybody
Super noob here, but I feel I have searched far and wide and have no other choice but to ask for help.
I have retropie and three gamepads, one 8bitdo snes controller that worked right out of the box, one 8bitdo N64 controller I finally got working editing:
opt/retropie/configs/n64/mupen64plus.cfg
and a third controller, N64, found here
I've had a hell of a time getting this wired N64 controller to work. Right now I have everything working, but the 'B' Button will not do anything. Originally when using the configure tool in ES, the 'A' and 'B' buttons were flipped, and the 'C' Buttons were all out of whack.
So, I used the
jstest /dev/input/js0
tool and its showing my A button as 6, and my B button as 8. BUT with these settings, my A button does nothing and my B button is 'jump' (what the A should be).
I can reverse them in
/opt/retropie/configs/n64/mupen64plus.cfg
or
/opt/retropie/configs/all/retroarch/autoconfig/DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick\ \ .cfg
and can make the A button correct (wants to be 8), but then the B Button does nothing.
Really at my whits end, and hopefully I'm complying with all of the forum rules. I just want to get to playing A Link to the Past!
-
Update: further destroyed my previous controller settings by resetting inputs using
sudo ~/RetroPie-Setup/retropie_setup.sh
BUT in the process, my other wireless N64 Controller now has the exact same issue as the wired one (even though button maps are different).
Issue is still "A" button does nothing, "B" button is jump. ("A" Should be jump and "B" punch)
Have I messed something up in retroarch?
-
Well, It seems to just be a thing with these controllers. For anybody searching in the future, the solution was to wipe the cutoconfigs clean, then do an autoconfig using the following values:
For Dpad, map its physical equivalent.
Start = Start
Select = Not Defined
A = Map it to the L Bumper
B = Map to A button
X = Not Defined
Y= Map to B button
L Bumper = Not defined (all the games on there didn't use it from what I saw, alternatively you can sacrifice one of the Dpad buttons for L bumper.)
R Bumper = R Bumper
L Trigger = Z
R Trigger = Not defined
L Stick button = Not defined
L Analog is the center stick
R Analog is the C buttons.
Map the hotkey to the L bumperHope that helps somebody!
-
@Oppo_Lock Thanks for sharing your solution.
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.