diff options
author | Jason Gerecke <killertofu@gmail.com> | 2016-04-23 00:30:53 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-05-03 12:55:05 +0300 |
commit | bef7e200065086e2ceef091f6853f3b053ad2ba9 (patch) | |
tree | 97ff7ba5b20414fb89444970a5cfbb2a5e34031f /drivers/hid/wacom_wac.h | |
parent | 1c74a7f812b135d3df41d7c3671b647aed6467bf (diff) | |
download | linux-bef7e200065086e2ceef091f6853f3b053ad2ba9.tar.xz |
HID: wacom: Add fuzz factor to distance and tilt axes
The fuzz present on the distance and tilt axes is noticable when a puck is
present, and userspace (specifically libinput) would like the ability to
filter out the noise. To facilitate this, we assign a fuzz value of '1'
for the distance and tilt axes. This is large enough to cover most of the
natural variation in distance value as the puck is moved around, and
enough to cover the jitter in rotation (reported through tilt axes) when
the puck is left alone.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.h')
-rw-r--r-- | drivers/hid/wacom_wac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h index e2084d914c14..53d16537fd2a 100644 --- a/drivers/hid/wacom_wac.h +++ b/drivers/hid/wacom_wac.h @@ -177,6 +177,7 @@ struct wacom_features { int y_fuzz; int pressure_fuzz; int distance_fuzz; + int tilt_fuzz; unsigned quirks; unsigned touch_max; int oVid; |