Hi,
i recently bought a controller (generic Nintendo switch pro controler).
Plugin it in using USB works perfectly, but when paired with bluetooth, i can't see any inputs.
I'm using recalbox v 6.1.1 on a RPI3 & onboard BT.
In USB
DEVICE
I: Bus=0003 Vendor=045e Product=028e Version=0110
N: Name="Microsoft X-Box 360 pad"
P: Phys=usb-3f980000.usb-1.3/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
U: Uniq=
H: Handlers=js0 event0
B: PROP=0
B: EV=20000b
B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3001b
B: FF=1 7030000 0 0
DMESG
[ 206.911557] usb 1-1.3: new full-speed USB device number 8 using dwc_otg
[ 207.048311] usb 1-1.3: New USB device found, idVendor=045e, idProduct=028e
[ 207.048320] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 207.048324] usb 1-1.3: Product: Controller
[ 207.048328] usb 1-1.3: Manufacturer: ZhiXu
[ 207.049298] input: Microsoft X-Box 360 pad as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
INPUT
/dev/input/js0
EVENTS CAPTURE
# sdl2-jstest -e 0
Joystick Name: 'Microsoft X-Box 360 pad'
Joystick Path: '/dev/input/event0'
Joystick GUID: 030000005e0400008e02000010010000
Joystick Number: 0
Number of Axes: 4
Number of Buttons: 13
Number of Hats: 1
Number of B***s: 0
GameController:
not a gamepad
Axis code 0: 0
Axis code 1: 1
Axis code 2: 3
Axis code 3: 4
Button code 0: 304
Button code 1: 305
Button code 2: 307
Button code 3: 308
Button code 4: 310
Button code 5: 311
Button code 6: 312
Button code 7: 313
Button code 8: 314
Button code 9: 315
Button code 10: 316
Button code 11: 317
Button code 12: 318
Hat code 0: 16
Entering joystick test loop, press Ctrl-c to exit
SDL_JOYDEVICEADDED which:0
SDL_CONTROLLERDEVICEADDED which:0
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 0 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 902 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 7094 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 14060 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: 0 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -5289 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 22058 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -9417 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 31604 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -14835 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 32636 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -24639 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -26703 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -25413 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -24639 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -23607 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -22575 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -21801 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -21285 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -21801 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -20511 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -13545 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -129 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 7094 code: 1
SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: 0 code: 0
SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 0 code: 1
In Bluetooth
DEVICE
I: Bus=0005 Vendor=057e Product=2009 Version=0001
N: Name="Pro Controller"
P: Phys=b8:27:eb:aa:99:b2
S: Sysfs=/devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:057E:2009.0004/input/input5
U: Uniq=98:b6:e9:e3:2b:54
H: Handlers=js0 event0
B: PROP=0
B: EV=10001b
B: KEY=ffff0000 0 0 0 0 0 0 0 0 0
B: ABS=3001b
B: MSC=10
DMESG
[ 299.092213] hid-generic 0005:057E:2009.0004: unknown main item tag 0x0
[ 299.092507] input: Pro Controller as /devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:057E:2009.0004/input/input5
[ 299.093951] hid-generic 0005:057E:2009.0004: input,hidraw0: BLUETOOTH HID v0.01 Gamepad [Pro Controller] on b8:27:eb:aa:99:b2
INPUT
/dev/input/js0
EVENTS CAPTURE
# sdl2-jstest -e 0
Joystick Name: 'Pro Controller'
Joystick Path: '/dev/input/event0'
Joystick GUID: 050000007e0500000920000001000000
Joystick Number: 0
Number of Axes: 4
Number of Buttons: 16
Number of Hats: 1
Number of B***s: 0
GameController:
not a gamepad
Axis code 0: 0
Axis code 1: 1
Axis code 2: 3
Axis code 3: 4
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
Entering joystick test loop, press Ctrl-c to exit
SDL_JOYDEVICEADDED which:0
SDL_CONTROLLERDEVICEADDED which:0
=> no input at all
One is seeing as a gamepad, not the other....
I don't know what is missing, i've tried many things, like disabling other controlers driver (ps3 bluez), troubleshoot BT pairing, forcing pairing, but yet nothing worked.
Any help is much appreciated.
Thanks