summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl/mouse.c
diff options
context:
space:
mode:
authorUlf Brosziewski <bru@cvs.openbsd.org>2018-01-22 22:14:12 +0000
committerUlf Brosziewski <bru@cvs.openbsd.org>2018-01-22 22:14:12 +0000
commitba3ad54fd986dae4f62d5fa9c0132e71a37c77a4 (patch)
tree3e66eb808517762559f4668bbe4a170069266b52 /sbin/wsconsctl/mouse.c
parent3c507dc7e4629346bd7740b897fe899f0b238ab7 (diff)
1. Add a field for configuring the size of edge areas on touchpads.
2. Remove code that is obsolete because all touchpad drivers configure wsmouse for compat mode now.
Diffstat (limited to 'sbin/wsconsctl/mouse.c')
-rw-r--r--sbin/wsconsctl/mouse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/wsconsctl/mouse.c b/sbin/wsconsctl/mouse.c
index 5d196698b36..5265d8cd3fe 100644
--- a/sbin/wsconsctl/mouse.c
+++ b/sbin/wsconsctl/mouse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mouse.c,v 1.16 2017/10/24 09:36:13 jsg Exp $ */
+/* $OpenBSD: mouse.c,v 1.17 2018/01/22 22:14:11 bru Exp $ */
/* $NetBSD: mouse.c,v 1.3 1999/11/15 13:47:30 ad Exp $ */
/*-
@@ -58,6 +58,7 @@ struct field mouse_field_tab[] = {
{ "tp.scaling", &cfg_scaling, FMT_CFG, FLG_NORDBACK },
{ "tp.swapsides", &cfg_swapsides, FMT_CFG, FLG_NORDBACK },
{ "tp.disable", &cfg_disable, FMT_CFG, FLG_NORDBACK },
+ { "tp.edges", &cfg_edges, FMT_CFG, FLG_NORDBACK },
{ "tp.param", &cfg_param, FMT_CFG, FLG_WRONLY },
{ NULL }
};