jstest(1)

โœจ jstest โ€” the joystick test program, bestie edition โœจ

okay so real quick, this is jstest from section 1 of the general commands manual, and it is literally the moment your controller gets to shine ๐Ÿ’–


๐ŸŒธ NAME ๐ŸŒธ

jstest โ€” joystick test program ๐ŸŽฎ


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

jstest [--normal] [--old] [--event] [--nonblock] [--select] <device-name>

๐Ÿ’… DESCRIPTION ๐Ÿ’…

so jstest is your girl for testing all the features of the Linux joystick API, and I do mean all of them โ€” non-blocking access, select(2) access, even version 0.x compatibility mode. the whole vibe check ๐Ÿ”ฅ

it's also lowkey meant to be a reference implementation for anyone who wants to learn how to write their own joystick-using apps. like, it's giving "here's how you do it, go off ๐Ÿ‘‘"


๐Ÿฆ‹ OPTIONS ๐Ÿฆ‹

  • --normal โ€” one-line mode, showing immediate status. super minimal, super cute โœจ
  • --old โ€” same as --normal, but using the 0.x interface. throwback era fr fr ๐Ÿ•ฐ๏ธ
  • --event โ€” prints events as they come in. no cap, it just yells at you in real time ๐Ÿ“ข
  • --nonblock โ€” same as --event, but in nonblocking mode. it will NOT wait around for you ๐Ÿ’€
  • --select โ€” same as --event, but using the select(2) call. fancy, honestly ๐Ÿ’…

๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

fftest(1), jscal(1).


๐Ÿ’œ AUTHOR ๐Ÿ’œ

jstest was written by Vojtech Pavlik. iconic behavior, we love to see it ๐Ÿซถ

this manual page was written by Stephen Kitt <steve@sk2.org>, for the Debian GNU/Linux system (but it may be used by others, so no gatekeeping here ๐ŸŒˆ).


and that's the whole page bestie!! this one came from the General Commands Manual, it's jstest(1) all the way down, and it was dated April 21, 2009 โญ so go plug in that controller and test it, you've got this ๐ŸŽ€๐Ÿฆ‹๐Ÿ’–