summaryrefslogtreecommitdiff
path: root/src/match_four.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warning - implicit declaration of function 'abs'Peter Hutterer2013-07-311-0/+1
| | | | | | | | match_four.c:80:4: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] *dist++ = abs(q->x - p->x) + abs(q->y - p->y); Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add and test a simple kernel matcherHenrik Rydberg2010-11-071-0/+129
This matcher is for up to four fingers, and has these properties: * Approximately 1.4 times faster at 4 fingers * Approximately 4.0 times faster at 2 fingers * Roughly 100 lines of code Signed-off-by: Henrik Rydberg <rydberg@euromail.se>