JSTEST

Section: User Commands (1)
Index Return to Main Contents
 

NAME

jstest - joystick test program  

SYNOPSIS

jstest [--normal] [--old] [--event] [--nonblock] [--select] <device-name>  

DESCRIPTION

jstest can be used to test all the features of the Linux joystick API, including non-blocking and select(2) access, as well as version 0.x compatibility mode.

It is also intended to serve as an example implementation for those who wish to learn how to write their own joystick using applications.  

OPTIONS

--normal
One-line mode showing immediate status.
--old
Same as --normal, using 0.x interface.
--event
Prints events as they come in.
--nonblock
Same as --event, in nonblocking mode.
--select
Same as --event, using select(2) call.
 

SEE ALSO

jscal(1), jsattach(1), select(2).