diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-04-15 21:29:30 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-04-15 21:41:15 +0200 |
| commit | 748c2cb48e6bd1c47ad125556b97871a7252b492 (patch) | |
| tree | 44da4ed87f983f153fd8abd038504f40a21fa3bf /src/gestures.h | |
| parent | 93d4a10726df4ae85931db80bc3a22e1929c3ef4 (diff) | |
Unify detection of finger configuration changes
This patch simplifies and unifies the means by which finger
configuration changes are detected. The logic is almost the same,
except for the unlikely case of very quickly switching the clicking
finger, after first having moved it above the clicking area. This case
should now properly be detected as a pointing finger.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/gestures.h')
| -rw-r--r-- | src/gestures.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gestures.h b/src/gestures.h index e99bc3d..5630d4c 100644 --- a/src/gestures.h +++ b/src/gestures.h | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | 33 | ||
| 34 | struct Gestures { | 34 | struct Gestures { |
| 35 | unsigned type, btmask, btdata; | 35 | unsigned type, btmask, btdata; |
| 36 | int dx, dy; | 36 | int same_fingers, dx, dy; |
| 37 | }; | 37 | }; |
| 38 | 38 | ||
| 39 | void extract_gestures(struct Gestures *gs, struct MTouch* mt); | 39 | void extract_gestures(struct Gestures *gs, struct MTouch* mt); |
