Re: post hidden mouse events
Re: post hidden mouse events
- Subject: Re: post hidden mouse events
- From: "Giovanni Donelli" <email@hidden>
- Date: Sat, 5 May 2007 09:19:31 +0200
I believe your intuition is correct.
Unfortunately the API seems quite buggy (as well documented in this
list) and if I use any of the other event types... nothing really
happens.
Same thing for the event source. the only one that works is the
kCGEventSourceStatePrivate
Thank you for your reply
Giovanni
On 5/4/07, Paul Thomas <email@hidden> wrote:
On 4 May 2007, at 19:26, Giovanni Donelli wrote:
> Thank you for your reply
>
> Unfortunately this works only if my application is always in
> foreground... instead the synthesized click select an other window
> (this is actually the purpose of the click)
>
> and by doing so, despite:
> CGAssociateMouseAndMouseCursorPosition(false)
>
> the mouse becomes visibile.
>
> Is there an absolute (ie works with any application)
> AssociateMouseAndMouseCursorPosition(false) ?
I haven't tried this, but does it make a difference which tap
location is specified in the post function? I can see that
kCGHIDEventTap would change the cursor position, but what about the
later ones?
Short of trawling through the private functions, that's all I got.
pt.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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)
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