@nateo44 While the original poster here said it didn't work for them, the only way I was able to solve this issue is to update xpad from source individually, even after doing a full update of the entire system the usual way. From inside of EmulationStation, choose RetroPie, then: RetroPie Setup, Manage Packages, Manage Driver Packages, xpad, then Update (from source). I'd restart the entire system afterward. Once that's done, go back into EmulationStation, hit Start, choose Configure Input, and go through all the mapping again for each side of your X-Arcade Tankstick. Note that this is with the unit in Mode 4 on a newer Tri-Mode Tankstick unit. Worked for me; YMMV.
No idea if it's unique to a Pi 4, or what the deal is, but it was the only method I could find for getting LT and RT buttons to work properly.
@mitu Oh, yes that file. I tried that but no luck. I remapped and got the same result. Although up and down are reversed, they work just fine but it won't read left and right. Daphne is such a pain to get going. I've done the jstest and see the stick is axis 0 and axis 1 and return a pos/neg 32767 on each axis.
I don't have any issues with any other emulator I have games for (Fba, Mame, PS1, Sega Genesis, Nes, SNES ,PC Engine). I can't understand what the issue is with Daphne and the axis mapping.
get rid of the overclock. any stability/freezing problems = get rid of the overclock
i don't know why you're editing files. mupen64plus should get automatically configured when you configure your controller in ES. if you're using a proper n64 controller you may need to do some manual tweaks after that to get the c-buttons working nicely, but i would take one step at a time.
Do you know how buttons are mapped in mupen64plus? They are automatically configured, often times the WRONG way. You have to turn off hotkeys in autoconf.cfg and make controllers fully manual in mupen64plus.cfg. Then you have to set the right button mappings in InputAutoCfg.ini. Basically I set up the controls in ES, then I fix them in InputAutoCfg.ini because if I don't, they are totally wrong.
As for the overclock, I am using a Mackertop 5.25v 3a PSU. Even at 1.4GHz, the system is totally stable. Everything else works fine, except N64. I guess I could try going to 1.3GHz and seeing what happens, but I don't think that's the problem.
If you want to change the boot screen and tune or enable splash video, edit the file:
sudo nano /etc/init.d/asplashscreen (in plain terminal) OR
sudo pluma /etc/init.d/asplashscreen (in Desktop mode terminal)
comment/uncomment lines in do_start function (remove or add #)"
Worked like a charm. Hopefully this might help anyone who runs into the same issue.
@colebeansbroskie if you have two sets of joysticks and buttons you have to set up the buttons the exact same way. You never have to configure player 2. Once you set up one, after rebooting your system both will work. If the buttons are different on player 2, it means you put them in the wrong order. You need to set up player one then reboot. Then go into a game that uses all your buttons and in that game press a button on player one and see what it does. then find that same button on player two. Now put that button in the same spot player one has it. Keep doing that until all the buttons match.
@Bender2k no bt problems here. Do you have a heatsink on your processor? If so it could be causing issues. You could try turning the heatsink 90 degrees so the heatsink fins are facing another direction. The heatsink can act like an antenna and cause issues. Other than that not sure what to tell you to help you.