[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trackpad horizontal scrolling (was: [Orgmode] Re: [OT-emacs] Scrolli
From: |
Jeff Horn |
Subject: |
Re: Trackpad horizontal scrolling (was: [Orgmode] Re: [OT-emacs] Scrolling horizontally) |
Date: |
Tue, 1 Feb 2011 15:32:33 -0500 |
On Tue, Feb 1, 2011 at 2:00 PM, Tassilo Horn <address@hidden> wrote:
> (global-set-key (kbd "<mouse-7>") (lambda ()
> (interactive)
> (scroll-left 1)))
> (global-set-key (kbd "<mouse-6>") (lambda ()
> (interactive)
> (scroll-right 1)))
Thanks for the snippet Tassilo. I tried this out in the minibuffer and
it didn't work. =C-h k <two-finger-swipe-left-gesture>= (a motion, not
a binding) produced nothing. However, =C-h k <two-finger-swipe-down>=
actually produced =C-h k wheeldown=, so I can see that <mouse-6> isn't
a valid button for the trackpad on my Mac (Snow Leopard). It might be
an Aquamacs thing, or perhaps a driver issue.
I simply don't know enough to debug further or provide more info.
--
Jeffrey Horn
http://www.failuretorefrain.com/jeff/