So far ive ran j-test and copied all controller information down in notepad, then used that information to create a custom mapping in \batocera\share\system\configs\mupen64\mupen64plus.cfg. i added the line n64.config=dummy to the batocera.cfg to bypass auto mapping (guide said to add that to recalbox.cfg but i cant find that file) . Ill post the controller information i got and my custom mapping file below. Another problem im having is a lot of the guides to fix this with recalbox seem to have folders and files that i cant seem to locate on batocera like this guide here https://github.com/recalbox/recalbox-os/wiki/Configure-N64-controllers-(EN). i do not have /usr/share/mupen64plus/InputAutoCfg.ini i tryed creating it on my own but it had no effect. im assuming im just missing something obvious here. Following the link you posted I created "n64.cfg" in the retroarch folder and pasted my custom mapping into that file then added the line n64.configfile=\BATOCERA\share\system\configs\retroarch\n64.cfg to the batocera conf file and still no luck 🙁
mupen64plus.cfg mapping:
[Input-SDL-Control1]
Version = 2
mode = 0
device = 1
name = "Generic USB Joystick"
plugged = True
plugin = 2
AnalogDeadzone = "0,0"
AnalogPeak = "32768,32768"
mouse = False
Mempak switch = ""
Rumblepak switch = ""
C Button R = "button(1)"
A Button = "button(6)"
C Button U = "button(0)"
B Button = "button(8)"
Start = "button(9)"
L Trig = "button(4)"
R Trig = "button(5)"
Z Trig = "button(7)"
DPad U = "hat(0 Up)"
DPad D = "hat(0 Down)"
DPad R = "hat(0 Right)"
DPad L = "hat(0 Left)"
Y Axis = "axis(1-,1+)"
X Axis = "axis(0-,0+)"
C Button D = "button(2)"
C Button L = "button(3)"
jstest information:
a =
Event: time 1568574105.253990, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90007
Event: time 1568574105.253990, type 1 (EV_KEY), code 294 (BTN_BASE), value 0
Event: time 1568574105.253990, -------------- SYN_REPORT ------------
b = Event: time 1568574133.897972, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009
Event: time 1568574133.897972, type 1 (EV_KEY), code 296 (BTN_BASE3), value 0
z = vent: time 1568574155.678915, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90008
Event: time 1568574155.678915, type 1 (EV_KEY), code 295 (BTN_BASE2), value 0
c up =
Event: time 1568574177.019921, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1568574177.019921, type 1 (EV_KEY), code 288 (BTN_TRIGGER), value 0
Event: time 1568574177.019921, -------------- SYN_REPORT ------------
c left =
Event: time 1568574201.248525, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1568574201.248525, type 1 (EV_KEY), code 291 (BTN_TOP), value 0
c down =
Event: time 1568574213.262811, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90003
Event: time 1568574213.262811, type 1 (EV_KEY), code 290 (BTN_THUMB2), value 0
c right = Event: time 1568574236.179621, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90002
Event: time 1568574236.179621, type 1 (EV_KEY), code 289 (BTN_THUM😎, value 0
start = Event: time 1568574251.097529, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
Event: time 1568574251.097529, type 1 (EV_KEY), code 297 (BTN_BASE4), value 0
LT =
Event: time 1568574276.853915, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1568574276.853915, type 1 (EV_KEY), code 292 (BTN_TOP2), value 0
RT = Event: time 1568574290.571988, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1568574290.571988, type 1 (EV_KEY), code 293 (BTN_PINKIE), value 0
d up =
Event: time 1568574316.048389, type 3 (EV_ABS), code 17 (ABS_HAT0Y), value 0
d left = Event: time 1568574337.149455, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 0
d right = Event: time 1568574409.155352, type 3 (EV_ABS), code 16 (ABS_HAT0X), value 0
d down =
Event: time 1568574429.552489, type 3 (EV_ABS), code 17 (ABS_HAT0Y), value 0
Joystick Name: 'Generic USB Joystick '
Joystick Path: '/dev/input/event3'
Joystick GUID: 03000000790000000600000010010000
Joystick Number: 0
Number of Axes: 5
Number of Buttons: 12
Number of Hats: 1
Number of Balls: 0
GameController:
Name: 'DragonRise Inc. Generic USB Joystick'
Mapping: '03000000790000000600000010010000,DragonRise Inc. Generic USB Joystic k,a:b2,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder: b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b1 1,righttrigger:b7,rightx:a3,righty:a4,start:b9,x:b3,y:b0,'
Axis code 0: 0
Axis code 1: 1
Axis code 2: 2
Axis code 3: 3
Axis code 4: 5
Button code 0: 288
Button code 1: 289
Button code 2: 290
Button code 3: 291
Button code 4: 292
Button code 5: 293
Button code 6: 294
Button code 7: 295
Button code 8: 296
Button code 9: 297
Button code 10: 298
Button code 11: 299
Hat code 0: 16