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 Mapping Issues: A becomes Y

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.4controller map
    8 Posts 2 Posters 675 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.
    • K
      kerflug
      last edited by

      I'm having an issue with button mapping. I've done the process dozens of times through ES and never had an issue, but for some reason the mappings in ES aren't translating to the emulators in this image like they have in all of the others. I use Mike Tyson's Punchout on NES and Track and Field on Arcade to test my controls. The A button becomes the Y button in the Emulator but works as it should on the menus. I tried to configure through Retroarch with no luck either, same mapping issues. Again, i've does this dozens of times with other images and never had the issue. I know the A/B swap, but I've never had A turn into the Y button.

      Any ideas?

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @kerflug
        last edited by

        @kerflug What 'image' is this that you speak of ?

        K 1 Reply Last reply Reply Quote 0
        • K
          kerflug @mitu
          last edited by

          @mitu said in Controller Mapping Issues: A becomes Y:

          @kerflug What 'image' is this that you speak of ?

          Just the standard RetroPie install. I don’t know what’s going on. I’ve been trying out different controllers but after having this issue I went back to my base Logitech 710 and am having the trouble. Same problem with all controllers.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @kerflug
            last edited by

            @kerflug Do you have any key/core re-mapping configured in RetroArch or enabled save_on_exit for the RetroArch configuration ?
            Compare the button configuration of the gampad saved in /opt/retropie/configs/all/retroarch-joypads with the button values reported by `jstest' (https://retropie.org.uk/docs/RetroArch-Configuration/#determining-button-values) and correct them if there are discrepancies.

            1 Reply Last reply Reply Quote 0
            • K
              kerflug
              last edited by kerflug

              Thanks mitu, but yes to both of those.

              Here is the relevant part of the Logitech cfg file

              input_a_btn = "1"
              input_b_btn = "0"
              input_reset_btn = "0"
              input_enable_hotkey_btn = "8"
              input_l_y_plus_axis = "+1"
              input_r2_btn = "7"
              input_r3_btn = "12"
              input_x_btn = "3"
              input_menu_toggle_btn = "3"
              input_l_x_minus_axis = "-0"
              input_y_btn = "2"
              input_r_x_plus_axis = "+2"

              When I use jstest the presses correspond to what I have in this file, but when I play the NES (and Arcade, etc) the Y button press results in the B action.

              I've gone into Retroarch and binded the keys with no luck and I do have Save on Exit activated.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @kerflug
                last edited by mitu

                @kerflug said in Controller Mapping Issues: A becomes Y:

                Thanks mitu, but yes to both of those.

                Then this is most likely your problem. Disable save_on_exit and re-map your controller in RetroArch, then save the Core remapping and see if it's persistent.

                1 Reply Last reply Reply Quote 0
                • K
                  kerflug
                  last edited by

                  Thank you, excuse my rookie question but why is Save on Exit bad?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @kerflug
                    last edited by

                    @kerflug Read this topic on why this is not advisable and can cause problems.

                    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.