aboutsummaryrefslogtreecommitdiffstats
path: root/src/capabilities.c
Commit message (Collapse)AuthorAgeFilesLines
* Enable integrated button support for the Magic TrackpadHenrik Rydberg2010-10-161-0/+4
| | | | | | | The magic trackpad has an integrated button. This patch detects the integrated button which enables the special logic for those devices. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Same version, but using the mtdev library.Henrik Rydberg2010-10-121-0/+171
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* refactor: Move filesHenrik Rydberg2010-06-161-181/+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 convenience methods for distance to capability center pointHenrik Rydberg2010-05-141-0/+10
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Increase touch/width signal-to-noise ratioHenrik Rydberg2010-04-191-1/+1
| | | | | | | | The current signal-to-noise ratio for the touch size is much too low, making the pointer feel too insensitive. This patch increases the ratio from 15 to 100. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Filter non-zero finger width eventsHenrik Rydberg2010-04-181-0/+9
| | | | | | | Add filtering also to touch/width events, but be careful to treat a zero touch exactly as zero. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add constant clicking area to capabilitiesHenrik Rydberg2010-04-151-0/+4
| | | | | | | | The trackpads with integrated button have a dedicated clicking area at the bottom of the pad. This patch adds the position of the onset of the clicking area to capabilities. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add integrated button property to capabilitiesHenrik Rydberg2010-04-151-0/+10
| | | | | | | | | The new Apple unibody macbooks have a trackpad with an integrated button, which needs special treatment. This patch tests the device for an integrated button and keeps the result in the capabilities struture. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Additional device informationHenrik Rydberg2010-04-151-0/+9
| | | | | | | Add information about the device name and device identifier from the EVIO protocol. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add robust position event filteringHenrik Rydberg2010-04-151-0/+9
| | | | | | | | | | The kernel filtering is bypassed for MT events. This patch reintroduces filtering at the earliest possible point, right after the fingers have been identified. For drivers that do not set proper fuzz parameters, sensible values are derived based on a generic signal-to-noise ratio. The defuzz code is borrowed from the Linux kernel, thanks GPL. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Introduce convenience function for device dimensionsHenrik Rydberg2010-03-211-0/+10
| | | | | | | The capability names are rather lengthy; this patch adds convenience functions for the dimension capabilities. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: stick to kernel-style formattingHenrik Rydberg2010-02-011-13/+3
| | | | | | 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
* 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.
* trailing whitespaceHenrik Rydberg2009-05-161-6/+7
|
* event loop works, buffer works, now look at synched eventHenrik Rydberg2008-11-061-1/+0
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Driver stages in place - should one support multipleHenrik Rydberg2008-11-061-1/+3
| | | | | | device instances by moving the private alloc to init/close? Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Output dimensionsHenrik Rydberg2008-11-051-0/+20
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* missing externalsHenrik Rydberg2008-11-051-2/+2
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Break out capabilitiesHenrik Rydberg2008-11-051-0/+87
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>