Keyboard input works, sort of