summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-06-22 22:38:58 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-06-22 22:38:58 +0200
commit0acc1d3fbacf08543c46387ed5dba6a1e2b36ec0 (patch)
treea29719fb3c0ce50cb7ba66799d4d1538667f1e42 /src
parent451dbad007dc941fb7a4877238873d13245c0a65 (diff)
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 <rydberg@euromail.se>
Diffstat (limited to 'src')
-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) {