jscal − joystick calibration program
jscal [options] <device-name>
jscal is a joystick calibration program for Linux joystick driver.
−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.