• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
keydown, determining if a keypress was "repeated"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

keydown, determining if a keypress was "repeated"


  • Subject: keydown, determining if a keypress was "repeated"
  • From: David Harper <email@hidden>
  • Date: Mon, 3 Mar 2008 12:25:02 -0500 (EST)

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.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: keydown, determining if a keypress was "repeated"
      • From: Randall Meadows <email@hidden>
  • Prev by Date: Re: Relaunching an application
  • Next by Date: Re: Typing attributes and the location of the insertion point
  • Previous by thread: Re: How can I fix an error in a XIB file?
  • Next by thread: Re: keydown, determining if a keypress was "repeated"
  • Index(es):
    • Date
    • Thread