Raspberry Pi 4

For information, Recalbox IS NOT compatible with Raspberry Pi 4 yet.
Pour information, Recalbox N'EST PAS encore compatible avec le Raspberry Pi 4.

The Recalbox Team.

Trouble with joystick on original N64 Controller with mayflash adapter



  • 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.



  • 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



  • 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.



  • 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?



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



  • 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?



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



  • 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.



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



  • Here's the link as requested. :)

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



  • I'll check that asap :)



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



  • 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)



Want to support us ?

187
Online

58566
Users

18400
Topics

138477
Posts

Looks like your connection to Recalbox Forum was lost, please wait while we try to reconnect.