From 40b3cd568e8cc64a5f7f748f2003d90aa5e738ef Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sun, 11 Apr 2010 01:25:50 +0200 Subject: Add robust position event filtering The kernel filtering is bypassed for MT events. This patch reintroduces filtering at the earliest possible point, right after the fingers have been identified. For drivers that do not set proper fuzz parameters, sensible values are derived based on a generic signal-to-noise ratio. The defuzz code is borrowed from the Linux kernel, thanks GPL. Signed-off-by: Henrik Rydberg --- src/capabilities.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/capabilities.h') diff --git a/src/capabilities.h b/src/capabilities.h index dc257ce..591eed6 100644 --- a/src/capabilities.h +++ b/src/capabilities.h @@ -38,6 +38,7 @@ struct Capabilities { struct input_absinfo abs_orientation; struct input_absinfo abs_position_x; struct input_absinfo abs_position_y; + int xfuzz, yfuzz; }; int read_capabilities(struct Capabilities *cap, int fd); -- cgit v1.2.3