I’m new to jMonkey and I wanted to try a joystick but try TestJoystick I find the following error …
how I can fix that ?
Debug log?
We need more information.
What joystick are you using? How is it plugged?
I’m using a universal wired controller for PS3 and PC like this…
The way that I plugged the joystick is by USB
This is the message in the Output window…
“GRAVE: Uncaught exception thrown in Thread[jME3 Main,6,main]
java.lang.IllegalStateException: Cannot find any joysticks!
at jme3test.input.TestJoystick.simpleInitApp(TestJoystick.java:49)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:227)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:131)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:212)
at java.lang.Thread.run(Thread.java:745)”
Your joystick must not appear as a standard joystick. Does it require special drivers?
Whatever the reason, the JInput is not finding it, basically.
Apparently not because I 've tried in games that I have on my PC and it works perfect.
windows 10 ? maybe try installing some os specific driver ?
You can also try with lwjgl3 which I believe does not handle joysticks with jinput.