JS(4)

NAME
js - joystick device

DESCRIPTION
These are character devices to access one or two analog joysticks. They are typically created by:
    mknod -m 640 /dev/js0 c 15 0
    mknod -m 640 /dev/js1 c 15 1 The device is accessed via read() and ioctl() calls. These are described in the file <linux/joystick.h>. Reading the device will return a struct JS_DATA_TYPE. Several ioctl() calls are also provided to further control the joystick driver: JS_SET_CAL - set joystick correction factor JS_GET_CAL - get joystick correction factor JS_SET_TIMEOUT - set timeout for reading joystick JS_GET_TIMEOUT - set timeout for reading joystick JS_SET_TIMELIMIT - set data retention time JS_GET_TIMELIMIT - get data retention time JS_GET_ALL - get all of the joystick data JS_SET_ALL - set all of the joystick data (except JS_BUSY) See also the "js" and "jscal" programs provided with the joystick driver package.

FILES
/dev/js0 - first joystick /dev/js1 - second joystick

BUGS/LIMITATIONS
A maximum of 2 joysticks are supported.

AUTHOR
Art Smith (asmith@cbnewsd.att.com) Version 0.6 changes by Jeff Tranter (tranter@software.mitel.com)