Jstest not working
-
Hello, I wanted to find the name of an attached USB device, so I typed the following in Terminal:
jstest /dev/input/js0I also tried replacing js0 with js1, js2, js3, etc.
I installed “Joystick” following the directions in the RetroPie wiki before I started.
I get the following error:
jstest: No such file or directoryCan anyone point me in the right direction, thank you.
-
If you don't have a
/dev/input/jsX
device, it means the device is not recognized as joystick/controller. What kind of device are we talking about ?
Rundmesg -w
and plug in the device, the system log should give some indication if the device is recognized and configured. -
@vretro Could it be using evdev-joystick? Can't remember the syntax offhand but my yoke controller is addressed this way and has a device id: event0, event1 etc.
-
@james-milroy Could be, but the cause is the same - the device is not recognized as a controller, but some other input device. Using
evtest
instead ofjstest
would list the input devices present and would let you pick which one to test.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.