• 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
Re: receiving global keyDown events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: receiving global keyDown events


  • Subject: Re: receiving global keyDown events
  • From: Ryan Poling <email@hidden>
  • Date: Wed, 29 Jun 2005 09:37:24 -0700

Thanks guys, but I don't think that will work. I want to know when *any* key on the keyboard is pressed - I don't care what the keys are, I just need the timing. The purpose of this if you're curious is to have the program make a key click sound when keys are pressed. OS X has something like this built in, but you can only turn it on when "slow keys" are enabled under the Universal Access system preference pane. I want click sounds all the time but without slow keys.

Any other ideas?

Thanks,

-Ryan


On Jun 28, 2005, at 4:27 PM, Daniel Jalkut wrote:
Register for the specific keystrokes you are interested in with RegisterEventHotKey. Search the archives for that function name for more information.

Daniel

On Jun 29, 2005, at 2:05 AM, Nathan Day wrote:

What you want is Hot Keys, you can get this through carbon or there are at least two wrapper classes including the one on my web site.

On 29/06/2005, at 3:07 AM, Ryan Poling wrote:

I'm trying to write a little Cocoa app which will be able to see all keyDown events - even when it's not in the foreground. I've been playing around with first creating a global floating window, and although I've managed to do this, I only receive keyDown events when my window is in the front.

Nathan Day email@hidden http://homepage.mac.com/nathan_day/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: receiving global keyDown events
      • From: Dave Camp <email@hidden>
    • Re: receiving global keyDown events
      • From: Daniel Jalkut <email@hidden>
References: 
 >receiving global keyDown events (From: Ryan Poling <email@hidden>)
 >Re: receiving global keyDown events (From: Nathan Day <email@hidden>)

  • Prev by Date: delete in entity with parent/children relationships calls removeChildrenObject: twice?
  • Next by Date: Re: Punching a hole in an NSImage
  • Previous by thread: Re: receiving global keyDown events
  • Next by thread: Re: receiving global keyDown events
  • Index(es):
    • Date
    • Thread