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

        keyCallback.free();
        
        logger.fine("Keyboard destroyed.");
    }
Get the key count.
@return the key count.
jme3-vr/src/main/java/com/jme3/input/lwjgl/GlfwKeyInputVR.java