FreeVR: Virtual Reality Integration Library |
|
JOYTESTSection: FreeVR Commands (1fv)Updated: 9 October 2013 Index Return to Main Contents NAMEjoytest — test the setup of a joystick device connected via the Linux joydev input system. SYNOPSISjoytest [-list] [-nodata] [<event device>] DESCRIPTIONThe joytest program is used to interface with devices connected via the Linux joydev input system. The joytest program can be used to list joystick devices and provide their self-reported names, or to provide a live report of the inputs. Before rendering the input stream, joytest will output information specific to the input device such as the number of all button inputs, and axis (aka valuator) inputs. The program is terminated by pressing the interrupt key (usually ^C). Note that sometimes this doesn't fully work the first time, but it will work the second time. OPTIONS
ARGUMENTS
ENVIRONMENT VARIABLES
NOTESThe Linux Joystick driver reports the activity of buttons and valuators in their numeric ordering. How buttons on the controller are mapped to inputs can and does vary widely among different controllers — even among controllers from the same manufacturer.This table lists the mappings of a handful of common game controllers (in some cases common during the era in which they were sold).
(*) — For the Logitech F710 operating as a generic controller, the left right triggers have to hit a threshold to activate, and the Logitech Logo button produces no output.
As you can see, there is very little consistency apart from all the modern controllers using the first two valuator fields for the left-side joystick. EXAMPLES
BUGSThe fact that joytest does not always terminate when receiving the first interrupt signal (ie. ^C) may be considered a bug. The workaround is already coded in the program — just send a second interrupt. TODO
SEE ALSOeviotest(1fv), vrpntest(1fv), vruiddtest(1fv), dtracktest(1fv), fobtest(1fv), freevr(7fv), jstest(1) LOCATIONThe source code for joytest is in the "vr_input.joydev.c" file, which also handles the joydev input interface to the FreeVR library. COPYRIGHTCopyright 2024, Bill Sherman, All rights reserved.
Index
This document was created by man2html, using the manual pages. Time: 21:57:57 GMT, March 04, 2024 |