Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/arch/mac68k/dev Pull up following revision(s) (reques...
details: https://anonhg.NetBSD.org/src/rev/09bc46fbc7d1
branches: netbsd-8
changeset: 934687:09bc46fbc7d1
user: bouyer <bouyer%NetBSD.org@localhost>
date: Tue Jun 16 10:23:04 2020 +0000
description:
Pull up following revision(s) (requested by tsutsui in ticket #1557):
sys/arch/mac68k/dev/ams.c: revision 1.23
Fix inverted Y-axis value passed to wsmouse_input(9).
Note this is what src/sys/arch/macppc/dev/ams.c does as
"upward (moving the mouse forward) is positive" as noted in wsmouse(9):
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/macppc/dev/ams.c#rev1.4
Reported and tested by @NonameInsect on his SE/30 and Xorg server.
Should be pulled up to netbsd-8 and netbsd-9.
diffstat:
sys/arch/mac68k/dev/ams.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dd7031e9e552 -r 09bc46fbc7d1 sys/arch/mac68k/dev/ams.c
--- a/sys/arch/mac68k/dev/ams.c Sun Jun 07 17:09:33 2020 +0000
+++ b/sys/arch/mac68k/dev/ams.c Tue Jun 16 10:23:04 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ams.c,v 1.22 2013/10/19 16:23:17 martin Exp $ */
+/* $NetBSD: ams.c,v 1.22.22.1 2020/06/16 10:23:04 bouyer Exp $ */
/*
* Copyright (C) 1998 Colin Wood
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ams.c,v 1.22 2013/10/19 16:23:17 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ams.c,v 1.22.22.1 2020/06/16 10:23:04 bouyer Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -506,7 +506,7 @@
if (amsc->sc_wsmousedev != NULL) /* wsmouse is attached? */
wsmouse_input(amsc->sc_wsmousedev,
new_event.u.m.buttons,
- new_event.u.m.dx, new_event.u.m.dy, 0, 0,
+ new_event.u.m.dx, -new_event.u.m.dy, 0, 0,
WSMOUSE_INPUT_DELTA);
#else
/* do nothing */ ;
Home |
Main Index |
Thread Index |
Old Index