User Tools

Site Tools


ubuntu:joystick

This is an old revision of the document!


Ubuntu - Joystick

Install the Joystick Driver

sudo apt-get install xboxdrv

Set permissions

sudo chmod 666 /dev/uinput

Use the Joystick

sudo xboxdrv

When you move the joystick, you should see the numbers change.


Run quite

Change the sudo xboxdrv live as above to the following to run quite.

sudo xboxdrv --silent --detach-kernel-driver --daemon

Another method

sudo modprobe joydev
sudo modprobe uinput
sudo rmmod xpad
blacklist xpad
sudo apt-get install xboxdrv jscalibrator xboxdrvctl

NOTE: The blacklist xpad is if you want to edit the .conf.


Another method

sudo apt install jscalibrator
jscal -c /dev/input/js0 
jstest /dev/input/js0
jscalibrator

NOTE: Change the 'js0' to the right number.

jscalibrator runs it.


References

ubuntu/joystick.1597690906.txt.gz · Last modified: 2020/08/17 19:01 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki