A player of mine has reported an odd crash that I can’t make much of. It looks something like as if the mouse itself was null or something along those lines but that doesn’t really make sense.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
This is on jme 3.1-beta2, Windows 10, joysticks disabled, and the user claims to not have anything other than a mouse, keyboard and a headset plugged in. He also says he has no mouse/keyboard related issues otherwise.
Can you maybe ask the user to launch the game with the mouse unplugged? Here it seems that a “Corsair Gaming Scimitar RGB Mouse” lead to the problem, because it was attempted to be read as Controller or something.
"Something to add… I can plug the mouse back in while in the game and the mouse and controller both continue to work, but when I exit and relaunch with the mouse plugged in, the controller no longer works. "
Edit: ha, in the other links the crash is also due to a corsair mouse
And for what it’s worth, that joystick code wouldn’t run if joysticks were disabled because of the null check… the constructor of InputManager is called with a null joystick object if they are disabled.
Which is typically set to true by default:
Which is only set false here if called by the application or the settings dialog:
So, I call “shenanigans” on the “joysticks are disabled” thing.