summaryrefslogtreecommitdiff
path: root/src/caps.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>