Robotics StackExchange | Archived questions

Joystick PS3 USB no echo values

Iam using Ubuntu 12.04 and joystick is not SONY

I followed tutorials about joy package and ConfiguringALinuxJoystick.

Iam trying to see changes on my ps3 joystick connected via USB but when i press a button, nothing happend looking on rostopic echo joy

joy node works perfect (Opened joystick: /dev/input/js0. deadzone_: 0.050000.)

With sudo jstest /dev/input/js0

Driver version is 2.1.0. Joystick (Gasia Co.,Ltd PS(R) Gamepad) has 27 axes (X, Y, Z, Rz, (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null)) and 19 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB, BtnC, (null), (null), (null)). Testing ... (interrupt to exit) Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 11: 0 12: 0 13: 0 14: 0 15: 0 16: 0 17: 0 18: 0 19: 0 20: 0 21: 0 22: 0 23: 0 24: 0 25: 0 26: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 1Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 11: 0 12: 0 13: 0 14: 0 15: 0 16: 0 17: 0 18: 0 19: 0 20: 0 21: 0 22: 0 23: 0 24: 0 25: 0 26: 0

Asked by RuslanTovarovich on 2015-08-11 08:03:58 UTC

Comments

Did you find any solution I am facing same problem with Logitech Game Pad

Asked by monicapatel07 on 2015-10-06 12:19:02 UTC

If your joystick is SONY check tutorials about config joystick. If not, I no idea how solve it

Asked by RuslanTovarovich on 2015-10-06 15:18:54 UTC

Answers