Re: Can scroll direction be changed programmatically?
Re: Can scroll direction be changed programmatically?
- Subject: Re: Can scroll direction be changed programmatically?
- From: Steven Degutis <email@hidden>
- Date: Thu, 09 May 2013 20:23:38 -0500
Kinda like https://github.com/invariant/Scroll-Reverser ? Someone
showed me this and I glanced at the source code, and was not fond of
this technique.
On Thu, May 9, 2013 at 7:26 PM, Uli Kusterer
<email@hidden> wrote:
> On 09.05.2013, at 20:55, Steven Degutis <email@hidden> wrote:
>> I found a solution using AppleScript[1] but it seems like it may be fragile
>> (uses magic numbers, etc).
>>
>> Is there another way?
>
>
> I wonder if an event tap and just changing the direction on each scroll event would work? Could also listen to CGDisplayConfigurationChanged callback in the app that filters the events to see when an external screen is plugged in.
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.masters-of-the-void.com
>
>
>
_______________________________________________
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