aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtstate.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce the MTStateHenrik Rydberg2010-04-151-0/+93
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>