summaryrefslogtreecommitdiffstats
path: root/devel/linux-js/pkg-message
blob: f1d363a2cadd8c1e343fd9689b9663c9bc714cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
===============================================================================

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 linux_js kernel module at boot, add the following lines to
/boot/loader.conf:

	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 a joystick, type the following command:

	jstest /dev/input/jsXXX

To calibrate a joystick, type the following command:

	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:

	jscal_enable="YES"

===============================================================================
OpenPOWER on IntegriCloud