Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/dreamcast/dev/maple Invert Y-axis value for mms(4)....
details: https://anonhg.NetBSD.org/src/rev/7df1fa4adbe8
branches: trunk
changeset: 556234:7df1fa4adbe8
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Dec 10 10:30:45 2003 +0000
description:
Invert Y-axis value for mms(4). From Yasushi Oshima on port-dreamcast.
diffstat:
sys/arch/dreamcast/dev/maple/mms.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r cf0694c97757 -r 7df1fa4adbe8 sys/arch/dreamcast/dev/maple/mms.c
--- a/sys/arch/dreamcast/dev/maple/mms.c Wed Dec 10 09:28:38 2003 +0000
+++ b/sys/arch/dreamcast/dev/maple/mms.c Wed Dec 10 10:30:45 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mms.c,v 1.8 2003/07/15 01:31:40 lukem Exp $ */
+/* $NetBSD: mms.c,v 1.9 2003/12/10 10:30:45 tsutsui Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mms.c,v 1.8 2003/07/15 01:31:40 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mms.c,v 1.9 2003/12/10 10:30:45 tsutsui Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -249,6 +249,6 @@
buttons |= 0x08;
wsmouse_input(sc->sc_wsmousedev, buttons,
- dx, dy, dz, WSMOUSE_INPUT_DELTA);
+ dx, -dy, dz, WSMOUSE_INPUT_DELTA);
}
}
Home |
Main Index |
Thread Index |
Old Index