summaryrefslogtreecommitdiff
path: root/sys/arch/i386
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/i386
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/i386')
-rw-r--r--sys/arch/i386/isa/lms.c4
-rw-r--r--sys/arch/i386/isa/mms.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/isa/lms.c b/sys/arch/i386/isa/lms.c
index 4930a51a641..eb2dc1f3259 100644
--- a/sys/arch/i386/isa/lms.c
+++ b/sys/arch/i386/isa/lms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lms.c,v 1.19 2006/09/19 11:06:34 jsg Exp $ */
+/* $OpenBSD: lms.c,v 1.20 2007/04/10 22:37:17 miod Exp $ */
/* $NetBSD: lms.c,v 1.38 2000/01/08 02:57:25 takemura Exp $ */
/*-
@@ -236,7 +236,7 @@ lmsintr(void *arg)
if (dx || dy || changed)
wsmouse_input(sc->sc_wsmousedev,
- buttons, dx, dy, 0, WSMOUSE_INPUT_DELTA);
+ buttons, dx, dy, 0, 0, WSMOUSE_INPUT_DELTA);
return -1;
}
diff --git a/sys/arch/i386/isa/mms.c b/sys/arch/i386/isa/mms.c
index 0e517cb0745..977978a3ae3 100644
--- a/sys/arch/i386/isa/mms.c
+++ b/sys/arch/i386/isa/mms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mms.c,v 1.18 2006/09/19 11:06:34 jsg Exp $ */
+/* $OpenBSD: mms.c,v 1.19 2007/04/10 22:37:17 miod Exp $ */
/* $NetBSD: mms.c,v 1.35 2000/01/08 02:57:25 takemura Exp $ */
/*-
@@ -230,7 +230,7 @@ mmsintr(void *arg)
if (dx || dy || changed)
wsmouse_input(sc->sc_wsmousedev,
- buttons, dx, dy, 0, WSMOUSE_INPUT_DELTA);
+ buttons, dx, dy, 0, 0, WSMOUSE_INPUT_DELTA);
return -1;
}