summaryrefslogtreecommitdiff
path: root/src/capabilities.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-16Enable integrated button support for the Magic TrackpadHenrik Rydberg1-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>
2010-10-12Same version, but using the mtdev library.Henrik Rydberg1-0/+171
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2010-06-16refactor: Move filesHenrik Rydberg1-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>
2010-05-14Add convenience methods for distance to capability center pointHenrik Rydberg1-0/+10
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2010-04-19Increase touch/width signal-to-noise ratioHenrik Rydberg1-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>
2010-04-18Filter non-zero finger width eventsHenrik Rydberg1-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>
2010-04-15Add constant clicking area to capabilitiesHenrik Rydberg1-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>
2010-04-15Add integrated button property to capabilitiesHenrik Rydberg1-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>
2010-04-15Additional device informationHenrik Rydberg1-0/+9
Add information about the device name and device identifier from the EVIO protocol. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2010-04-15Add robust position event filteringHenrik Rydberg1-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>
2010-03-21Introduce convenience function for device dimensionsHenrik Rydberg1-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>
2010-02-01janitor: stick to kernel-style formattingHenrik Rydberg1-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
2010-01-30License and credits resolvedHenrik Rydberg1-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.
2009-05-16trailing whitespaceHenrik Rydberg1-6/+7
2008-11-06event loop works, buffer works, now look at synched eventHenrik Rydberg1-1/+0
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2008-11-06Driver stages in place - should one support multipleHenrik Rydberg1-1/+3
device instances by moving the private alloc to init/close? Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2008-11-05Output dimensionsHenrik Rydberg1-0/+20
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2008-11-05missing externalsHenrik Rydberg1-2/+2
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
2008-11-05Break out capabilitiesHenrik Rydberg1-0/+87
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>