FROM : Randall Meadows
DATE : Mon Mar 03 18:37:50 2008
On Mar 3, 2008, at 10:25 AM, David Harper wrote:
> 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.
NSEvent -isARepeat
DATE : Mon Mar 03 18:37:50 2008
On Mar 3, 2008, at 10:25 AM, David Harper wrote:
> 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.
NSEvent -isARepeat
| Related mails | Author | Date |
|---|---|---|
| David Harper | Mar 3, 18:25 | |
| Randall Meadows | Mar 3, 18:37 |






Cocoa mail archive

