2
# Ubuntu: https://launchpad.net/bugs/326050
3
# Upstream: http://cgit.freedesktop.org/xorg/driver/xf86-input-vmmouse/commit/?id=305fd77bdf4a8b241c3155b068acf4147a2f8077
4
# Description: Change ZAxisMapping default to match main mouse driver.
6
diff --git a/src/vmmouse.c b/src/vmmouse.c
7
index beeed87..99daa92 100644
12
#define VMMOUSE_MAJOR_VERSION 12
13
#define VMMOUSE_MINOR_VERSION 5
14
-#define VMMOUSE_PATCHLEVEL 1
15
+#define VMMOUSE_PATCHLEVEL 2
16
#define VMMOUSE_DRIVER_VERSION \
17
(VMMOUSE_MAJOR_VERSION * 65536 + VMMOUSE_MINOR_VERSION * 256 + VMMOUSE_PATCHLEVEL)
18
#define VMMOUSE_DRIVER_VERSION_STRING \
19
@@ -675,7 +675,7 @@ MouseCommonOptions(InputInfoPtr pInfo)
21
* Process option for ZAxisMapping
23
- s = xf86SetStrOption(pInfo->options, "ZAxisMapping", NULL);
24
+ s = xf86SetStrOption(pInfo->options, "ZAxisMapping", "4 5");
26
int b1 = 0, b2 = 0, b3 = 0, b4 = 0;