From 0acc1d3fbacf08543c46387ed5dba6a1e2b36ec0 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 22 Jun 2010 22:38:58 +0200 Subject: Update defuzz() credits Correct the credits for the defuzz() function. Used under the MIT license with permission from Vojtech Pavlik. Signed-off-by: Henrik Rydberg --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.c') 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, !caps->has_abs[MTDEV_TOUCH_MAJOR]; } -/* Dmitry Torokhov's code from kernel/driver/input/input.c */ +/* Response-augmented EWMA filter, courtesy of Vojtech Pavlik */ static int defuzz(int value, int old_val, int fuzz) { if (fuzz) { -- cgit v1.2.3