jme3test.input.TestJoystick IllegalStateException

This is all looking odd !

So let’s see what i have:

There are some issues, that made me setup my whole computer.
I managed to implement my gamepad before, so i went over to what i did before and ran into the same error.
Then i switched to another gamepad and same problem: no joystick found.
I watched my system, but my controllers are installed correctly, i can test them, calibrate them, everything looks fine.
pspeed is correct, the issue is system related and has nothing to do with jme, but did anyone found out right now, what is missing, or not installed yet ?? I don’t know!
Yes i have an 64-bit Windows 7 system.
I would love to try that small line i found here from knucklesandwich:

defaultSettings.putBoolean("DisableJoysticks", false);

but i don’t know which object i could call for that.

So my question now is:

Has anybody found out what now really is causing that problem, because i ran the same system before, it was just messed up.
Why should i now begin to extract libs, when i know, it has to work. It did that before !
With any controller

As i didn’t say that yet: I only try to run TestJoystick right now

Testing JInput with this:

Works

So this is the real fix

I don’t really know now, why it does this, but you don’t need to extrude any libs or so.

you just have to start your App with settings matching the problem, to get a quick fix:

    AppSettings settings = new AppSettings(true);
    settings.setUseJoysticks(true);
    app.setSettings(settings);

Yes, if you want to use joysticks you have to say you want to use joysticks.

somehow i didn’t say that anywhere since now and it worked !?!

Hello,

I had the same problem. Then I run directly jmeTest and it worked. Then I ran again the test chooser and worked! So, maybe is a timing issue which we can check inside our apps.

BTW the XBox 360 controller support is amazing! The picture in the test match almost exactly the configuration in the controller, without need to remap buttons