From ee265e10c9cc724ad0badcab86a3893667717322 Mon Sep 17 00:00:00 2001 From: Erkin Bahceci Date: Mon, 11 May 2009 12:32:32 -0500 Subject: 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 Signed-off-by: Peter Hutterer --- tools/synclient.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/synclient.c') 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 } }; -- cgit v1.2.3