summaryrefslogtreecommitdiff
path: root/src/wcmTouchFilter.h
Commit message (Collapse)AuthorAgeFilesLines
* gesture: Use unsigned integers for finger indiciesJason Gerecke2022-02-221-1/+1
| | | | Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
* Remove trailing whitespacesPeter Hutterer2021-11-191-1/+1
| | | | | | sed -i 's/ *$//' $(git ls-files) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Use serial number instead of channel number to identify contactsJason Gerecke2012-10-081-1/+1
| | | | | | | | | | Code that deals with touch points shouldn't care which channel an event is occuring in; it should be more concerned with the finger that caused it. At the moment these are the same things (first finger is always in channel zero), but this will soon change. Signed-off-by: Jason Gerecke <killertofu@gmail.com> Tested-by: Chris Bagwell <chris@cnpbagwell.com>
* 'Left mouse button' dragging support.Alexey Osipov2012-01-031-0/+2
| | | | | | | | | | | | | | | | | | | | | First, we define two new GESTURE_ modes: - GESTURE_PREDRAG_MODE - when first tap happen and we wait for second touch. - GESTURE_DRAG_MODE - when actual drag happening (left button pressed). Second, we define tap timeout function wcmSingleFingerTapTimer(), which simulate single click if no drag operation started within timeout. Third, we make an exception for GESTURE_DRAG_MODE in wcmCommon.c, because we actually want cursor movements while dragging. This exception is made through new function wcmTouchNeedSendEvents(). Now, to do a single tap you just tap (touch and untouch). Actual click happens after TapTime period. To drag something you make a tap (touch and untouch) and then quickly (in TapTime period) touch device again. Then drag. Signed-off-by: Alexey Osipov <simba@lerlan.ru> Reviewed-by: Chris Bagwell <chris@cnpgabwell.com>
* Create wcmTouchFilter.hAlexey Osipov2012-01-031-0/+29
Moving declarations for touch filter from xf86Wacom.h to wcmTouchFilter.h Signed-off-by: Alexey Osipov <simba@lerlan.ru> Reviewed-by: Chris Bagwell <chris@cnpgabwell.com>