summaryrefslogtreecommitdiff
path: root/sys/dev/adb
diff options
context:
space:
mode:
authorUlf Brosziewski <bru@cvs.openbsd.org>2016-06-05 20:02:37 +0000
committerUlf Brosziewski <bru@cvs.openbsd.org>2016-06-05 20:02:37 +0000
commitf623688fe1f4e9eef651c8ed946a65d8fe1b6354 (patch)
tree387a3186b2ba81e33ed799f8badce695e326d01a /sys/dev/adb
parentb0b8ef96f14b84a63fccb1bdb5652c9136a96b98 (diff)
Use the new input functions of wsmouse in mouse and touchscreen drivers.
ok stsp@ kettenis@
Diffstat (limited to 'sys/dev/adb')
-rw-r--r--sys/dev/adb/ams.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/adb/ams.c b/sys/dev/adb/ams.c
index fa468f60539..433f478c4b0 100644
--- a/sys/dev/adb/ams.c
+++ b/sys/dev/adb/ams.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ams.c,v 1.6 2011/06/15 21:32:05 miod Exp $ */
+/* $OpenBSD: ams.c,v 1.7 2016/06/05 20:02:36 bru Exp $ */
/* $NetBSD: ams.c,v 1.11 2000/12/19 03:13:40 tsubai Exp $ */
/*
@@ -501,8 +501,7 @@ ms_processevent(adb_event_t *event, struct ams_softc *sc)
((event->bytes[0] & 0x40) ? 64 : 0);
if (sc->sc_wsmousedev)
- wsmouse_input(sc->sc_wsmousedev, buttons, dx, -dy, 0, 0,
- WSMOUSE_INPUT_DELTA);
+ WSMOUSE_INPUT(sc->sc_wsmousedev, buttons, dx, -dy, 0, 0);
}
int