diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-02-05 03:12:50 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-02-05 03:12:50 +0000 |
commit | f52cd3aa81f703112ef39d94230ee9b1459aad1f (patch) | |
tree | dffbf9d632da064ecc40b8651794565b6653a603 /devel/linux-js/pkg-message | |
parent | - Remove some unnecessary patches now that the ports for the libraries (diff) |
Add linux-js.
This port provides a FreeBSD kernel module implementing the Linux joystick
interface (/dev/input/js0), as well as calibration (jscal) and test (jstest)
utilities.
Notes
Notes:
svn path=/head/; revision=155238
Diffstat (limited to 'devel/linux-js/pkg-message')
-rw-r--r-- | devel/linux-js/pkg-message | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/linux-js/pkg-message b/devel/linux-js/pkg-message new file mode 100644 index 000000000000..df5f8e490649 --- /dev/null +++ b/devel/linux-js/pkg-message @@ -0,0 +1,29 @@ +=============================================================================== + +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: + + kldload linux_js + +To load the kernel module at boot, add the following line to +/boot/loader.conf: + + linux_js_load="YES" + +To test your joystick(s), type the following command: + + jstest /dev/input/js0 + +To calibrate your joystick(s), type the following command: + + jscal -c /dev/input/js0 + +To save the calibration data at system shutdown and restore it at +boot, add the following line to /etc/rc.conf: + + jscal_enable="YES" + +=============================================================================== |