thing to only register button presses when not held down too long.