xpad
xpad copied to clipboard
Xbox One X controller 045e:0b13 not identified correctly via Bluetooth
Via usb, the controller is identified as 045e:0b12. This is present in xpad.c and all buttons and axes work correctly.
However via Bluetooth the same device is identified as 045e:0b13. jstest shows it as a generic controller and all of the button mappings are wrong.
This is from the /var/lib/bluetooth/xx:xx:xx:xx:xx:xx/info:
[DeviceID]
Source=2
Vendor=1118
Product=2835
Version=1285
jstest output:
Driver version is 2.1.0.
Joystick (Xbox Wireless Controller XXXXXXXXXXXX) has 8 axes (X, Y, Z, Rz, Gas, Brake, Hat0X, Hat0Y)
and 15 buttons (BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 2: 0 3: 0 4:-32767 5:-32767 6: 0 7: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off
I will try it with xpadneo but I thought I'd make this report first.
P.S. I'm using arch (BTW) with kernel 5.14.16-arch1-1