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

    I Can't Escape Games

    Scheduled Pinned Locked Moved Help and Support
    controller helpexit gamehelp
    19 Posts 3 Posters 1.8k 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.
    • C
      CtotheVizza
      last edited by

      Gamepad 1 and Gamepad 2 -Dragonrise Inc. Generic Usb

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

        If they're the same model, you only need to configure 1, the other will automatically get the same configuration. If you didn't wire them identically, you'll have problems with the input mapping, since the inputs will be different.
        Can you post the contents of the gamepad's configuration file saved in \\retropie\configs\all\retroarch\autoconfig\ ? This would help to see which button is set as hotkey and how are the rest of the buttons mapped.

        C 1 Reply Last reply Reply Quote 0
        • C
          CtotheVizza @mitu
          last edited by mitu

          @mitu Yeah I don't get it- it detects two gamepads - both Dragonrise generic usb joysticks and here's the file in the \retropie\configs\all\retroarch\autoconfig\ directory:

          input_device = "DragonRise Inc.   Generic   USB  Joystick  "
          input_driver = "udev"
          input_l_btn = "4"
          input_load_state_btn = "4"
          input_start_btn = "9"
          input_exit_emulator_btn = "9"
          input_down_axis = "+1"
          input_r_btn = "5"
          input_save_state_btn = "5"
          input_right_axis = "+0"
          input_state_slot_increase_axis = "+0"
          input_select_btn = "8"
          input_left_axis = "-0"
          input_state_slot_decrease_axis = "-0"
          input_l2_btn = "6"
          input_up_axis = "-1"
          input_a_btn = "0"
          input_b_btn = "1"
          input_reset_btn = "1"
          input_enable_hotkey_btn = "11"
          input_r2_btn = "7"
          input_x_btn = "2"
          input_menu_toggle_btn = "2"
          input_y_btn = "3"
          
          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            So your hotkey button is 11 and the exit button is the same as start, so Hotkey + Start should exit the emulator. However, if the button that inputs 11 is on the 2nd gamepad, this will not work.
            Can you confirm you have the hotkey wired to the P2 controller or you also have a hotkey for the P1 controller ?

            1 Reply Last reply Reply Quote 0
            • C
              CtotheVizza
              last edited by

              Yes but now I've gone down a deep hole and will be re-connecting all to the encoders. Then It's off to work so I'm going to go dark for awhile. Thanks for your help so far!

              1 Reply Last reply Reply Quote 0
              • C
                CtotheVizza
                last edited by

                Now I can use the joysticks and buttons in the Retropie Menu screens but when I launch a game the controller(s) aren't working . when I start a game I I get the message "Dragonrise Inc. (Generic) USB Joystik Not Configured" in yellow. I can use the keyboard to exit the games but I can't play them. ARRRRRGH!!!

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

                  @CtotheVizza That means the .cfg file in the RetroArch auto-config folder has not been created and RetroArch doesn't know how about your controller.
                  Is the file you posted earlier present in that folder ?

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    CtotheVizza @mitu
                    last edited by

                    @mitu Yikes! No. There's nothing in that folder.

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

                      Try to configure the 1st controller again in Emulatiostation and see if any .cfg file appears in that folder.

                      C 2 Replies Last reply Reply Quote 0
                      • C
                        CtotheVizza @mitu
                        last edited by

                        @mitu Trying that now- thanks a bunch for your help!

                        1 Reply Last reply Reply Quote 0
                        • C
                          CtotheVizza @mitu
                          last edited by

                          @mitu Okay- I have gone into retroarch and re-configured the joysticks, saved the auto and retroarch configs, and tested it out. Now the joystick and all the buttons are programmable in MAME, and I can escape games by using the keyboard but still no hotkey/select + start escape available in MAME and no way to bail out in any other type of emulator. I do now have a file in autoconfig and it looks like so:

                          input_driver = "sd1"
                          input_device = "DragonRise Inc. Generic USB Joystick "
                          input_vendor_id = "121"
                          input_product_id = "6"
                          input_b_btn = "2"
                          input_y_btn = "3"
                          input_select_btn = "8"
                          input_start_btn = "9"
                          input_up_axis = "-1"
                          input_down_axis = "+1"
                          input_left_axis = "-0"
                          input_right_axis = "+0"
                          input_a_btn = "0"
                          input_x_btn = "1"
                          input_l_btn = "4"
                          input_r_btn = "5"

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            CtotheVizza @CtotheVizza
                            last edited by

                            it's missing this, isn't it?:

                            input_enable_hotkey_btn = 8
                            input_exit_emulator_btn = 9

                            C mituM 2 Replies Last reply Reply Quote 0
                            • C
                              CtotheVizza @CtotheVizza
                              last edited by

                              ADDED:

                              input_enable_hotkey_btn = "8"
                              input_exit_emulator_btn = "9"

                              same results.

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

                                @CtotheVizza said in I Can't Escape Games:

                                input_enable_hotkey_btn = 8
                                input_exit_emulator_btn = 9

                                Yes, that's added by Emulationstation's scripts. It's also missing the shortcuts for Load/Save/Next/Prev Save state, but you can add them manually - following the mappings in https://retropie.org.uk/docs/RetroArch-Configuration/#default-joypad-hotkeys.

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  CtotheVizza @mitu
                                  last edited by

                                  @mitu I think I got it! There was an odd line in /all/retroarch.cfg that was turning the controllers off or something. Anyway, I can escape the games with hot keys again. At least I can get the side buttons to work in arcade/mame games as well. Thanks for your help and for this site as well! I read that controller page about 100 times and it finally sank in enough to get this working right!

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MyFartSoTart @CtotheVizza
                                    last edited by

                                    @CtotheVizza I know this is an old thread but I’m having the same issue, I saw a line in retroarch.cfg that said something like “input_hotkey_enable = nul”. Do you remember If that’s the line you changed?

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

                                      @MyFartSoTart Please don't bump old topics - open a new topic and explain your issue, adding the info about your setup as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

                                      1 Reply Last reply Reply Quote 0
                                      • mituM mitu locked this topic on
                                      • 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.