Bug 1244 - Support to map a mouse button to emulate double-clicks
Summary: Support to map a mouse button to emulate double-clicks
Status: RESOLVED DUPLICATE of bug 322
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Mouse (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: lowest enhancement
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 19:20 UTC by Andrew J. Montalenti
Modified: 2004-09-20 21:19 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Andrew J. Montalenti 2004-08-30 19:20:31 UTC
Double left clicking is used all over the typical graphical desktops, i.e.
Gnome, KDE, etc.  Many people have mouses with more than three (or "five")
buttons.  In addition to left, middle, right, and the wheel scrollers, many
modern mice include thumb buttons and other extra buttons.  One in particular,
my new Evoluent Vertical Mouse 2 (www.evoluent.com - an ergonomic mouse flipped
on its side to reduce wrist and shoulder strain) features two extra buttons. 
Using the Windows driver, one can assign these buttons to just about anything. 
By default, the fourth button is assigned to be "double click," i.e. you can
click anything with the fourth button and the driver will emulate a double left
click.  For ergonomic reasons, this feature is very valuable, as it reduces the
amount of clicking one must do by a significant percentage.

It would be nice to get this kind of functionality into an X server.  I tried
looking at the documentation for imwheel, but unfortunately they only allow one
to map mouse events to keystrokes.  One Debian developer told me the only way to
get true support for this would be a modification to the x server.  Thus this
feature request.

I would love to attack this problem myself but I have nearly no experience
hacking XFree86 or XOrg.

I am open to any questions, elaborations, or debate.  Thanks.
Comment 1 Alan Coopersmith 2004-08-30 19:27:59 UTC
I believe the new Xevie extension would allow a client to map button presses to
other events such as double button presses or keystrokes, but have not confirmed
this.   Perhaps reading http://www.freedesktop.org/Software/XEvIE and the
associated docs would be a good place to start, with questions to
xorg@freedesktop.org as needed.
Comment 2 Andrew J. Montalenti 2004-08-31 14:09:15 UTC
Thanks for the pointer.  I'm going to do some research on xevie and see what I
can figure out.  In the meanwhile, maybe you guys should check this out:

http://bugs.xfree86.org/show_bug.cgi?id=1184

This is the same feature request reported to xfree86's bugzilla, with a patch
that adds at least partial support for it.  Perhaps this is valuable in the way
of getting this supported in xorg.
Comment 3 Andrew J. Montalenti 2004-09-21 14:19:01 UTC

*** This bug has been marked as a duplicate of 322 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.