lsjoysticksdl

The same as lsjoystick, but uses SDL (version 1) instead of the linux joystick interface.

Using SDL (version 1) might help portability to different systems, as long as those are supported by SDL (version 1), but results in more problems keeping the program working in the future, when SDL version 1 is no longer widely available. I already had to make adjustments to allow compilation with newer SDL version 1 packages through the years.

Using SDL also results in dynamically linking the code with many libraries that are not needed for the functionality of lsjoysticksdl.

Please note that lsjoysticksdl predates the abstraction of game controllers introduced with SDL version 2.

The current version is 0.1.4.

Download

Compressed source and dynamically linked linux binary available, licensed under the GNU General Public License version 2 or later.

Usage

Usage: lsjoysticksdl [OPTION]... [NUMBER]...

Options:
  -h, --help              print this help
  -V, --version           print version information
  -l, --long              print additional info, not just number and name
  -v, --verbose           explain what is beeing done
  -q, --quiet             suppress error messages
  -c, --count             count joysticks (no info about individual joysticks)

If no numbers are specified lsjoysticksdl tries to find joysticks,
otherwise it probes the specified NUMBERs for joysticks.
    

back to my homepage.