N64 controller setup
-
My pi3 finally came in the mail, and I've been getting my controllers setup.
nes, snes and genesis went flawlessly. The problem is setting up the n64 controller.
I was trying to read this page:
https://github.com/retropie/retropie-setup/wiki/Nintendo-64
for setting the controller up, but I couldn't make sense of the page. I am going to try to write the files manually through putty and ssh, but I am not sure the button numbers for the controller.
Is there an app I can install on retropie that will print the button number that's pressed for each button I press, so that I can map them correctly in the mupen64 config file?
The documentation on that page gives two suggested layouts, but neither of them work when using the controller in reality. (For example, when you try using the center, it says its already assigned), and it maps A and B backwards, even though you tell the system to use A for A and B for B.
It also says Start + Select are the hot keys to restart the emulator, but there is no 'Select' button mapped on the n64 controller, so I will have to change it to Start+Z to reset the emulator.
Anyway, is there an application I can install to print out the Axis and buttons as I press them, directly to the Terminal? Then I can just write the .cfg file myself (and since I have four of the same controllers, I can just copy/paste them for each player/controller).
-
@masteryoer use
jstest /dev/input/js0
in the terminal. -
-
Very good information! Where'd you find that at?
-
@masteryoer It's the official RetroPie documents / wiki... It's kind of a joke around here that nobody ever reads them. Definitely worth a browse or for referral. https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration
-
This is the same document I was reading, except the one I was reading related specifically to MUPEN64 and it was not helpful at all.
This one is a lot more helpful than the emulator specific one I was reading.
-
Okay, I tried reading through the wiki, and I couldn't figure out what they were trying to describe. I ended up getting the button numbers of the n64 usb controller, which is labeled as 'Dragonfire xxx' on screen and in console.
I went in and modified InputAutoCfg.ini and it looks like this now:
http://pasteat.me/view/36ecac29
(I could probably remove all the controllers except the dragonfire one, but this file is written by ES so it would probably add them back in once I configured a new input.
I also pasted in my retroarch.cfg file in there. I couldn't find out in that file to explicitly map my buttons to the individual buttons for n64, and had no idea what the property name needed to be to assign the value. With that, I also don't know how to tell the retroarch.cfg file to only use those mappings on the Dragonfire (n64) controller.
In what I have now, the hot keys at least work (Start + Z) to exit the emulator, but the rest of the buttons are not mapped correctly.
I set the default emulator for n64 to lr-mupen64.
Could you offer me some advise, please?
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.