• 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: CGEventTap Not Receiving Events after some time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGEventTap Not Receiving Events after some time


  • Subject: Re: CGEventTap Not Receiving Events after some time
  • From: Erik Aigner <email@hidden>
  • Date: Thu, 30 Sep 2010 16:25:02 +0200

No, i figured out. It was some code in the callback that prevented me from identifying
a timeout message (wasn't easy recognizable on the first look).

Regards, Erik

On 30.09.2010, at 14:49, Bill Cheeseman wrote:

>
> On Sep 30, 2010, at 6:28 AM, Erik Aigner wrote:
>
>> I already check for these events, but they never occur. I think it might be that some other
>> app inserts itself again before my (active, not listen only) tap?
>>
>> The event tap specifically taps system events for the media keys previous/playpause/next. I guess
>> the new iTunes version probably "reconquers" the event tap?
>
>
> I don't know how another application would block the event taps you have enabled, but I suppose it might be possible.
>
> One possibility for testing these kinds of problems is to use my free Event Taps Testbench developer utility, at <http://pfiddlesoft.com/eventtapstestbench>.
>
> --
>
> Bill Cheeseman - email@hidden
>
> _______________________________________________
>
> 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

_______________________________________________

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: 
 >CGEventTap Not Receiving Events after some time (From: Erik Aigner <email@hidden>)
 >Re: CGEventTap Not Receiving Events after some time (From: Bill Cheeseman <email@hidden>)
 >Re: CGEventTap Not Receiving Events after some time (From: Erik Aigner <email@hidden>)
 >Re: CGEventTap Not Receiving Events after some time (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Exceptions to the "don't use -[NSManagedObject dealloc]" rule?
  • Next by Date: Re: Acquiring an NSConnection otherwise than by registered name?
  • Previous by thread: Re: CGEventTap Not Receiving Events after some time
  • Next by thread: Accessing Scrollers in NSBrowser ?
  • Index(es):
    • Date
    • Thread