summaryrefslogtreecommitdiff
path: root/sys/dev/hil
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/dev/hil
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/dev/hil')
-rw-r--r--sys/dev/hil/hilms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hil/hilms.c b/sys/dev/hil/hilms.c
index 8c752bf6d56..4251ae419c2 100644
--- a/sys/dev/hil/hilms.c
+++ b/sys/dev/hil/hilms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hilms.c,v 1.4 2006/12/16 20:08:44 miod Exp $ */
+/* $OpenBSD: hilms.c,v 1.5 2007/04/10 22:37:17 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -334,5 +334,5 @@ hilms_callback(struct hildev_softc *dev, u_int buflen, u_int8_t *buf)
if (sc->sc_wsmousedev != NULL)
wsmouse_input(sc->sc_wsmousedev,
- sc->sc_buttonstate, dx, dy, dz, flags);
+ sc->sc_buttonstate, dx, dy, dz, 0, flags);
}