jscal

Langue: en

Version: 261090 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

jscal - joystick calibration program

SYNOPSIS

jscal [options] <device-name>

DESCRIPTION

jscal is a joystick calibration program for Linux joystick driver.

OPTIONS

-c, --calibrate
Calibrate the joystick.
-h, --help
Print out a summary of available options.
-s, --set-correction <x,y,z...>
Sets correction to specified values.
-u, --set-mappings <n_of_axes,axmap1,axmap2,...,n_of_buttons,btnmap1,btnmap2,...>
Sets axis and button mappings.
-t, --test-center
Tests if the joystick is correctly calibrated. Returns 2 if the axes are not calibrated, 3 if buttons were pressed, 1 if there was any other error, and 0 on success.
-V, --version
Prints the version numbers.
-p, --print-correction
Prints the current correction settings. The format of the output is a jscal command line.
-q, --print-mappings
Prints the current axis and button mappings. The format of the output is a jscal command line.

SEE ALSO

jstest(1), inputattach(1).