RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Controller 'jstest' does not match actual buttonmap

    Scheduled Pinned Locked Moved Help and Support
    controllerbuttonmapn64
    4 Posts 2 Posters 834 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      Oppo_Lock
      last edited by Oppo_Lock

      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!

      1 Reply Last reply Reply Quote 0
      • O
        Oppo_Lock
        last edited by Oppo_Lock

        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?

        1 Reply Last reply Reply Quote 0
        • O
          Oppo_Lock
          last edited by

          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 bumper

          Hope that helps somebody!

          ClydeC 1 Reply Last reply Reply Quote 1
          • ClydeC
            Clyde @Oppo_Lock
            last edited by

            @Oppo_Lock Thanks for sharing your solution.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            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.