Earlier quoted context omitted.
Don't accept a keypress if the same key was previously pressed less than x milliseconds ago. What else is there to know about debouncing?
What is x? Is it related to human capability?
For instance, taking a look with a scope, if you observe that the signal stops bouncing after 3 milliseconds, it would be pretty safe to accept duplicate keypresses with a 10-ms guard interval.