Re: CGEventTap Not Receiving Events after some time
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