summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 6e8f0d5..c1f78b5 100644
--- a/src/core.c
+++ b/src/core.c
@@ -38,7 +38,7 @@ static inline int istouch(const struct mtdev_slot *data,
38 !caps->has_abs[MTDEV_TOUCH_MAJOR]; 38 !caps->has_abs[MTDEV_TOUCH_MAJOR];
39} 39}
40 40
41/* Dmitry Torokhov's code from kernel/driver/input/input.c */ 41/* Response-augmented EWMA filter, courtesy of Vojtech Pavlik */
42static int defuzz(int value, int old_val, int fuzz) 42static int defuzz(int value, int old_val, int fuzz)
43{ 43{
44 if (fuzz) { 44 if (fuzz) {