Re: NSEvent Question
Re: NSEvent Question
- Subject: Re: NSEvent Question
- From: Finlay Dobbie <email@hidden>
- Date: Wed, 3 Oct 2001 07:28:15 +0100
On Wednesday, October 3, 2001, at 05:11 AM, Gerald Hanks wrote:
I know that I can use the flagsChanged function from NSEvent to see
when a modifier key like the caps lock is changed. But how can I check
when an application starts up to see if the caps lock key is already
"locked"?
Try [[NSApp currentEvent] modifierFlags]
-- Finlay