Configure N64 controller with retropie
-
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:
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
-
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!
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.