summaryrefslogtreecommitdiff
path: root/src/gestures.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce the MTStateHenrik Rydberg2010-04-151-11/+12
| | | | | | | | | | | | | | | The HWState keeps, for good reason, both touching fingers and fingers going away. However, this implies that additional logic is needed to keep track of the number of actual touching fingers. In particular the test for touching fingers is somewhat misplaced in hwstate.c. Moreover, HWState should only exist in one instance, since it contains data which does not need to be referred to during gesture extraction. This patch introduces the MTState structure, which keeps more digested data for gesture extraction. In particular, it only keeps the actual touches. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Rename State to HWStateHenrik Rydberg2010-04-151-11/+11
| | | | | | | Rename the hardware state struct State to HWState, to make room for additional state structures. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: remaining indentation fixedHenrik Rydberg2010-02-021-2/+2
|
* janitor: stick to kernel-style formattingalpha-1Henrik Rydberg2010-02-011-1/+2
| | | | | | 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
* button: simplify button handlingHenrik Rydberg2010-02-011-8/+2
| | | | | Make better use of the bit representation, reducing one layer of conversion.
* common: add some more bit utilitiesHenrik Rydberg2010-02-011-3/+3
|
* 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.
* Add multi-finger button and scroll from experimentalHenrik Rydberg2009-05-161-0/+10
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Gesture interface in placeHenrik Rydberg2008-11-091-0/+39
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>