Mayflash n64 controller adapter problems. All buttons configure in ES, but no config files generated or saved.
-
I know this is a old topic but here is what i did to make this work
Delete your file here manually opt/retropie/configs/all/emulationstation/es_input.cfg
then start retropie and config controller and it should create the settings in your es_input.cfg
Here is mine
<?xml version="1.0"?>
<inputList>
<inputConfig type="joystick" deviceName="�USB GamePad USB GamePad" deviceGUID="03000000790000007918000010010000">
<input name="a" type="button" id="1" value="1" />
<input name="b" type="button" id="2" value="1" />
<input name="down" type="hat" id="0" value="4" />
<input name="hotkeyenable" type="key" id="0" value="1" />
<input name="left" type="hat" id="0" value="8" />
<input name="leftanalogdown" type="axis" id="1" value="1" />
<input name="leftanalogleft" type="axis" id="0" value="-1" />
<input name="leftanalogright" type="axis" id="0" value="1" />
<input name="leftanalogup" type="axis" id="1" value="-1" />
<input name="leftshoulder" type="button" id="6" value="1" />
<input name="lefttrigger" type="button" id="9" value="1" />
<input name="right" type="hat" id="0" value="2" />
<input name="rightanalogdown" type="axis" id="2" value="1" />
<input name="rightanalogleft" type="axis" id="3" value="1" />
<input name="rightanalogright" type="axis" id="3" value="-1" />
<input name="rightanalogup" type="axis" id="2" value="-1" />
<input name="rightshoulder" type="button" id="7" value="1" />
<input name="start" type="button" id="8" value="1" />
<input name="up" type="hat" id="0" value="1" />
</inputConfig>next open your /opt/retropie/configs/n64
use gedit to open mupen64plus.cfg
Here is my config
[Input-SDL-Control1]Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number.
version = 2
Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
mode = 0
Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
device = 0
SDL joystick name (or Keyboard)
name = "USB GamePad USB GamePad"
Specifies whether this controller is 'plugged in' to the simulated N64
plugged = True
Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak
plugin = "2"
If True, then mouse buttons may be used with this controller
mouse = False
Scaling factor for mouse movements. For X, Y axes.
MouseSensitivity = "2.00,2.00"
The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.
AnalogDeadzone = "1024,1024"
An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
AnalogPeak = "20000,20000"
Digital button configuration mappings
DPad R = "hat(0 right)"
DPad L = "hat(0 left)"
DPad D = "hat(0 down)"
DPad U = "hat(0 up)"
Start = "button(8)"
Z Trig = "button(9)"
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)"
Mempak switch = "key(44)"
Rumblepak switch = "key(46)"Analog axis configuration mappings
X Axis = "axis(0-,0+)"
Y Axis = "axis(1-,1+)"the main stuff i changed was
mode=0
AnalogPeak = "20000,20000"
AnalogDeadzone = "1024,1024"
Im sure peak can be a bit higher my controller is worn out and deadzone could be smaller as well but these work fine for me -
@sduchnych said in Mayflash n64 controller adapter problems. All buttons configure in ES, but no config files generated or saved.:
SDL joystick name (or Keyboard)
name = "USB GamePad USB GamePad"SDL joystick name (or Keyboard)
name = "USB GamePad USB GamePad" (this does have that special character infront of it but i cant copy it here
-
@edmaul69 I know this is really old but as much as I love raphnet adapters, and they're my first choice for an adapter, they have some issues with the linux distro used in retropie that causes issues which is why I stopped using them for my retropie projects. (I mentioned this previous to @Rion as well.) Perhaps it's been fixed now that we're on stretch instead of jessie. Raphnet has a page all about the issue and how to fix it, but quite honestly patching and recompiling the kernel is not something I'm willing to do just for a USB adapter.
-
@Furluge said in Mayflash n64 controller adapter problems. All buttons configure in ES, but no config files generated or saved.:
The page states this is not an issue since RetroPie 3.8, which was released almost 3 years ago (https://retropie.org.uk/2016/05/).
Note: This section does not apply to RetroPie 3.8 SD card images, thanks to the use of a 4.4 series kernel.
-
@mitu Cool, good to know, I might have to switch back. I think three years ago would have been roughly around the time I stopped used the raphnet adapters due to the issue. Jut goes to show just how old this topic was. (2017, yikes.) (Edit: I did not buy one. I lost my goddamn mind and bought a bliss-box instead due having hell with updating to Raspian Stretch with 13 controllers connected at once.)
-
@Furluge yeah i was the reason that raphael learned about the issue which affected a crap ton of controllers. Then he so awesomely found the bug in linux and created the fix for it. But yeah its been fixed for a long ole time. 😊
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.