aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add millisecond event timesHenrik Rydberg2010-03-214-0/+17
| | | | | | | | Expand the (x, y) notion of the current hardware events to the more useful (x, y, t) notion. This patch was inspired by a gesture patch from Arturo Castro <arturo@openframeworks.cc>. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Comply with MT syncronization protocolHenrik Rydberg2010-03-213-21/+59
| | | | | | | | | 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-214-2/+12
| | | | | | | 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>
* Remove unused min/max definitionsHenrik Rydberg2010-03-211-3/+0
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Matcher: convert distance matrix to integerHenrik Rydberg2010-03-214-74/+80
| | | | | | | | 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>
* Matcher: support up to 32 fingersHenrik Rydberg2010-03-212-3/+3
| | | | | | Make the matcher support up to 32 fingers instead of the current 16. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Introduce convenience function for device dimensionsHenrik Rydberg2010-03-213-6/+15
| | | | | | | The capability names are rather lengthy; this patch adds convenience functions for the dimension capabilities. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: remaining indentation fixedHenrik Rydberg2010-02-021-2/+2
|
* janitor: stick to kernel-style formattingHenrik Rydberg2010-02-0115-201/+73
| | | | | | 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
* janitor: match: stick to kernel-style formattingHenrik Rydberg2010-02-013-129/+174
|
* button: simplify property mappingHenrik Rydberg2010-02-012-41/+19
| | | | Janitory changes only.
* button: simplify button handlingHenrik Rydberg2010-02-013-15/+10
| | | | | Make better use of the bit representation, reducing one layer of conversion.
* button: define all buttons used as hardware buttonsHenrik Rydberg2010-02-011-0/+4
|
* common: add some more bit utilitiesHenrik Rydberg2010-02-012-6/+8
|
* Revert "sweep feels better without memory"Henrik Rydberg2010-02-011-6/+5
| | | | | | Really too specialized behavior, so better off without it. This reverts commit e880479ff29e57d8b47f08f620b4bccdd2683aa5.
* dangling pointer breaking resume from suspend; fixedHenrik Rydberg2010-01-301-0/+1
|
* sweep feels better without memoryHenrik Rydberg2010-01-301-5/+6
|
* silence debugging outputHenrik Rydberg2010-01-301-4/+13
| | | | | Running the driver daily produces a lot of debug output, so turn it off by default.
* horizontal and vertical scroll now works againHenrik Rydberg2010-01-302-6/+13
| | | | | The buttons reported to X did not include the scrolling buttons, effectively disabling scrolling alltogether. Fixed.
* License and credits resolvedHenrik Rydberg2010-01-3018-2/+457
| | | | | | 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.
* ABI_XINPUT_VERSION >= 7 supportAndreas Nüßlein2010-01-283-1/+70
|
* fixed a bug in touching_fingerMika Kuoppala2009-12-181-1/+1
| | | | Signed-off-by: Mika Kuoppala <mika.kuoppala@nokia.com>
* Support ABI_XINPUT version between 1 and 7Henrik Rydberg2009-08-231-0/+10
| | | | Compiles on ubuntu versions Intrepid, Jaunty, Karmic.
* Add multi-finger button and scroll from experimentalHenrik Rydberg2009-05-164-10/+61
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* adapt to final version of MT protocolHenrik Rydberg2009-05-163-37/+32
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* trailing whitespaceHenrik Rydberg2009-05-164-42/+43
|
* Removed the AFL.Henrik Rydberg2009-01-301-2/+0
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* GPL2 license - reading up on GPL3 did not make enough fuzzHenrik Rydberg2009-01-301-0/+340
| | | | | | to change it - yet. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ignore patchesHenrik Rydberg2009-01-301-0/+1
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* minorHenrik Rydberg2008-11-091-6/+6
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Gesture interface in placeHenrik Rydberg2008-11-096-33/+86
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ignore tempsHenrik Rydberg2008-11-091-0/+2
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* drop packets out of syncHenrik Rydberg2008-11-092-0/+5
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* under heavy load, it seems the event order becomes scrambled, and it isHenrik Rydberg2008-11-091-0/+2
| | | | | | | possible to receive ABS_MT events outside of the MT synchronization events. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ... and button brought backHenrik Rydberg2008-11-081-2/+2
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* matching stable!Henrik Rydberg2008-11-084-15/+57
| | | | | | however, now crashes X occasionally... stream overload? Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* culprit: step2a row should start at zeroHenrik Rydberg2008-11-083-100/+137
| | | | | | plus cleanup Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* oops in vector-to-bit conversionHenrik Rydberg2008-11-082-16/+40
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* cleanupHenrik Rydberg2008-11-087-58/+61
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* cleanupHenrik Rydberg2008-11-083-54/+36
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ok, down to minimal working configHenrik Rydberg2008-11-081-57/+3
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* did not work, confused with missing library function.Henrik Rydberg2008-11-081-8/+62
| | | | | | Now it *does* work - go back and reduce to fit. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* and now buttons workHenrik Rydberg2008-11-071-0/+5
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* and now it works!Henrik Rydberg2008-11-071-3/+11
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* almost there...Henrik Rydberg2008-11-071-3/+61
| | | | 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-073-35/+55
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ok, fast (but not fastest) matcher in place, no check output...Henrik Rydberg2008-11-069-14/+473
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* state added, now do the matchingHenrik Rydberg2008-11-068-10/+85
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* event loop works, buffer works, now look at synched eventHenrik Rydberg2008-11-0610-30/+97
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>