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

    Button 6 and 7 not working in ES

    Scheduled Pinned Locked Moved Help and Support
    ps3 controllersbutton 6 and 7
    8 Posts 3 Posters 540 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.
    • L
      lindsay
      last edited by

      Raspberry Pi 4
      Retropie 4.8.2
      PS3 wireless controller PLAYSTATION(R)3Controller-ghic

      Hi All,
      I have run JSTest to confirm that all buttons are wired and registering input, but Emulation Station refuses to configure buttons 6 and 7 in Configure Input.

      I updated Emulation Station using Retropie Setup.
      I also tried editing the PLAYSTATION(R)3Controller-ghic.cfg file adding the two lines at the bottom:

      input_device = "PLAYSTATION(R)3Controller-ghic"
      input_driver = "udev"
      input_enable_hotkey_btn = "8"
      input_l_btn = "4"
      input_load_state_btn = "4"
      input_up_btn = "13"
      input_left_btn = "15"
      input_state_slot_decrease_btn = "15"
      input_select_btn = "8"
      input_right_btn = "16"
      input_state_slot_increase_btn = "16"
      input_r_btn = "5"
      input_save_state_btn = "5"
      input_y_btn = "3"
      input_x_btn = "2"
      input_menu_toggle_btn = "2"
      input_down_btn = "14"
      input_start_btn = "9"
      input_exit_emulator_btn = "9"
      input_b_btn = "0"
      input_reset_btn = "0"
      input_a_btn = "1"
      
      input_l2_btn = "6"
      input_r2_btn = "7"
      

      Sadly none of this has helped.

      Why would just those buttons not be working in Emulation Station, yet working fine in JS Test?

      Thank you for your wonderful work.
      Lindsay

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

        Are they registering as buttons or axis ? That might explain why they're not configured in EmulationStation.

        L 2 Replies Last reply Reply Quote 0
        • L
          lindsay @mitu
          last edited by

          Hey @mitu ,
          In JS Test these register as buttons 6 and 7.

          1 Reply Last reply Reply Quote 0
          • L
            lindsay @mitu
            last edited by lindsay

            @mitu I looked at it again more closely, and noticed something I hadn't noticed before:

            On JS Test, they register as buttons 6 and 7 AND on axes 5 and 2 (the little negative sign changes)

            So it seems they are both?

            What do I need to do?

            Thanks

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

              You can try and add this to your .cfg file:

              
              input_l2_axis = "-5"
              input_r2_axis= "-2"
              

              and see if they're working in RetrArch.

              L 2 Replies Last reply Reply Quote 0
              • L
                lindsay @mitu
                last edited by

                @mitu thanks - I'll give it a try!

                1 Reply Last reply Reply Quote 0
                • L
                  lindsay @mitu
                  last edited by lindsay

                  @mitu said in Button 6 and 7 not working in ES:

                  input_l2_axis = "-5"
                  input_r2_axis= "-2"

                  Okay so that's interesting! I put those in, restarted Emulation Station and did all the tests again.

                  Buttons 6 and 7

                  • do work in JS Test
                  • don't work in Emulation Station's Configure Input
                  • do work in RetroArch

                  So that'll do for me, I can configure the games that need the trigger buttons in RetroArch.

                  For those interested in this solution, my PLAYSTATION(R)3Controller-ghic.cfg file located at configs/all/retroarch-joypads/PLAYSTATION(R)3Controller-ghic.cfg now looks like this where we added the last 4 lines :

                  input_device = "PLAYSTATION(R)3Controller-ghic"
                  input_driver = "udev"
                  input_enable_hotkey_btn = "8"
                  input_l_btn = "4"
                  input_load_state_btn = "4"
                  input_up_btn = "13"
                  input_left_btn = "15"
                  input_state_slot_decrease_btn = "15"
                  input_select_btn = "8"
                  input_right_btn = "16"
                  input_state_slot_increase_btn = "16"
                  input_r_btn = "5"
                  input_save_state_btn = "5"
                  input_y_btn = "3"
                  input_x_btn = "2"
                  input_menu_toggle_btn = "2"
                  input_down_btn = "14"
                  input_start_btn = "9"
                  input_exit_emulator_btn = "9"
                  input_b_btn = "0"
                  input_reset_btn = "0"
                  input_a_btn = "1"
                  
                  input_l2_btn = "6"
                  input_r2_btn = "7"
                  
                  input_l2_axis = "-5"
                  input_r2_axis= "-2"
                  

                  Then, to set up buttons 6 and 7,

                  • go into a game

                  • hit Select+X to get into RetroArch,

                  • Go to Quick Menu > Controls > Port 1 and you should now see buttons 6 and 7 that can be set to L2 and R2.

                  • Hit Select +X again to exit Retro Arch and test the buttons in game.

                  • Hit Select +X again to enter RetroArch and if the buttons work well you can find the option to save as a Game Remap File (to affect the current game only)
                    or a Core Remap File (to affect all games on that emulator e.g. all mega drive games or whatever system you are in)

                  Hope that helps someone.
                  Thanks @mitu

                  DarksaviorD 1 Reply Last reply Reply Quote 1
                  • DarksaviorD
                    Darksavior @lindsay
                    last edited by

                    @lindsay I'm not sure if it's related to your problem, but I've had a similar issue with my L2/R2 on my xbox 360 joystick. It usually happens on a kernel update. What fixes it for me is re-installing the xpad driver from source.

                    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.