aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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>