jscal - joystick calibration and remapping program


   jscal [options] <devicename>


   jscal   calibrates  joysticks  and  maps  joystick  axes  and  buttons.
   Calibrating a joystick ensures the positions on the  various  axes  are
   correctly 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.


   -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
          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.


   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,  fullleft  should produce -32767 on the X axis, full
   right 32767 on the X axis, fullforward -32767 on the Y  axis,  and  so

   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  information
   on  a  joystick's  real  behaviour,  which allows the kernel to correct
   various joysticks' deficiencies and produce consistent output as far as
   joystickusing 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.


   ffset(1), jstest(1), jscal-store(1).


   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).


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.