summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-31 18:01:15 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-31 18:01:15 +0000
commite3fcf7ab5f6d2dc90822f266613936d71962083b (patch)
treef3f2219b6027295e22c2b752b49b0e5be4f75224
parent10029c6c30d79f0ca47002fc60b7666ba9cb7007 (diff)
Default to ZAxisMapping 4 5 6 7.
This is what most users expect noawadays.
-rw-r--r--driver/xf86-input-ws/src/ws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/xf86-input-ws/src/ws.c b/driver/xf86-input-ws/src/ws.c
index ef005c2d4..0edfa9d30 100644
--- a/driver/xf86-input-ws/src/ws.c
+++ b/driver/xf86-input-ws/src/ws.c
@@ -13,7 +13,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: ws.c,v 1.28 2009/12/10 22:32:02 matthieu Exp $ */
+/* $OpenBSD: ws.c,v 1.29 2009/12/31 18:01:14 matthieu Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -167,7 +167,7 @@ wsPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
buttons_from = X_DEFAULT;
}
priv->negativeZ = priv->positiveZ = WS_NOZMAP;
- s = xf86SetStrOption(pInfo->options, "ZAxisMapping", NULL);
+ s = xf86SetStrOption(pInfo->options, "ZAxisMapping", "4 5 6 7");
if (s) {
int b1, b2;