• 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: Command Key physical key down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command Key physical key down


  • Subject: Re: Command Key physical key down
  • From: Greg Titus <email@hidden>
  • Date: Thu, 2 Oct 2003 11:51:22 -0700

On Thursday, October 2, 2003, at 11:24 AM, robert l clair wrote:

Can someone point me to a lead on how to get the actual key press
for the command and other modifier keys ? (As opposed to determining
whether they are up or down when another key is pressed.)

Implement the method -flagsChanged: in an NSResponder (view/window/whatever). It will get called when modifier keys go up or down exactly the same way as -mouseDown:/-mouseUp: or -keyDown:/-keyUp:

Hope this helps,
- 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: Command Key physical key down
      • From: Henry McGilton <email@hidden>
References: 
 >Command Key physical key down (From: robert l clair <email@hidden>)

  • Prev by Date: Command Key physical key down
  • Next by Date: cursor ills
  • Previous by thread: Command Key physical key down
  • Next by thread: Re: Command Key physical key down
  • Index(es):
    • Date
    • Thread