Hi I recently got my PS3 sixaxis working and its under /dev/input/js1.
I am now running ubuntu hardy.
It doesn't operate in wine games etc so I need to edit the registry using
<joystick name> = <axes mapping> in "directinput"
In http://wiki.winehq.org/UsefulRegistryKeys it says to use the command:
Code:
WINEDEBUG=+dinput wine program.exe 2>&1 | grep joydev_enum_device
to find the name of the device but doing it gives me no output.
Also, doing jstest with js1 I get this:
Code:
Driver version is 2.1.0.
Joystick (Sony PLAYSTATION(R)3 Controller) has 28 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), (null))
and 19 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn,
BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB,
BtnC, BtnX, BtnY, BtnZ).
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 27: 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
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 27: 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
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 27: 0 Buttons: 0:off 1:off 2:off 3:off
4:off 5:off 6:off 7:off 8:off
and so on..... it seems to work fine when pressing the buttons but at the top
you can see that some of the axes com up as null so therefore cannot edit the
directinput registry.
Thanks for your help!