The following option will set the mouse device resolution to N 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;