summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-04-10 22:37:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-04-10 22:37:18 +0000
commit4395ebb5d960c7e79e0751653ed70652bb5c750e (patch)
treef3fbbc3ee965b802ffcc2ec46881747e95afdf75 /sys/arch/vax
parentb50c42daab6dfe37e18820055d043474e3fa21f7 (diff)
Add support for a fourth axis on wsmouse devices, e.g. on the Apple Might
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/dec/vsms_ws.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/dec/vsms_ws.c b/sys/arch/vax/dec/vsms_ws.c
index bb9464a456e..ea26e938a08 100644
--- a/sys/arch/vax/dec/vsms_ws.c
+++ b/sys/arch/vax/dec/vsms_ws.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsms_ws.c,v 1.1 2006/08/27 16:52:15 miod Exp $ */
+/* $OpenBSD: vsms_ws.c,v 1.2 2007/04/10 22:37:17 miod Exp $ */
/* $NetBSD: dzms.c,v 1.1 2000/12/02 17:03:55 ragge Exp $ */
/*
@@ -127,7 +127,7 @@ lkms_input(void *vsc, int data)
else
sc->dy = data;
wsmouse_input(sc->sc_wsmousedev, sc->buttons,
- sc->dx, sc->dy, 0, WSMOUSE_INPUT_DELTA);
+ sc->dx, sc->dy, 0, 0, WSMOUSE_INPUT_DELTA);
}
return (1);