• 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
Receiving all Key Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Receiving all Key Events


  • Subject: Receiving all Key Events
  • From: Greg Hulands <email@hidden>
  • Date: Sun, 20 Oct 2002 10:01:05 +1000

Hi,
I cannot find in the docs on how I can receive all key events. What I am after is to be able to just hold down the shift or option or control or command keys by them selves so that I can then perform a different operation depending on which key is depressed. The only problem so far is that NSEvent treats all those keys as modifier keys when another key is pressed. What I need is to get the key press as an event, as I do not want to have to press another key just to get a key event generated.

Any help is greatly appreciated.

Regards,
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Receiving all Key Events
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: Faster drawing NSButtons
  • Next by Date: Re: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments)
  • Previous by thread: Faster drawing NSButtons
  • Next by thread: Re: Receiving all Key Events
  • Index(es):
    • Date
    • Thread