diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-05-11 12:32:32 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-13 09:03:46 +1000 |
commit | ee265e10c9cc724ad0badcab86a3893667717322 (patch) | |
tree | bf46224fce9a107dda3834236a5a6bfa486f4d32 /tools/synclient.c | |
parent | e4b1571d487cb67bab64e1ee890bddcd02437ddf (diff) |
Add TapAndDragGesture option and gestures property.
The tap-and-drag gesture is an alternative way of dragging.
It is performed by tapping (touching and releasing the finger), then
touching again and moving the finger on the touchpad.
This gesture is enabled by default and can be disabled by setting the
TapAndDragGesture option to false.
The gesture already existed in synaptics and was always enabled. This
commit adds an option to switch it on/off. The default behavior is
tap-and-drag being enabled, that is, TapAndDragGesture is true.
The "Synaptics Gestures" property is intended to hold all new gesture
enabling options, like options for the upcoming multitouch gestures.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/synclient.c')
-rw-r--r-- | tools/synclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index ebba6c3..9978dea 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -138,6 +138,7 @@ static struct Parameter params[] = { {"PressureMotionMinFactor", PT_DOUBLE, 0, 10.0,SYNAPTICS_PROP_PRESSURE_MOTION_FACTOR, 0 /*float*/, 0}, {"PressureMotionMaxFactor", PT_DOUBLE, 0, 10.0,SYNAPTICS_PROP_PRESSURE_MOTION_FACTOR, 0 /*float*/, 1}, {"GrabEventDevice", PT_BOOL, 0, 1, SYNAPTICS_PROP_GRAB, 8, 0}, + {"TapAndDragGesture", PT_BOOL, 0, 1, SYNAPTICS_PROP_GESTURES, 8, 0}, { NULL, 0, 0, 0, 0 } }; |