• 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: catching modifier keys in a keydown event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: catching modifier keys in a keydown event


  • Subject: Re: catching modifier keys in a keydown event
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 30 Jun 2006 18:21:35 -0700


On Jun 30, 2006, at 5:45 PM, Travis Siegel wrote:

Hello all.
I'm having trouble figuring out how to catch modifier keys (command/ option/shift/whatever)
...
I have no trouble getting regular keypresses, and even the function keys that have values.
But what I can't figure out is how to pickup a key like command-L, or something more complex command-option-L.


Review the following...

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html#// apple_ref/occ/instm/NSEvent/modifierFlags>

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSResponder_Class/Reference/Reference.html#// apple_ref/occ/instm/NSResponder/flagsChanged:>

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


References: 
 >catching modifier keys in a keydown event (From: Travis Siegel <email@hidden>)

  • Prev by Date: NSLog() and stderr
  • Next by Date: Re: display a nsview in a nscell
  • Previous by thread: catching modifier keys in a keydown event
  • Next by thread: NSLog() and stderr
  • Index(es):
    • Date
    • Thread