help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse wheel emulation


From: Stefan Monnier
Subject: Re: Mouse wheel emulation
Date: Wed, 28 Mar 2012 09:22:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

> Is there a way to emulate mouse wheel click?

You mean the pseudo-clicks (mouse-4/5) sent when you spin the wheel
forward or backward, or you mean the click sent when you press the wheel
(mouse-2)?
And as for "emulation", do you want to do it within Emacs, or more
globally (if globally, what's your environment like: Windows?  GNU/Linux?).

Personally, on the 9-year thinkpad whose 3 mouse buttons have decided
it's time to retire, I use xmodmap to map F2,F3,F4 to
Pointer_Button1,Pointer_Button2,Pointer_Button3 and then activate these
symbols with "xkbset m" (otherwise they don't do anything, for a reason
that escapes me).
But you can also configure the Xorg server to send various kinds of
clicks on response to touchpad taps at various particular locations, so
you might be able to use that for middle-clicks as well.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]