@Override
    public KeyInput getKeyInput() {
        if (keyInput == null) {
            keyInput = new AwtKeyInput();
            keyInput.setInputSource(canvas);
        }
        return keyInput;
    }
(non-Javadoc)
@see com.jme3.system.lwjgl.LwjglWindow#getKeyInput() 
@return returns a {@link com.jme3.input.awt.AwtKeyInput} object
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglCanvas.java