Keyboard input/Keypress check: Difference between revisions