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

    Is it possible to navigate in the EmulationStation and RetroArch's menu by using the left analog stick of gamepad?

    Scheduled Pinned Locked Moved Help and Support
    emulationstatioretroarch menuanalog sticknavigate
    4 Posts 2 Posters 2.1k 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.
    • G
      grungestranger
      last edited by

      Hi.

      I have:
      Raspberry Pi 3 Model B
      -- AC Adapter - Output: 5V, 3000mA
      -- SD Card - 64GB
      RetroPie v4.3 (Pre-made image)
      -- EmulationStastion v2.6.3rp
      -- RetroArch v1.6.7
      -- Xboxdrv v0.8.8
      iPega gamepads
      -- PG-9062S (it has real analog triggers)
      -- PG-9037 (it has buttons instead triggers)

      My question is in the title. Is there a way to configure this native?

      1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69
        last edited by edmaul69

        for retroarch yes. in /opt/retropie/config/ there are folders for each sytem. inside those folders is a retroarch.cfg file. in all of the retroarch.cfg files, except the ones in "all", "psx", and "psp" add these lines. this also make the left analog work just like the d-pad in games.

        input_player1_up_axis = "-1"
        input_player1_down_axis = "+1"
        input_player1_left_axis = "-0"
        input_player1_right_axis = "+0"
        
        input_player2_up_axis = "-1"
        input_player2_down_axis = "+1"
        input_player2_left_axis = "-0"
        input_player2_right_axis = "+0"
        
        1 Reply Last reply Reply Quote 0
        • G
          grungestranger
          last edited by

          Thank you! It's almost perfect. It's good for me. But the IDs of the axes (-0, +0; -1, +1) are used from /opt/retropie/configs/all/retroarch-joypads/ . They can be different in different controllers. For example, I have 2 gamepads. And they have different IDs of the axes of the right stick. Probably, it can be with the left stick. So, it's not really a universal solution.

          1 Reply Last reply Reply Quote 0
          • G
            grungestranger
            last edited by grungestranger

            To solve this problem You can specify these settings for each controller in /opt/retropie/configs/all/retroarch-joypads/<gamepad's name>.cfg:

            input_left_axis = "-0"
            input_right_axis = "+0"
            input_up_axis = "-1"
            input_down_axis = "+1"
            
            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.