summaryrefslogtreecommitdiff
path: root/src/hwdata.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>
* Add rotation gesturev1.0-alpha3Henrik Rydberg2010-05-141-1/+3
| | | | | | | | Moving two fingers around a center point will trigger the gesture. This patch computes the rotation gesture and maps it to mouse buttons 14 and 15. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add scale gestureHenrik Rydberg2010-05-141-1/+3
| | | | | | | | Moving two fingers apart or closer together will trigger the gesture. This patch computes the scaling gesture and maps it to mouse buttons 12 and 13. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: Move min/max and dist functions up to common.hHenrik Rydberg2010-05-141-0/+7
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Hold MT data during pure button eventsHenrik Rydberg2010-04-181-1/+1
| | | | | | | | | | | Some devices send button events through a separate device, causing the driver to temporarily lose the MT state. As a result, spurious button events are emitted in conjunction with multi-finger clicks. This patch makes sure that the MT state is updated only after receiving MT data, restoring click normality. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Define swipe buttonsHenrik Rydberg2010-04-151-1/+5
| | | | | | Define four additional buttons to be used for swiping gestures. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add millisecond event timesHenrik Rydberg2010-03-211-0/+4
| | | | | | | | Expand the (x, y) notion of the current hardware events to the more useful (x, y, t) notion. This patch was inspired by a gesture patch from Arturo Castro <arturo@openframeworks.cc>. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Comply with MT syncronization protocolHenrik Rydberg2010-03-211-0/+22
| | | | | | | | | The latest semantic clarifications in the kernel MT protocol allow SYN_MT_REPORT to be sent without actually sending any finger data. Add a mask to the hardware data so that the data actually read can be tracked. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add support for the ABS_MT_PRESSURE eventHenrik Rydberg2010-03-211-1/+1
| | | | | | | 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 formattingalpha-1Henrik Rydberg2010-02-011-12/+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: define all buttons used as hardware buttonsHenrik Rydberg2010-02-011-0/+4
|
* horizontal and vertical scroll now works againHenrik Rydberg2010-01-301-1/+1
| | | | | The buttons reported to X did not include the scrolling buttons, effectively disabling scrolling alltogether. Fixed.
* 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-2/+1
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* drop packets out of syncHenrik Rydberg2008-11-091-0/+1
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* cleanupHenrik Rydberg2008-11-081-1/+4
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* ok, fast (but not fastest) matcher in place, no check output...Henrik Rydberg2008-11-061-1/+0
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* state added, now do the matchingHenrik Rydberg2008-11-061-2/+6
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* event loop works, buffer works, now look at synched eventHenrik Rydberg2008-11-061-4/+3
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Driver stages in place - should one support multipleHenrik Rydberg2008-11-061-0/+34
device instances by moving the private alloc to init/close? Signed-off-by: Henrik Rydberg <rydberg@euromail.se>