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

    Mapping issues 8Bitdo SN30 Pro+ in ROM

    Scheduled Pinned Locked Moved Help and Support
    8bitdo sn30 pro
    7 Posts 3 Posters 1.4k 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.
    • T
      trallis
      last edited by trallis

      Pi Model or other hardware: Raspberry Pi 4 Model B
      RetroPie Version Used 4.6:
      Built From: Iso from site
      Controller used: 2x 8Bitdo SN30 Pro+ (Bluetooth), updated firmware
      Attachment of config files: /opt/retropie/configs/all/retroarch.cfg

      The issue:
      In the menus the controllers are working great, but I'm having issues with mapping of buttons in game. X opens the retro arch menu, A restarts the game, up/down etc triggers load/save states, start exits the ROM, etc.

      What I have tried: I have reconnected bluetooth connections several times, with and without the "hack" option (mostly with the hack OFF). Redone the key mapping multiple times. Tested running the controller in different OS modes. I've had a look in the config files but I don't see anything obviously wrong (from what I've read here). Cleared input settings in Configuration/Tools -> emulationstation, and reset them.

      Example of SNES config:

      cat /opt/retropie/configs/snes/retroarch.cfg
      # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
      
      input_remapping_directory = "/opt/retropie/configs/snes/"
      
      #include "/opt/retropie/configs/all/retroarch.cfg"
      

      Any ideas on what I should try next?

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

        Looks like you forgot to set a hotkey so every hotkey combination triggers automatically. Normally, the hotkey + combination has an action assigned (see here), you're triggering the action just by pressing the combination key (Start = exits emulator, etc.).

        Re-configure your input in EmulationStation and choose Select as your hotkey.

        T 1 Reply Last reply Reply Quote 1
        • T
          trallis @mitu
          last edited by

          @mitu thanks for your quick reply!
          That sounds like a good theory, that mapping is how my system behaves.
          I tried clearing input settings in Configuration/Tools and map the keys again from the emulationstation, setting select as the hotkey. Same behaviour. Did you see the mapping issue in the conf? If yes, where (so I can see for myself if it has changed correctly)?

          mituM 1 Reply Last reply Reply Quote 0
          • StillhouseS
            Stillhouse
            last edited by

            I got a SN30 Pro+ the other day and could never get the Controller Configuration to recognize any key on it as a Hotkey. I was, however, able to set a Hotkey in the RetroArch menu settings(Settings > Input > Hotkey Binds). It does seem that some emulators still don't recognize the bind, and I have to use a keyboard to exit.

            Pi 3 B - 8Bitdo SN30 Pro+ - Retropie 4.6

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

              @trallis said in Mapping issues 8Bitdo SN30 Pro+ in ROM:

              Did you see the mapping issue in the conf?

              The mapping is not kept in the configuration file your posted. Search in \\retropie\configs\all\retroarch-joypads and post the contents of the .cfg file named after your controller.

              T 1 Reply Last reply Reply Quote 1
              • T
                trallis @mitu
                last edited by

                @mitu
                /home/pi$ cat /opt/retropie/configs/all/retroarch-joypads/8BitDo\ SN30\ Pro+.cfg

                input_device = "8BitDo SN30 Pro+"
                input_driver = "udev"
                input_enable_hotkey_btn = "10"
                input_r3_btn = "14"
                input_r_y_minus_axis = "-3"
                input_l_btn = "6"
                input_load_state_btn = "6"
                input_r_y_plus_axis = "+3"
                input_up_btn = "h0up"
                input_left_btn = "h0left"
                input_state_slot_decrease_btn = "h0left"
                input_select_btn = "10"
                input_r2_btn = "9"
                input_r_x_minus_axis = "-2"
                input_l_y_plus_axis = "+1"
                input_l_x_plus_axis = "+0"
                input_right_btn = "h0right"
                input_state_slot_increase_btn = "h0right"
                input_l2_btn = "8"
                input_l_x_minus_axis = "-0"
                input_r_x_plus_axis = "+2"
                input_l3_btn = "13"
                input_r_btn = "7"
                input_save_state_btn = "7"
                input_l_y_minus_axis = "-1"
                input_y_btn = "4"
                input_x_btn = "3"
                input_menu_toggle_btn = "3"
                input_down_btn = "h0down"
                input_start_btn = "11"
                input_exit_emulator_btn = "11"
                input_b_btn = "1"
                input_reset_btn = "1"
                input_a_btn = "0"
                

                It looks like the hotkey has a button defined. But are all of the others supposed to look exactly the same, or any difference for the "hotkey ones"?

                T 1 Reply Last reply Reply Quote 0
                • T
                  trallis @trallis
                  last edited by

                  @trallis I tested out removing the RetroArch commands from the conf file and it seems to work now. I guess I can just keep the binding for the menu and do the actions from there - but having the hotkey switch would be nice.

                  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.