diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-06-22 22:38:58 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-22 22:38:58 +0200 |
| commit | 0acc1d3fbacf08543c46387ed5dba6a1e2b36ec0 (patch) | |
| tree | a29719fb3c0ce50cb7ba66799d4d1538667f1e42 /src/core.c | |
| parent | 451dbad007dc941fb7a4877238873d13245c0a65 (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/core.c')
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 */ |
| 42 | static int defuzz(int value, int old_val, int fuzz) | 42 | static int defuzz(int value, int old_val, int fuzz) |
| 43 | { | 43 | { |
| 44 | if (fuzz) { | 44 | if (fuzz) { |
