Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/sys/dev/pckbport Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/175e00ea2c90
branches:  netbsd-9
changeset: 1001632:175e00ea2c90
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Apr 02 19:23:41 2020 +0000

description:
Pull up following revision(s) (requested by nia in ticket #818):

        sys/dev/pckbport/synaptics.c: revision 1.64

synaptics: Maintain the left/right buttons when up/down are remapped
Reported on current-users by Mandacarú Cascavel

diffstat:

 sys/dev/pckbport/synaptics.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 1cb0bc9a0345 -r 175e00ea2c90 sys/dev/pckbport/synaptics.c
--- a/sys/dev/pckbport/synaptics.c      Thu Apr 02 19:22:05 2020 +0000
+++ b/sys/dev/pckbport/synaptics.c      Thu Apr 02 19:23:41 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: synaptics.c,v 1.50.2.2 2020/03/30 18:47:33 martin Exp $        */
+/*     $NetBSD: synaptics.c,v 1.50.2.3 2020/04/02 19:23:41 martin Exp $        */
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.50.2.2 2020/03/30 18:47:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.50.2.3 2020/04/02 19:23:41 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1109,8 +1109,8 @@
                        break;
                case 3:
                        /* Do left/right button emulation using up/down buttons */
-                       sp.sp_left = sp.sp_up;
-                       sp.sp_right = sp.sp_down;
+                       sp.sp_left = sp.sp_left | sp.sp_up;
+                       sp.sp_right = sp.sp_right | sp.sp_down;
                        sp.sp_up = sp.sp_down = 0;
                        break;
                default:



Home | Main Index | Thread Index | Old Index