Re: Can scroll direction be changed programmatically?
Re: Can scroll direction be changed programmatically?
- Subject: Re: Can scroll direction be changed programmatically?
- From: Kyle Sluder <email@hidden>
- Date: Thu, 09 May 2013 11:59:34 -0700
On Thu, May 9, 2013, at 11:55 AM, Steven Degutis wrote:
> I found a solution using AppleScript[1] but it seems like it may be
> fragile
> (uses magic numbers, etc).
>
> Is there another way?
What are you actually trying to accomplish?
NSEvent has -isDirectionInvertedFromDevice, which can be used to
override the user's setting when it makes sense. Does that satisfy your
needs?
--Kyle Sluder
_______________________________________________
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