aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Four finger swipes in multitouchDaniel Landau2011-03-251-0/+2
| | | | | | | | I think four finger swipes are useful, attached is a very simple patch enabling that. Signed-off-by: Daniel Landau <daniel.landau@helsinki.fi> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Same version, but using the mtdev library.Henrik Rydberg2010-10-1210-302/+9
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Simplify event readingHenrik Rydberg2010-06-212-3/+4
| | | | | | | This patch puts the reading code more in line with the upcoming mtdev library, and should remove some spurious input behavior. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Make MT_ABS_SIZE available for all kernel versionsHenrik Rydberg2010-06-171-1/+2
| | | | | | | The code erroneously had MT_ABS_SIZE defined only for kernels before 2.6.36. Fixed with this patch. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add tapping logicHenrik Rydberg2010-06-164-0/+20
| | | | | | | | This patch adds tap-to-click, tap-and-hold for dragging, two-finger and three-finger taps. Turned on by default for touch screens only; switch on in gestures.c. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Correct mtdev API namesHenrik Rydberg2010-06-162-7/+7
| | | | | | | The mtdev queue api functions had wrong names. This patch changes them to the familiar put and get. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Increase event buffer sizeHenrik Rydberg2010-06-161-1/+1
| | | | | | | | The MT devices produce a lot of data. This patch increases the buffer size to a value empirically found working well for up to ten fingers. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* refactor: Replace hwdata by mtdevHenrik Rydberg2010-06-166-105/+32
| | | | | | | | This patch makes the switch, from using hwdata and the associated type A parser, to using mtdev and the associated type B parser. A command-line gesture test program is included. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* refactor: Introduce mtdevHenrik Rydberg2010-06-162-0/+114
| | | | | | | | | | | | With the addition of the kernel MT slots, the MT event protocol is capable of efficiently propagating changes to a set of tracked contacts. At the same time, the need to treat a variety of different kernel drivers is increased. This patch introduces the mtdev, an abstract MT device which converts all valid MT event formats into a uniform, slotted type B event stream. A command-line test program is included. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* refactor: Use the bitmask_t typeHenrik Rydberg2010-06-164-6/+6
| | | | | | | Use the bitmask_t for all bitfields, to simplify future expansions to larger bit fields. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* refactor: Simplify capabilitiesHenrik Rydberg2010-06-162-17/+9
| | | | | | | Use the generated abs2mt mapping to simplify the MT device capabilities. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* refactor: Generate code for ABS_MT mappingHenrik Rydberg2010-06-162-0/+53
| | | | | | | | | Use the kernel-provided list MT_SLOT_ABS_EVENTS to generate code mappings between ABS_MT space and MT space. This patch adds the program mapgen that does the mapping, and adds two include files generated with it. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* refactor: Move filesHenrik Rydberg2010-06-1612-0/+672
Move all headers into include, separate source files into modules match, mtdev, src and driver, move some common definitions to common.h, and include define support for the MT slot protocol. This patch does not introduce any logical changes. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>