diff options
author | Ulf Brosziewski <bru@cvs.openbsd.org> | 2017-06-06 21:53:08 +0000 |
---|---|---|
committer | Ulf Brosziewski <bru@cvs.openbsd.org> | 2017-06-06 21:53:08 +0000 |
commit | db74cbc6de07995498b6ee6eabfe3a0e7574587c (patch) | |
tree | 2e1204a7df38c6da9e2d2985d03b9e2df5f5dd6d /sys/dev/wscons | |
parent | 8249dc8fdd5d464b12594b430e7a753772fea224 (diff) |
Set the weak variant of hysteresis as default.
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r-- | sys/dev/wscons/wsmouseinput.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsmouseinput.h b/sys/dev/wscons/wsmouseinput.h index 2eeaa74fdf7..3f38fddfaa1 100644 --- a/sys/dev/wscons/wsmouseinput.h +++ b/sys/dev/wscons/wsmouseinput.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmouseinput.h,v 1.7 2017/05/08 20:55:29 bru Exp $ */ +/* $OpenBSD: wsmouseinput.h,v 1.8 2017/06/06 21:53:07 bru Exp $ */ /* * Copyright (c) 2015, 2016 Ulf Brosziewski @@ -163,9 +163,10 @@ struct wsmouseinput { #define CONFIGURED (1 << 18) /* filter.mode (bit 0-2: smoothing factor, bit 3: hysteresis type) */ +#define WEAK_HYSTERESIS 0 #define STRONG_HYSTERESIS (1 << 3) #define SMOOTHING_MASK 7 -#define FILTER_MODE_DEFAULT STRONG_HYSTERESIS +#define FILTER_MODE_DEFAULT WEAK_HYSTERESIS struct evq_access { struct wseventvar *evar; |