HID: wacom: Add fuzz factor to distance and tilt axes
authorJason Gerecke <killertofu@gmail.com>
Fri, 22 Apr 2016 21:30:53 +0000 (14:30 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 3 May 2016 09:55:05 +0000 (11:55 +0200)
commitbef7e200065086e2ceef091f6853f3b053ad2ba9
tree97ff7ba5b20414fb89444970a5cfbb2a5e34031f
parent1c74a7f812b135d3df41d7c3671b647aed6467bf
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>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h
This page took 0.02796 seconds and 5 git commands to generate.