@Override
    public String getName() {
        if (keyCode != 0)
            return "TouchInput";
        else
            return "TouchInput KeyCode " + keyCode;
    }
Constructor
@param keyCode can be zero to get all events or TouchInput.KEYCODE_*
jme3-core/src/main/java/com/jme3/input/controls/TouchTrigger.java