added keyboardInput for gtk