Re: slow autoscroll near edge of screen
Re: slow autoscroll near edge of screen
- Subject: Re: slow autoscroll near edge of screen
- From: "Simon Strandgaard" <email@hidden>
- Date: Wed, 11 Oct 2006 18:30:24 +0200
On 10/11/06, Simon Strandgaard <email@hidden> wrote:
[snip]
Any ideas on how to read relative-mouse-movements?
Ok. I did'nt check the plug.. NSEvent knows this
-(void)mouseDragged:(NSEvent*)event {
float dx = [event deltaX];
float dy = [event deltaY];
NSLog(@"mouse dragged %.2f %.2f\n", dx, dy);
}
I am still attempting to get autoscroll working.
Should I make my own NSEvent where i insert some fake mouse-location,
and pass this event to autoscroll ?
--
Simon Strandgaard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden