Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jstest-gtk(1) [debian man page]

jstest-gtk(1)															     jstest-gtk(1)

NAME
jstest-gtk - joystick testing and configuration tool SYNOPSIS
jstest-gtk [options]... [device] files... DESCRIPTION
jstest-gtk is a simple joystick tester based on Gtk+. It provides a list of attached joysticks, a way to display which buttons and axis are pressed, a way to remap axis and buttons and a way to calibrate your joystick. Even when your joystick is working mostly fine, you might want to give it a try, as the calibration lets you get rid of overlarge default deadzones that many joysticks use and then is a noticeable problem in some games. USAGE
jstest-gtk is mainly a graphical interface to check that your joysticks and pads work properly. You can find precise information on each axis, you can optionally recalibrate it and also change the mapping. If you run the program without parameters, you will get a window showing all the joystick devices in your system (there can be more than one). When you double click on one of them, you will get a newer window with detailed information about its axis and buttons. There are two buttons in the detailed window called "Mapping" adn "Calibration", that allows you to reconfigurate the device. If you run the program with a device as an argument (for example /dev/input/js0), you will get the detailed window for that device directly, without getting the whole list of joysticks in the system. Calibration of the axis consists in a simple window in which you set the values that go directly into the operative system configuration, without doing any changes on them. They're divided in range and dead zone (or center). In both of them you have to set a minimum and a max- imum. You also have a checkbox for inverting the axis. Values are changed and applied in the same instant that you modify them, there's no need for clicking anywhere or doing anything else for applying the changes. OPTIONS
These program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). -h, --help Display help information and exit -v, --version Display version information and exit SEE ALSO
You can find more information if you visit http://pingus.seul.org/~grumbel/jstest-gtk/ AUTHOR
jstest-gtk was written by Ingo Ruhnke <grumbel@gmx.de>. This manual page was written by Miriam Ruiz <little_miry@yahoo.es>, for the Debian project (and may be used by others). May 9, 2009 jstest-gtk(1)

Check Out this Related Man Page

jscal(1)						      General Commands Manual							  jscal(1)

NAME
jscal - joystick calibration and remapping program SYNOPSIS
jscal [options] <device-name> DESCRIPTION
jscal calibrates joysticks and maps joystick axes and buttons. Calibrating a joystick ensures the positions on the various axes are cor- rectly interpreted. Mapping axes and buttons allows the meanings of the joystick's axes and buttons to be redefined. On Debian systems the calibration settings can be stored and later applied automatically using the jscal-store command. OPTIONS
-c, --calibrate Calibrate the joystick. -h, --help Print out a summary of available options. -s, --set-correction <nb_axes,type,precision,coefficients,...> Sets correction to specified values. For each axis, specify the correction type (0 for none, 1 for "broken line"), the precision, and if necessary the correction coefficients ("broken line" corrections take four coefficients). -u, --set-mappings <nb_axes,axmap1,axmap2,...,nb_buttons,btnmap1,btnmap2,...> Sets axis and button mappings. n_of_buttons can be set to 0 to remap axes only. -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 of the running joystick driver and that which jscal was compiled for. -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. CALIBRATION
Using the Linux input system, joysticks are expected to produce values between -32767 and 32767 for axes, with 0 meaning the joystick is centred. Thus, full-left should produce -32767 on the X axis, full-right 32767 on the X axis, full-forward -32767 on the Y axis, and so on. Many joysticks and gamepads (especially older ones) are slightly mis-aligned; as a result they may not use the full range of values (for the extremes of the axes), or more annoyingly they may not give 0 when centred. Calibrating a joystick provides the kernel with informa- tion on a joystick's real behaviour, which allows the kernel to correct various joysticks' deficiencies and produce consistent output as far as joystick-using software is concerned. jstest(1) is useful to determine whether a joystick is calibrated: when run, it should produce all 0s when the joystick is at rest, and each axis should be able to produce the values -32767 and 32767. Analog joysticks should produce values in between 0 and the extremes, but this is not necessary; digital directional pads work fine with only the three values. SEE ALSO
ffset(1), jstest(1), jscal-store(1). AUTHORS
jscal was written by Vojtech Pavlik and improved by many others; see the linuxconsole tools documentation for details. This manual page was written by Stephen Kitt <steve@sk2.org>, for the Debian GNU/Linux system (but may be used by others). jscal Jul 11, 2010 jscal(1)
Man Page