summaryrefslogtreecommitdiff
path: root/src/state.c
Commit message (Collapse)AuthorAgeFilesLines
* Comply with MT syncronization protocolHenrik Rydberg2010-03-211-8/+1
| | | | | | | | | The latest semantic clarifications in the kernel MT protocol allow SYN_MT_REPORT to be sent without actually sending any finger data. Add a mask to the hardware data so that the data actually read can be tracked. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add support for the ABS_MT_PRESSURE eventHenrik Rydberg2010-03-211-1/+3
| | | | | | | The kernel MT api was recently updated to include the ABS_MT_PRESSURE event. This patch adds it to the hardware structure. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Matcher: convert distance matrix to integerHenrik Rydberg2010-03-211-4/+17
| | | | | | | | In order to reduce the requirements on the cpu environment running the matcher, the floating-point operations are converted to integer. Care is taken as to not overflow the distance matrix. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: stick to kernel-style formattingalpha-1Henrik Rydberg2010-02-011-25/+12
| | | | | | With this commit, the whole code base complies with the kernel format style, and patches can be checked against the kernel-provided ./scripts/checkpatch.pl
* License and credits resolvedHenrik Rydberg2010-01-301-0/+21
| | | | | | All files are tagged as GPL, and a CREDIT file created with references to the synaptics X driver and the matching code, under their respective MIT and BSD licenses.
* fixed a bug in touching_fingerMika Kuoppala2009-12-181-1/+1
| | | | Signed-off-by: Mika Kuoppala <mika.kuoppala@nokia.com>
* Add multi-finger button and scroll from experimentalHenrik Rydberg2009-05-161-2/+2
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* matching stable!Henrik Rydberg2008-11-081-3/+35
| | | | | | however, now crashes X occasionally... stream overload? Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* cleanupHenrik Rydberg2008-11-081-36/+19
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* safe wrap-aroundHenrik Rydberg2008-11-071-0/+8
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Works nicely - state output seems reasonableHenrik Rydberg2008-11-071-33/+50
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ok, fast (but not fastest) matcher in place, no check output...Henrik Rydberg2008-11-061-4/+68
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* state added, now do the matchingHenrik Rydberg2008-11-061-0/+38
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>