Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Trouble with joystick on original N64 Controller with mayflash adapter

    GamePad/GPIO/USB encoder
    trouble joystick original mayflash adapter
    3
    13
    6749
    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.
    • Reggin
      Reggin last edited by

      I am having trouble getting the Analog stick to work correctly on my N64 controllers.

      I purchased original N64 controllers online and have them attached via Mayflash N64 adapter.
      https://www.amazon.com/MAYFLASH-N64-Controller-Adapter-Pc/dp/B002B9FIUU/ref=pd_bxgy_63_img_2?ie=UTF8&psc=1&refRID=91N7WGJM6T7SD3BBY80G

      ( shows up as HuiJia USB GamePad)

      I got all the buttons and joystick tested through jstest and mapped through the mupen64 InputAutoCfg.ini

      (instructions I followed from here https://github.com/recalbox/recalbox-os/wiki/Configure-N64-controllers-(EN) )

      My main trouble is the Analog stick isn't sensitive at all. When setting up the controller through emulation station It takes me quite a few tries to get it to register either left or up.

      when playing super mario64 the character never runs, just walks.

      is there any way to make the controller see that the stick is all the way in one direction?
      I've tried changing the AnalogPeak to the max I get in jstest and even much lower. I just don't see any difference at all.

      Any help would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • Substring
        Substring last edited by

        This wiki is outdated. Since recalbox 4.0.0, the autoconfig of pads works for N64. BUT! If ylu want to customize controls you can still do it :

        • Config files are located in /recalbox/share/system/configs/mupen (might be mupen64, no recalbox at hand for now). You will find the files specified in the wiki there
        • Edit reclbox.conf, and add "n64.configfile=dummy" (witbout the quotes) to disable the autoconfig of pads. The n64 emulator will read the inputauto.cfg file that you have edited, and it should work fine

        Try. If only axis don't work, you may have missed something in the configuration

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 0
        • Reggin
          Reggin last edited by

          Thanks for the reply. Already added the n64.configfile=dummy. and was twerking the config files in the moped64 directory. I'll double check my spelling and make sure I've got the right syntax for the config file. The axis is the only thing that doesn't work properly. The buttons work flawlessly.

          1 Reply Last reply Reply Quote 0
          • Reggin
            Reggin last edited by

            Here's a copy of my mupen64 InputAutoCfg.ini

            [Logic3 Controller]
            plugged = True
            plugin = 2
            AnalogPeak = 32768,32768
            Mempak switch =
            Rumblepak switch =
            mouse = False
            A Button = button(1)
            B Button = button(3)
            C Button D = axis(4+)
            C Button L = axis(3-)
            C Button R = button(0) axis(3+)
            C Button U = axis(4-) button(2)
            DPad D = hat(0 Down)
            DPad L = hat(0 Left)
            DPad R = hat(0 Right)
            DPad U = hat(0 Up)
            L Trig = axis(2-)
            R Trig = axis(2+)
            Start = button(7)
            X Axis = axis(0-,0+)
            Y Axis = axis(1-,1+)
            Z Trig = button(4)
            
            [HuiJia   USB GamePad]
            plugged = True
            plugin = 2
            mouse = False
            AnalogDeadzone = 100,100
            AnologPeak = 20000,20000
            DPad R = hat(0 Right)
            DPad L = hat(0 Left)
            DPad D = hat(0 Down)
            DPad U = hat(0 Up)
            Start = button(9)
            Z Trig = button(8)
            B Button = button(2)
            A Button = button(1)
            C Button R = axis(3-)
            C Button L = axis(3+)
            C Button D = axis(2+)
            C Button U = axis(2-)
            R Trig = button(7)
            L Trig = button(6)
            Y Axis = axis(1-,1+)
            X Axis = axis(0-,0+)
            mempak switch = key(109)
            Rumblepak switch = key(114)
            

            Do you think the logic controller is interfering with the n64 controllers? or maybe I didn't add enough/too many spaces in the[HuiJia USB GamePad]

            If that was the case then none of the buttons would be mapped correctly right?

            1 Reply Last reply Reply Quote 0
            • Substring
              Substring last edited by Substring

              AnalogPeak should be -32768,32768 imho, like the huija should have a -/+ range if i'm not mistaken

              Former dev - Please reply with @substring so that i am notified when you answer me
              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

              1 Reply Last reply Reply Quote 0
              • Reggin
                Reggin last edited by Reggin

                Hrmm.... I changed the AnalogPeak to -32768,32768. I noticed it seems to work normally when the analog is pressed at a certain angle. is there any way to adjust the sensitivity of the stick? I thought that dropping the peak down to 20000 or even 500 just to test it but it didn't seem to change anything. any suggestions?

                1 Reply Last reply Reply Quote 0
                • Substring
                  Substring last edited by

                  AnalogPeak tells what is the range of the stick
                  AnalogDeadzone configures the range where the stick's movements in the center have no effect

                  Former dev - Please reply with @substring so that i am notified when you answer me
                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                  1 Reply Last reply Reply Quote 0
                  • Reggin
                    Reggin last edited by Reggin

                    I tried shorting the peak to -10000,10000 hoping it would help affect the sensitivity since the peak from my jstest would range from 12000-28000. Didn't seem like it did anything.
                    I'd think if the range was lowered the stick would be at it's maximum more and the "sensitivity" would be much higher.

                    1 Reply Last reply Reply Quote 0
                    • Substring
                      Substring last edited by

                      Can you run /recalbox/scripts/recalbox-support.sh and upload the output somewhere like zippyshare please ?

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      1 Reply Last reply Reply Quote 0
                      • Reggin
                        Reggin last edited by

                        Here's the link as requested. 🙂

                        http://www26.zippyshare.com/v/WRsWWyLo/file.html

                        1 Reply Last reply Reply Quote 0
                        • Substring
                          Substring last edited by

                          I'll check that asap 🙂

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                          1 Reply Last reply Reply Quote 0
                          • Reggin
                            Reggin last edited by

                            thank you so much for your help. Wife is itching to play super mario 64. 😃

                            1 Reply Last reply Reply Quote 0
                            • jose-antonio-castro-gonzalez
                              jose-antonio-castro-gonzalez last edited by

                              hello friend, I've also had this problem with Mayflash .
                              Try to change my 's makeup , I think that resembles the original N64 touch pad

                              [HuiJia USB GamePad]
                              plugged = True
                              plugin = 2
                              AnalogDeadzone = 2096,2096
                              AnalogPeak = 21283,21283
                              Mempak switch =
                              Rumblepak switch =
                              mouse = False
                              A Button = button(1)
                              B Button = button(2)
                              C Button R = axis(3-)
                              C Button L = axis(3+)
                              C Button D = axis(2+)
                              C Button U = axis(2-)
                              DPad D = hat(0 Down)
                              DPad L = hat(0 Left)
                              DPad R = hat(0 Right)
                              DPad U = hat(0 Up)
                              L Trig = button(6)
                              R Trig = button(7)
                              Start = button(9)
                              X Axis = axis(0-,0+)
                              Y Axis = axis(1-,1+)
                              Z Trig = button(8)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Want to support us ?

                              75
                              Online

                              98.7k
                              Users

                              28.1k
                              Topics

                              187.0k
                              Posts

                              Copyright © 2021 recalbox.com