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

    Configure N64 controller with retropie

    Scheduled Pinned Locked Moved Help and Support
    n64 controlsn64 controllern64retroarch confi
    2 Posts 1 Posters 506 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.
    • J
      jamesking
      last edited by jamesking

      Hi,

      I have an official N64 controller with a USB adaptor (This is the adaptor: https://www.amazon.co.uk/gp/product/B012AOKNV4/ )

      I am trying to configure it to work with retropie 4.6 on a Raspberry Pi 4.

      I'm very confused about where exactly I would do the relevant configuration. I've read the wiki pages on retroarch configuration and n64 several times but haven't managed to fully understand how everything connects together.

      I configure the controller in emulation station, and it appears to work fine. I basically use the button mapping shown here:

      https://cloud.githubusercontent.com/assets/10035308/16599636/7f3630fc-42c0-11e6-952f-60d97a511f38.png

      except I change the use the physical left shoulder button to represent the SELECT button. Then everything works fine in EmulationStation, including, importantly, A and B button.
      But when I enter a ROM to play (using lr-mupen64plus emulator) it doesn't work - the B button does not function for some reason.

      Here is a copy of the file from /opt/retropie/configs/all/retroarch/autoconfig/'HuiJia USB Gamepad.cfg'
      https://hastebin.com/xocacuxolu.ini
      Everything in the file above corresponds to what I saw when I went to the terminal and ran the jstest (jstest /dev/input/js0 ) so it looks liek it' fine, it just doesn't work when I get into the ROM.

      Unfortunately, within the ROM, everything works OK, except the A and B buttons. I have to press physical button B to get the game to respond as if I have pressed A. Physical Button A doesn't do anything.

      I would appreciate any help, as I am a bit confused about how I can manipulate this config. I am happy to fiddle with it in terminal if someone can point me in the right direction to fix it.

      Thank you,

      James

      J 1 Reply Last reply Reply Quote 0
      • J
        jamesking @jamesking
        last edited by

        It appears that in /opt/retropie/configs/n64/InputsAutoCfg.ini that under the relevant controller there was no entry for B button, and A button was incorrect. I edited this manually to correct for this, but I still get the same problem when i run the emulator - e.g., my attempted fix makes no difference to how it actually performs!

        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.