• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 setup not persisting into emulators.

Scheduled Pinned Locked Moved Help and Support
controller usbkeybinding
13 Posts 4 Posters 1.2k 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.
  • M
    Mr. Lumbergh
    last edited by 7 Apr 2023, 05:47

    Pi Model or other hardware: Lenovo M73 Tiny PC X86_64 with Linux Mint 21.1
    RetroPie Version Used: 4.8.4
    Built From: retropie_setup script from Github
    USB Devices connected: Controller only
    Controller used: Dragonrise USB arcade
    Error messages received: "Dragonrise Controller Not Configured"
    Verbose log (if relevant):
    Guide used: RetroPie.org guide for Ubuntu installation
    File: (File with issue - with FULL path)
    Emulator: Any
    How to replicate the problem:

    I can start Emulation Station without trouble and configure the joystick, navigate through ES using it with no trouble. If I decide I want to play an SNES or PS1 game for example though, I select it and hit A to launch. It'll start zsnes or beetle and launch the game, at which point I get an error in the lower left of the screen saying the particular emulator has detected the controller but that it isn't configured. The game doesn't respond once launched, as if the keybindings aren't being carried through from ES to the specific emulator.

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 7 Apr 2023, 13:11

      Seems a similar problem to https://retropie.org.uk/forum/topic/32997/. Add the vendor_id, product_id to the config file (as explained in the link post) and see this solves your issue.

      M 1 Reply Last reply 8 Apr 2023, 02:54 Reply Quote 0
      • M
        Mr. Lumbergh @mitu
        last edited by Mr. Lumbergh 4 Aug 2023, 20:45 8 Apr 2023, 02:54

        @mitu
        In that other post you linked to, the OP said that he got the vendor and prod ID's from "the overlay error message."
        In the lower right I'm getting a brief overlay before the game starts that says
        "Dragonrise Inc. Generic USB Joystick (121/6) not configured; would 121 and 6 be the vendor and product ID?

        EDIT: I see now that this appears to be correct, however adding the lines at the end of the file and as the 2nd & 3rd line after the name did not work. Is there a specific place in the config file this needs to be called out?

        EDIT2: As a sanity check I enable BT on this box and paired a licensed Switch Pro controller. It works perfectly without the need to add the vendor/prod id to the config file.

        M 1 Reply Last reply 8 Apr 2023, 04:17 Reply Quote 0
        • M
          mitu Global Moderator @Mr. Lumbergh
          last edited by 8 Apr 2023, 04:17

          @Mr-Lumbergh No, the order in the file shouldn't matter. Can you post the contents of your .cfg file ?

          M 1 Reply Last reply 8 Apr 2023, 21:12 Reply Quote 0
          • M
            Mr. Lumbergh @mitu
            last edited by 8 Apr 2023, 21:12

            @mitu Please see below. Note that I still have the vendor and prod ID callouts in the config file.

            input_device = "DragonRise Inc. Generic USB Joystick"
            input_vendor_id=121
            input_product_id=6
            input_driver = "udev"
            input_left_axis = "-0"
            input_state_slot_decrease_axis = "-0"
            input_right_axis = "+0"
            input_state_slot_increase_axis = "+0"
            input_r_btn = "6"
            input_save_state_btn = "6"
            input_down_axis = "+1"
            input_l_btn = "4"
            input_l_btn_label = "LB"
            input_load_state_btn = "4"
            input_y_btn = "0"
            input_y_btn_label = "Y"
            input_x_btn = "1"
            input_menu_toggle_btn = "1"
            input_b_btn = "2"
            input_reset_btn = "2"
            input_a_btn = "3"
            input_up_axis = "-1"
            input_select_btn = "8"
            input_select_btn_label = "Back"
            input_start_btn = "9"
            input_start_btn_label = "Start"
            input_exit_emulator_btn = "9"
            input_enable_hotkey_btn = "8"
            input_l2_btn = "5"
            input_r2_btn = "7"
            input_r2_btn_label = "RT"
            
            
            1 Reply Last reply Reply Quote 0
            • M
              mitu Global Moderator
              last edited by 9 Apr 2023, 03:55

              The .cfg seems fine. Maybe adding a " around the values is better ?

              ...
              input_vendor_id="121"
              input_product_id="6"
              ...
              

              Can you run cat /proc/bus/input/devices and post the output ?

              S 1 Reply Last reply 9 Apr 2023, 04:54 Reply Quote 0
              • S
                sleve_mcdichael @mitu
                last edited by sleve_mcdichael 4 Sept 2023, 05:56 9 Apr 2023, 04:54

                @mitu @Mr-Lumbergh and is the spaces around = also important, I think?

                input_vendor_id = 121
                

                Vs.

                input_vendor_id=121
                
                M 1 Reply Last reply 10 Apr 2023, 07:11 Reply Quote 1
                • M
                  Mr. Lumbergh @sleve_mcdichael
                  last edited by 10 Apr 2023, 07:11

                  @sleve_mcdichael @mitu
                  I'm not sure if it was the spaces or the quotes I forgot to include, but after taking both of your suggestions on the config file edits I'm in business.

                  Thank you both.

                  Mitu, I didn't post the results of cat on the input devices but I can if you're still interested, otherwise I'll go ahead and tag this as solved.

                  M 1 Reply Last reply 10 Apr 2023, 07:17 Reply Quote 1
                  • M
                    mitu Global Moderator @Mr. Lumbergh
                    last edited by 10 Apr 2023, 07:17

                    @Mr-Lumbergh said in Controller setup not persisting into emulators.:

                    Mitu, I didn't post the results of cat on the input devices but I can if you're still interested, otherwise I'll go ahead and tag this as solved.

                    No, it's not necessary - if it worked it means the vendor/produc IDs were correct, this is what the command would have shown in detail.

                    M N 2 Replies Last reply 11 Apr 2023, 04:36 Reply Quote 1
                    • M
                      Mr. Lumbergh @mitu
                      last edited by 11 Apr 2023, 04:36

                      @mitu Thanks again for your time.

                      1 Reply Last reply Reply Quote 0
                      • N
                        Neo-Rio @mitu
                        last edited by 11 Apr 2023, 08:09

                        @mitu Any idea when this issue is going to get perma-fixed?
                        I gather it's some issue with SDL2...

                        M 1 Reply Last reply 12 Apr 2023, 16:58 Reply Quote 0
                        • M
                          mitu Global Moderator @Neo-Rio
                          last edited by mitu 4 Dec 2023, 17:58 12 Apr 2023, 16:58

                          @Neo-Rio said in Controller setup not persisting into emulators.:

                          @mitu Any idea when this issue is going to get perma-fixed?

                          Should be fixed by https://github.com/RetroPie/RetroPie-Setup/pull/3702, though you'll need ES-dev installed (for now, until the corresponding ES changes trickle down to the stable branch).

                          1 Reply Last reply Reply Quote 2
                          • M
                            mitu Global Moderator
                            last edited by 13 Apr 2023, 18:32

                            .. and now the needed EmulationStation changes are available in the stable ES branch. Thanks @BuZz !

                            1 Reply Last reply Reply Quote 1
                            13 out of 13
                            • First post
                              13/13
                              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.

                              This community forum collects and processes your personal information.
                              consent.not_received