@Override
    public JoyInput getJoyInput() {
        if (joyInput == null) {
            joyInput = new GlfwJoystickInput();
        }
        return joyInput;
    }
De-initialize in the OpenGL thread.
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java