Hi @davidb2111 and thanks for your help!
My controllers are correctly detected by jstest and the input events works for both (openjvs_a1p1/openjvs_a1p2):
# sdl2-jstest -l
error: failed to read gamecontrollerdb.txt: Invalid RWops
Found 3 joystick(s)
Joystick Name: '8Bitdo SF30 Pro'
Joystick Path: '/dev/input/event4'
Joystick GUID: 05000000c82d00000061000000010000
Joystick Number: 0
Number of Axes: 4
Number of Buttons: 16
Number of Hats: 1
Number of B***s: 0
GameControllerConfig:
Name: '8BitDo SF30 Pro'
Mapping: '05000000c82d00000061000000010000,8BitDo SF30 Pro,a:b0,b:b1,back:b10, dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b2,leftshoulder:b6,leftstic k:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrig ger:a4,rightx:a2,righty:a3,start:b11,x:b3,y:b4,hint:SDL_GAMECONTROLLER_USE_BUTTO N_LABELS:=1,'
Axis code 0: 0
Axis code 1: 1
Axis code 2: 2
Axis code 3: 5
Button code 0: 304
Button code 1: 305
Button code 2: 306
Button code 3: 307
Button code 4: 308
Button code 5: 309
Button code 6: 310
Button code 7: 311
Button code 8: 312
Button code 9: 313
Button code 10: 314
Button code 11: 315
Button code 12: 316
Button code 13: 317
Button code 14: 318
Button code 15: 319
Hat code 0: 16
Joystick Name: 'openjvs_a1p1'
Joystick Path: '/dev/input/event2'
Joystick GUID: 000000006f70656e6a76735f61317000
Joystick Number: 1
Number of Axes: 2
Number of Buttons: 8
Number of Hats: 0
Number of B***s: 0
GameControllerConfig:
missing (see 'gamecontrollerdb.txt' or SDL_GAMECONTROLLERCONFIG)
Axis code 0: 0
Axis code 1: 1
Button code 0: 256
Button code 1: 257
Button code 2: 258
Button code 3: 259
Button code 4: 260
Button code 5: 261
Button code 6: 262
Button code 7: 263
Joystick Name: 'openjvs_a1p2'
Joystick Path: '/dev/input/event3'
Joystick GUID: 000000006f70656e6a76735f61317000
Joystick Number: 2
Number of Axes: 2
Number of Buttons: 8
Number of Hats: 0
Number of B***s: 0
GameControllerConfig:
missing (see 'gamecontrollerdb.txt' or SDL_GAMECONTROLLERCONFIG)
Axis code 0: 0
Axis code 1: 1
Button code 0: 256
Button code 1: 257
Button code 2: 258
Button code 3: 259
Button code 4: 260
Button code 5: 261
Button code 6: 262
Button code 7: 263
#sdl2-jstest -t 1
Joystick Name: 'openjvs_a1p1'
Joystick Number: 0
Axes 2:
0: 0 [ # ]
1: 0 [ # ]
Buttons 8:
0: 0 [ ]
1: 0 [ ]
2: 1 [#]
3: 0 [ ]
4: 0 [ ]
5: 0 [ ]
6: 0 [ ]
7: 0 [ ]
Hats 0:
B***s 0:
Press Ctrl-c to exit
Everything is ok on emulationstation, I can easily remap buttons and navigate with all my controllers but when I start any emulators nothing response.