Joined: Sat Aug 23, 2008 11:50 am Posts: 1
|
L0wt3ch wrote: It pulls to the top-left-hand corner all the time I have exactly the same problem with Hardy 8.04. When I calibrate the controller with jscalibrator it just goes down slowly to the bottom-right and I can't move the cursor with the stick (except for having it full upwards or left stops the movement in the opposite direction).
How can I stop it pulling one way and make it control my mouse properly?Edit: Fixed this by using jscal instead of jscalibrator to calibrate the joystick. At first this didn't work (it would get half way through the axes and stop) - you have to set everything to 0 first:
Code: jscal -s 16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /dev/input/js0 I'm not sure what this has done to the button axes though as they did not seem to register due to the way it moves on to the next axis when a button is pressed.Also, the keycodes I entered for the buttons to do seem to produce the wrong keys (i.e. up, down, left, right types b, h, d, f respectively and Alt_L seems instead to type @). I'm using a UK keyboard layout if this changes anything.Edit: Fixed this too now - after looking in man joystick I realised you can reference the relevent keys by name, which works properly and is much easier to do - perhaps this should be added to the original guide.
Now time to try bluetooth...
|
|