public int getKeyCode(){
        return keyCode;
    }
Create a new <code>KeyTrigger</code> for the given keycode.

@param keyCode the code for the key, see constants in {@link KeyInput}.
jme3-core/src/main/java/com/jme3/input/controls/KeyTrigger.java