Input device: Difference between revisions

Jump to navigation Jump to search
m
(→‎Linux: added newer jscal hints, and udev rule example)
Line 201: Line 201:
</syntaxhighlight>
</syntaxhighlight>


However if you have multiple "joysticks", they might be renumbered on pluging/repluging. Best way to insure you get the correct calibration is to create a custom '''udev''' rule-set that you put into /etc/udev/rules.d/00-joystick.rules, similar to the following example:
However if you have multiple controllers connected, they might be renumbered on pluging/repluging. Best way to insure you get the correct calibration is to create a custom '''udev''' rule-set that you put into /etc/udev/rules.d/00-joystick.rules, similar to the following example:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
#joystick rules to make the names persistent and reload the stored calibration profile
#joystick rules to make the names persistent and reload the stored calibration profile
Line 225: Line 225:
</syntaxhighlight>
</syntaxhighlight>


Now each time you plug/replug your joysticks they will get the persistent device names, and will get the correct calibration profile restored.
Now each time you plug/replug your joysticks/controllers they will get the persistent device names, and will get the correct calibration profile restored.




422

edits

Navigation menu