Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pckbport synaptics: Allow the max_speed sysctls to b...
details: https://anonhg.NetBSD.org/src/rev/7a808f054039
branches: trunk
changeset: 970174:7a808f054039
user: nia <nia%NetBSD.org@localhost>
date: Sat Mar 14 21:18:50 2020 +0000
description:
synaptics: Allow the max_speed sysctls to be set
diffstat:
sys/dev/pckbport/synaptics.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 2d3124734bbc -r 7a808f054039 sys/dev/pckbport/synaptics.c
--- a/sys/dev/pckbport/synaptics.c Sat Mar 14 21:06:35 2020 +0000
+++ b/sys/dev/pckbport/synaptics.c Sat Mar 14 21:18:50 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: synaptics.c,v 1.56 2020/03/14 19:29:39 nia Exp $ */
+/* $NetBSD: synaptics.c,v 1.57 2020/03/14 21:18:50 nia 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.56 2020/03/14 19:29:39 nia Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.57 2020/03/14 21:18:50 nia Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -863,6 +863,9 @@
if (node.sysctl_num == synaptics_gesture_length_nodenum ||
node.sysctl_num == synaptics_edge_motion_delta_nodenum ||
node.sysctl_num == synaptics_up_down_motion_delta_nodenum) {
+ node.sysctl_num == synaptics_max_speed_x_nodenum ||
+ node.sysctl_num == synaptics_max_speed_y_nodenum ||
+ node.sysctl_num == synaptics_max_speed_z_nodenum) {
if (t < 0)
return (EINVAL);
} else
Home |
Main Index |
Thread Index |
Old Index