Adjusted Keyboard Input

When a key is being pressed, only the initial press down counts for
recording presses, rather than including presses due to autorepeat.