diff options
-rw-r--r-- | README.sgml | 3 | ||||
-rw-r--r-- | man/mouse.man | 2 | ||||
-rw-r--r-- | src/mouse.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/README.sgml b/README.sgml index 70eb869..78a0ffd 100644 --- a/README.sgml +++ b/README.sgml @@ -485,7 +485,8 @@ Moreover, there are some mice whose two wheels are both mounted vertically, and the direction of the second vertical wheel does not match the first one's. -You need to edit the <tt>xorg.conf</tt> file by hand to add this option. +You need to edit the <tt>xorg.conf</tt> file by hand to change this option if +the default value of "4 5 6 7" does not match the needs of your configuration. <sect1>Resolution <p> The following option will set the mouse device resolution to <tt>N</tt> diff --git a/man/mouse.man b/man/mouse.man index efd12fb..46d2d0d 100644 --- a/man/mouse.man +++ b/man/mouse.man @@ -161,7 +161,7 @@ of the second wheel mapped respectively to buttons number .I N3 and .IR N4 . -Default: no mapping. +Default: "4 5 6 7". .TP 7 .BI "Option \*qFlipXY\*q \*q" boolean \*q Enable/disable swapping the X and Y axes. This transformation is applied diff --git a/src/mouse.c b/src/mouse.c index 8154a7f..ff2f7c8 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -535,7 +535,7 @@ MouseCommonOptions(InputInfoPtr pInfo) } } - s = xf86SetStrOption(pInfo->options, "ZAxisMapping", NULL); + s = xf86SetStrOption(pInfo->options, "ZAxisMapping", "4 5 6 7"); if (s) { int b1 = 0, b2 = 0, b3 = 0, b4 = 0; char *msg = NULL; |