summaryrefslogtreecommitdiff
path: root/devel/linux-js/pkg-message
diff options
context:
space:
mode:
Diffstat (limited to 'devel/linux-js/pkg-message')
-rw-r--r--devel/linux-js/pkg-message25
1 files changed, 14 insertions, 11 deletions
diff --git a/devel/linux-js/pkg-message b/devel/linux-js/pkg-message
index df5f8e490649..f1d363a2cadd 100644
--- a/devel/linux-js/pkg-message
+++ b/devel/linux-js/pkg-message
@@ -1,25 +1,28 @@
===============================================================================
-The linux_js kernel module supports analog joysticks through the
-joy(4) driver, which must be loaded as a module or compiled into the
-kernel. USB joysticks are not yet supported.
-
-To load the kernel module immediately, type the following command:
+To load the linux_js kernel module immediately, type the following commands:
+ kldload joy (if PC joystick support is desired)
+ kldload uhid (if USB joystick support is desired)
kldload linux_js
-To load the kernel module at boot, add the following line to
+To load the linux_js kernel module at boot, add the following lines to
/boot/loader.conf:
- linux_js_load="YES"
+ joy_load="YES" (if PC joystick support is desired)
+ uhid_load="YES" (if USB joystick support is desired)
+
+and add the following line to /etc/rc.conf:
+
+ linux_js_enable="YES"
-To test your joystick(s), type the following command:
+To test a joystick, type the following command:
- jstest /dev/input/js0
+ jstest /dev/input/jsXXX
-To calibrate your joystick(s), type the following command:
+To calibrate a joystick, type the following command:
- jscal -c /dev/input/js0
+ jscal -c /dev/input/jsXXX
To save the calibration data at system shutdown and restore it at
boot, add the following line to /etc/rc.conf: