• 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: Trouble with event taps...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with event taps...


  • Subject: Re: Trouble with event taps...
  • From: Dave Keck <email@hidden>
  • Date: Mon, 10 Aug 2009 15:33:21 -1000

>
>    Event taps receive key up and key down events if one of the following
> conditions is true: The current process is running as the root user. Access
> for assistive devices is enabled.


Woops, I forgot that you said you enabled access for assistive device. I
just made a quick test project and everything seems to work as the docs
explain: when running as root, keyboard events trigger the callback, and
likewise when access for assistive devices is enabled.

Here's my test project based on your code: http://themha.com/et.zip

Does that project still not receive the keyboard events when running as
root/with assistive device access
enabled? On 10.5.8 it works as expected. What OS are you on?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Trouble with event taps... (From: Nat Burke <email@hidden>)
 >Re: Trouble with event taps... (From: "James W. Walker" <email@hidden>)
 >Re: Trouble with event taps... (From: Rob Keniger <email@hidden>)
 >Re: Trouble with event taps... (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: Trouble with event taps...
  • Next by Date: Re: defining NSColor constants
  • Previous by thread: Re: Trouble with event taps...
  • Next by thread: NSMutableArray initWithCapacity and insertObject:atIndex
  • Index(es):
    • Date
    • Thread