}
protected void initInputTextField()
{
textfield = nifty.getScreen("debugGUI").findNiftyControl("txtInput", TextField.class);
Element elem = textfield.getElement();
elem.attachInputControl(new NiftyInputControl(elem.getAttachedInputControl().getController(), new TextFieldInputMappingAdv()));
elem.getAttachedInputControl().addInputHandler(new KeyInputHandler() {
@Override
public boolean keyEvent(NiftyInputEvent inputEvent) {
return onTextChanged(inputEvent);