Hello,
I have a mayflash-adapter (recognized as "Product: USB GamePad | Manufacturer: USB GamePad" (output of dmesg)).
I didn't configure any keys on startup, in my recalbox-controller-config (in GUI), there is only the ps3-controller listed as #0.
When I call "cat /proc/bus/input/devices" it gets listed with event-files like that:
I: Bus=0003 Vendor=0079 Product=1879 Version=0110
N: Name="USB GamePad USB GamePad"
P: Phys=usb-3f980000.usb-1.5/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1/0003:0079:1879.0002/input/input0
U: Uniq=
H: Handlers=js0 event0
B: PROP=0
B: EV=1b
B: KEY=ffff 0 0 0 0 0 0 0 0 0
B: ABS=30027
B: MSC=10
Also the "jstest /dev/input/js0" outputs
Joystick (USB GamePad USB GamePad) has 6 axes (X, Y, Z, Rz, Hat0X, Hat0Y)
and resonds correctly to the buttons/stick.
I also changed recalbox.conf to
global.inputdriver=udev
...
n64.configfile=dummy
and updated the /recalbox/share/system/configs/mupen64/InputAutoCfg.ini to the following
[USB GamePad USB GamePad]
plugged = True
plugin = 2
AnalogDeadzone = 2096,2096
AnalogPeak = 21283,21283
Mempak switch =
Rumblepak switch =
mouse = False
A Button = button(9)
B Button = button(2)
C Button R = axis(3-)
C Button L = axis(3+)
C Button D = axis(2+)
C Button U = axis(2-)
DPad D = hat(0 Down)
DPad L = hat(0 Left)
DPad R = hat(0 Right)
DPad U = hat(0 Up)
L Trig = button(6)
R Trig = button(7)
Start = button(1)
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
Z Trig = button(8)
But when I start any n64 game, only the ps3-controller has any function. It feels like the n64 controller isn't present (but works in shell test).
@Chrischan told me what to do, I followed his instructions but I'm missing something...
I'm on recalbox 4.0.2, raspberry 3
thanks guys and girls!