[xorg-x11-server/f18] Add quirk for Evoluent Vertical Mouse 3, button mapping is quirky

Peter Hutterer whot at fedoraproject.org
Fri Jan 25 06:40:22 UTC 2013


commit 9ff955fece31b73d9d5a68d0f38bd3cb462e7be4
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Jan 25 16:39:20 2013 +1000

    Add quirk for Evoluent Vertical Mouse 3, button mapping is quirky
    
      (#612140)

 10-quirks.conf       |   16 ++++++++++++++++
 xorg-x11-server.spec |    6 +++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/10-quirks.conf b/10-quirks.conf
index 82d3ec2..c850660 100644
--- a/10-quirks.conf
+++ b/10-quirks.conf
@@ -18,3 +18,19 @@ Section "InputClass"
         Option "IgnoreAbsoluteAxes" "off"
         Option "IgnoreRelativeAxes" "off"
 EndSection
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=612140
+# please make Evoluent VerticalMouse 3 work out of the box
+# Button mapping on this mouse is quirky
+Section "InputClass"
+	Identifier "Evoluent VerticalMouse 3"
+        MatchProduct "Evoluent VerticalMouse 3"
+        # Sets following configuration:
+        # top button:    left
+        # middle button: middle
+        # bottom button: right
+        # wheel click:   middle
+        # thumb button:  8 (back)
+	Option "ButtonMapping" "1 2 2 0 0 0 0 3 8"
+EndSection
+
diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec
index deda580..02267fa 100644
--- a/xorg-x11-server.spec
+++ b/xorg-x11-server.spec
@@ -43,7 +43,7 @@
 Summary:   X.Org X11 X server
 Name:      xorg-x11-server
 Version:   1.13.1
-Release:   4%{?gitdate:.%{gitdate}}%{dist}
+Release:   5%{?gitdate:.%{gitdate}}%{dist}
 URL:       http://www.x.org
 License:   MIT
 Group:     User Interface/X
@@ -600,6 +600,10 @@ rm -rf $RPM_BUILD_ROOT
 %{xserver_source_dir}
 
 %changelog
+* Fri Jan 25 2013 Peter Hutterer <peter.hutterer at redhat.com> 1.13.1-5
+- Add quirk for Evoluent Vertical Mouse 3, button mapping is quirky
+  (#612140)
+
 * Wed Jan 09 2013 Dave Airlie <airlied at redhat.com> 1.13.1-4
 - fix bug on server shutdown + valgrind warnings (#891140)
 


More information about the scm-commits mailing list