You are not logged in.

#1 2019-03-21 21:55:12

Burner
Member
Registered: 2017-03-26
Posts: 36

Gamepad partly working; D-Pad not working

Hi,
I recently bought a bluetooth gamepad (link). I'm able to connect the gamepad to my PC via bluetooth and I'm getting values for both analog sticks and all the buttons except the D-Pad.

jstest /dev/input/js0                                                                         :(
Driver version is 2.1.0.
Joystick (Pro Controller) has 6 axes (X, Y, Rx, Ry, Hat0X, Hat0Y)
and 16 buttons (BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?).
Testing ... (interrupt to exit)
Axes:  0:-16383  1:-32767  2:-32767  3:-29609  4:     0  5:     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 15:off
... more data ...
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0 Buttons:  0:on  1:on  2:on  3:on  4:off  5:off 6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off

With jstest I can generate values for the Axes 0, 1, 2 and 3 but not for 4 and 5. The buttons 0 to 13 are working. The buttons 14 and 15 are not working, which seems to be fine because there are only 15 physical buttons and one of them is a "turbo" button (which I think is handled by the gamepad µC on its own and not transmitted to the PC).


I think that axes 4 and 5 should be the D-Pad but it's not working, is there anything I can do?

Thanks!

Last edited by Burner (2019-03-21 21:55:36)

Offline

Board footer

Powered by FluxBB