aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Move filesHenrik Rydberg2010-06-161-95/+0
| | | | | | | | | | 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>
* janitor: Move min/max and dist functions up to common.hHenrik Rydberg2010-05-141-0/+16
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Simplify bit bookkeepingHenrik Rydberg2010-05-141-0/+15
| | | | | | | | In preparation of adding several additional finger bit registers, remove the redundant bit-counting variables and introduce fast bit-traversal functions instead. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add support for the ABS_MT_PRESSURE eventHenrik Rydberg2010-03-211-0/+5
| | | | | | | 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>
* janitor: stick to kernel-style formattingHenrik Rydberg2010-02-011-7/+1
| | | | | | 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
* common: add some more bit utilitiesHenrik Rydberg2010-02-011-3/+5
|
* 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.
* adapt to final version of MT protocolHenrik Rydberg2009-05-161-15/+18
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* matching stable!Henrik Rydberg2008-11-081-0/+4
| | | | | | however, now crashes X occasionally... stream overload? Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ok, fast (but not fastest) matcher in place, no check output...Henrik Rydberg2008-11-061-2/+1
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* event loop works, buffer works, now look at synched eventHenrik Rydberg2008-11-061-0/+1
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Driver stages in place - should one support multipleHenrik Rydberg2008-11-061-0/+1
| | | | | | device instances by moving the private alloc to init/close? Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Break out capabilitiesHenrik Rydberg2008-11-051-0/+34
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>