Skip navigation.
 
mlkeydown, determining if a keypress was "repeated"
FROM : David Harper
DATE : Mon Mar 03 18:25:02 2008

Hello,

When a keyDown event is received, does anyone know how to determine whether the event was caused by a key press or a timed repeat?  For example, when the x key is pressed and held, I would prefer to ignore the events following the initial key press.

Thanks in advance,

-Dave H.

Related mailsAuthorDate
mlkeydown, determining if a keypress was "repeated" David Harper Mar 3, 18:25
mlRe: keydown, determining if a keypress was "repeated" Randall Meadows Mar 3, 18:37