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

    N64

    Scheduled Pinned Locked Moved Help and Support
    n64mupen64plusanalog stickusbretroarch
    6 Posts 2 Posters 437 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.
    • T
      tr3v0r
      last edited by

      Good afternoon all,

      RE: lr-mupen64plus

      I have various emulators installed, all with custom controls. For example, for my arcade games, I have set up my arcade joystick and for my Playstation games, I have set up USB Playstation controllers. Though configuring the /opt/retropie/configs/psx etc file, these are running exactly how I want.

      The problem I am now having is setting up my USB N64 controllers with an analogue (not digital) stick. Please see the attached screen shots showing the different values of analogue up, down, left and right and finally the config file I am editing.

      The digital buttons I have set in the config file are working exactly how I set them, so I'm really just after a helping hand with regards to the analogue stick; I am not sure what I should be entering.

      Thank you in advance! Hope everyone had a wonderful Xmas

      Analogue Up
      IMG_20181231_114125.jpg

      Analogue Down
      IMG_20181231_114129.jpg

      Analogue Left
      IMG_20181231_114132.jpg

      Analogue Right
      IMG_20181231_114136.jpg

      Config so far - these buttons are working on the gamepad as expected
      IMG_20181231_114411.jpg

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

        Why don't you use the normal auto-configuration mechanism ? Configure your gamepad in ES, this will also create the button/joystick/d-pad mapping automatically for RetroArch based emulators.

        T 1 Reply Last reply Reply Quote 0
        • T
          tr3v0r @mitu
          last edited by

          @mitu

          Hi Mitu, first of all, hope you have a good new year buddy! Thank you for your suggestion.

          The reason I don’t do it this way is because I prefer the arcade joystick input for 90% of the other emulators, and ES game selection. It’s only the N64 emulator that I want working with the N64 gamepads.

          Overwriting per emulator is easy via the retroarch config, I just don’t know what I need to put in that final screenshot.

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

            @tr3v0r said in N64:

            @mitu

            Hi Mitu, first of all, hope you have a good new year buddy!

            Thanks and have a good year also !

            The reason I don’t do it this way is because I prefer the arcade joystick input for 90% of the other emulators, and ES game selection. It’s only the N64 emulator that I want working with the N64 gamepads.

            You're not forced to use the analog controls in games that don't require it. RetroArch doesn't even activate them by default unless you set the gamepad type to RetroPad + Analog.If you prefer to manually configure the gamepad, then you can take a look at the configuration produced by ES for RetroArch and copy the values from there. My guess it will be something like

            input_l_x_plus_axis = "+0"
            input_l_x_minus_axis = "-0"
            input_l_y_plus_axis = "+1"
            input_l_y_minus_axis = "-1"
            

            Take a look at this configuration for your controller, should be similar to what ES will configure when you map it through the input configuration dialog.

            T 1 Reply Last reply Reply Quote 0
            • T
              tr3v0r @mitu
              last edited by

              @mitu

              Nice one :)

              That’s kinda the bit that I am struggling at. I may be totally wrong here as I am still learning, but I assume that values of +/- 1/0 would indicate digital input? The analogue of the controllers register a value for up (between 0 and -32767, -32767 being the upmost), a value for down (between 0 and 32767) but two values for left, and two values for right shown in the screenshots above. I guess I don’t know how to put that in the retroarch config.

              Also, you mention changing to retropad + analogue. Do you know how I would do this in the config?

              Thank you for your assistance thus far buddy, it is much appreciated!

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

                @tr3v0r If you're just a beginner, then I suggest you use RGUI and the auto-configuration produced for RetroArch and don't edit any files.
                Use the 'Core input remapping' (see docs) to change the RetroPad controls.

                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.