@Override
    public KeyInput getKeyInput() {
        if (keyInput == null) {
            keyInput = new GlfwKeyInputVR(this);
        }

        return keyInput;
    }
De-initialize in the OpenGL thread.
jme3-vr/src/main/java/com/jme3/system/lwjgl/LwjglWindowVR.java