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

    RetroPie 4.0.2 and dualshock, hotkeys not working

    Scheduled Pinned Locked Moved Help and Support
    dualshock 3retropie 4.0.2hotkeyhotkeys
    15 Posts 5 Posters 6.7k 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.
    • B
      bkibalo
      last edited by bkibalo

      OK this seems like a fairly common issue, however I have looked through the suggestions and nothing is helping. I am running a pi 3, with the latest 4.0.2 version of retropie. I have 2 dualshock (ps3) controllers and they work great (I love the ps3 controller util!), just can't get hotkey support working.

      I went through the retroarch.cfg file and commented out any mention of hotkey enable or anything similar. I'm trying to get the PS button as the hotkey enable. Here are the contents of the /retroarch-joypads/PLAYSTATION (R) 3 Controller.cfg file <below>. I just would love to not need a keyboard or to hard reset to change games. I've verified all of the buttons using the jsconfig tool and as I said otherwise the controllers work perfectly. I'm wondering if maybe the long title of the controller with the parenthesis is causing issues?? Any help is greatly appreciated!

      input_device = "PLAYSTATION(R)3 Controller"
      input_driver = "udev"
      input_r_y_plus_axis = "+3"
      input_l3_btn = "1"
      input_r_x_minus_axis = "-2"
      input_l_btn = "10"
      input_load_state_btn = "10"
      input_start_btn = "3"
      input_exit_emulator_btn = "3"
      input_l_y_minus_axis = "-1"
      input_up_btn = "4"
      input_r_y_minus_axis = "-3"
      input_a_btn = "13"
      input_b_btn = "14"
      input_reset_btn = "14"
      input_down_btn = "6"
      input_l_x_plus_axis = "+0"
      input_l_y_plus_axis = "+1"
      input_r_btn = "11"
      input_save_state_btn = "11"
      input_r2_btn = "9"
      input_r3_btn = "2"
      input_right_btn = "5"
      input_state_slot_increase_btn = "5"
      input_x_btn = "12"
      input_menu_toggle_btn = "12"
      input_select_btn = "0"
      input_enable_hotkey_btn = "16"
      input_l_x_minus_axis = "-0"
      input_y_btn = "15"
      input_left_btn = "7"
      input_state_slot_decrease_btn = "7"
      input_r_x_plus_axis = "+2"
      input_l2_btn = "8"

      meleuM S 2 Replies Last reply Reply Quote 0
      • meleuM
        meleu @bkibalo
        last edited by meleu

        @bkibalo it can be a dumb question, but here it is:
        Are you pressing the button set to enable hotkey and the one with the hotkey function simutaneously on the player1 controller?

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 1
        • B
          bkibalo
          last edited by

          yes, that is what I'm doing. Then i get frustrated and start smashing all buttons in every combination. It wasn't until i found that jstest utility (by checking on here) that I was 100% confident in the mapping. So that is right. It is just weird. Is there some global hotkey disable feature or something? I did go through everything that had hotkey at all in the retroarch.cfg and #comment it out. I have the enable hotkey stuff just in the controller config.

          One thing I was worried about was the controller config was setup based on the usb-connection. To get the dualshocks working you have to plug them in via usb to pair or something then they go wireless. So I deleted all those configs and started over, same thing.

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @bkibalo
            last edited by

            @bkibalo I noticed in your first post that you aren't using the select (button 0) to enable hotkeys. Could you try to put your select as the enable hotkey and then test if the problem persists?

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            B 1 Reply Last reply Reply Quote 0
            • B
              bkibalo @meleu
              last edited by bkibalo

              @meleu yes I just tried it (input_enable_hotkey_btn = "0") same problem. I originally started with select as the enabler and recently switched to the ps button (16). I setup a pi2 with retropie at my friends house, he bought some amazon controllers (USB) similar in form to a dualshock (although not a clone) and it worked fine with select/start to exit. I didn't do anything special to set that up, indeed it seems like that is the default.

              So, I just tried it with some other emulators and the select/start works. I'm having the above problem in mame. Is there a specific configuration for each emulator (for each controller) as well? I thought it was just the retroarch.cfg then the individual controller.cfgs for the hierarchy.

              Feeling a little better about this - thanks everyone for replying, still looking for answer to this working in mame though.

              ...edit - specifically it worked in SNES emulator

              thanks!
              BK

              meleuM 1 Reply Last reply Reply Quote 0
              • meleuM
                meleu @bkibalo
                last edited by meleu

                @bkibalo every core (RetroArch emulator) has its own config file. The path is /opt/retropie/configs/SYSTEM_NAME/retroarch.cfg.
                Can you put in pastebin.com the content of your mame and snes retroarch.cfg?

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 1
                • dankcushionsD
                  dankcushions Global Moderator
                  last edited by

                  guess: they're not using a libretro mame core.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bkibalo
                    last edited by

                    Ok everyone thanks for replies and sorry for not getting back sooner.

                    Here are the contents of my mame config (mame-mame4all)

                    Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

                    input_remapping_directory = "/opt/retropie/configs/mame-mame4all/"

                    #include "/opt/retropie/configs/all/retroarch.cfg"

                    Here are the contents of the snes config file (both files are named 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"

                    I'm not seeing anything obvious here, the files are very short (obviously). There are a number of other files, I'll look into those. For example, under snes there is emulators.cfg, retroarch.cfg and snes9x.cfg

                    Under the mame4all directory there are emulators.cfg, mame.cfg and retroarch.cfg

                    Upon further testing, the hotkeys also work in N64 emulator; I haven't tried any others just yet.

                    thanks again!

                    meleuM 1 Reply Last reply Reply Quote 0
                    • meleuM
                      meleu @bkibalo
                      last edited by meleu

                      @bkibalo Please use markdown to format your posts - see http://commonmark.org/help/

                      can you confirm: the hotkeys works on SNES and don't in mame.

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      B 1 Reply Last reply Reply Quote 0
                      • S
                        Spectreman @bkibalo
                        last edited by

                        @bkibalo I had this problems with a generic controller, after toying with the configuration. For me, was easier just to delete the configs files (by Windows Explorer) and reboot the system.

                        1 Reply Last reply Reply Quote 0
                        • B
                          bkibalo @meleu
                          last edited by

                          @meleu yes the hotkeys work in SNES and n64 (not sure about other emulators) but do not work at all in MAME. For MAME I have to unplug power or plug in a keyboard and hit ESC to back out of games. Keyboard is non-ideal due to the plugged in accessory. The best part about the dual shock controllers is having the wireless capability. Thanks!

                          1 Reply Last reply Reply Quote 0
                          • B
                            bkibalo
                            last edited by

                            Hey guys - another update. I got some time to mess around tonight with the system. I copied all my roms to the liberato mame directory and the hotkeys work. So without testing every single emulator out right now, it seems like the problem is isolated to the mame4all emulator. Hope this helps!

                            1 Reply Last reply Reply Quote 0
                            • BuZzB
                              BuZz administrators
                              last edited by

                              The standalone mame4all emulator doesn't use hotkeys. The hotkeys are for the libretro emulator cores. There is a libretro mame4all though and lr-mame2003 core you can use

                              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                bkibalo @BuZz
                                last edited by

                                @BuZz I guess that is the answer then. I think @dankcushions brought this up earlier too. Thanks for your help everyone!

                                Any idea why there are 4 to 6 mame cores offered? Now I have something else to look into :)

                                thanks again!

                                meleuM 1 Reply Last reply Reply Quote 0
                                • meleuM
                                  meleu @bkibalo
                                  last edited by

                                  @bkibalo this post has useful MAME info:
                                  https://retropie.org.uk/forum/topic/2859/how-to-use-mame-with-retropie-help-guide

                                  • Useful topics
                                  • joystick-selection tool
                                  • rpie-art tool
                                  • achievements I made
                                  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.