[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recommended way to bind mouse-wheel events
From: |
Stefan Monnier |
Subject: |
Re: recommended way to bind mouse-wheel events |
Date: |
Mon, 16 Feb 2009 20:54:48 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) |
> Will this code, which uses the event variables, work also on non-Windows
> platforms? If so, is this a good way to do it, or is there a better way?
IIUC it should work more or less everywhere, and while it's not great
it's the best we have so far.
> Shouldn't this be documented? (Mice with wheels have been around
> for decades.)
I'd rather not document this ugly hack. We should indeed remap mouse-4
and mouse-5 to wheel-up and wheel-down (on X11) so those events can be
used everywhere.
Stefan