@Override
    public void update() {
        if (!context.isRenderable()) {
            return;
        }

        while (!keyInputEvents.isEmpty()) {
            listener.onKeyEvent(keyInputEvents.poll());
        }
    }
Get the key count.
@return the key count.
jme3-vr/src/main/java/com/jme3/input/lwjgl/GlfwKeyInputVR.java