summaryrefslogtreecommitdiff
path: root/src/caps.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a stable ABIHenrik Rydberg2010-12-221-34/+129
| | | | | | | | | | | | The current mtdev is not ABI stable, and the upcoming additions to the kernel api will break ABI. This patch starts the process of keeping binary compatibility with old programs, by moving the abi-specific parts under a special flag, MTDEV_NO_LEGACY_API, and makes sure the internal parts compiles with MTDEV_NO_LEGACY_API set. This way, older programs will still work, old programs will still compile, and new programs will be able to use the additions. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Fall back to single-touch position and pressure dimensionsHenrik Rydberg2010-09-071-0/+7
| | | | | | | | In case mtdev is driving a non-MT device, basic dimensions are not set properly. Fall back on ABS_X/Y and ABS_PRESSURE, such that basic pointer operations can be supported through mtdev. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* Apply new package title to all filesHenrik Rydberg2010-06-221-1/+1
| | | | | | | This patch changes the package description title in all relevant files, and touches up the README. All systems go. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Unused slot is denoted by MT_TRACKING_ID == -1Henrik Rydberg2010-06-221-2/+4
| | | | | | | | | | | The current MT slot protocol allows any tracking id outside the range specified by the device to denote an unused slot. This is difficult to handle in userspace, since the valid range is unknown. This patch tightens the definition of a valid tracking id to always lie in the range [0, MT_ID_MAX], and uses the value -1 to denote an unused slot. Acked-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Initial load of mtdev projectHenrik Rydberg2010-06-171-0/+103
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>