[PATCH xf86-input-synaptics 03/12] Add clickpad timeout property

Chase Douglas chase.douglas at canonical.com
Wed Feb 22 20:16:43 PST 2012


On 02/22/2012 07:58 PM, Peter Hutterer wrote:
> On Thu, Feb 09, 2012 at 06:52:57PM -0800, Chase Douglas wrote:
>> Signed-off-by: Chase Douglas<chase.douglas at canonical.com>
>> ---
>>   include/synaptics-properties.h |    3 +++
>>   man/synaptics.man              |   12 ++++++++++++
>>   src/properties.c               |    9 +++++++++
>>   src/synaptics.c                |    1 +
>>   src/synapticsstr.h             |    1 +
>>   5 files changed, 26 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/synaptics-properties.h b/include/synaptics-properties.h
>> index 140f14b..712a10b 100644
>> --- a/include/synaptics-properties.h
>> +++ b/include/synaptics-properties.h
>> @@ -51,6 +51,9 @@
>>   /* 8 bit (BOOL) */
>>   #define SYNAPTICS_PROP_CLICKPAD "Synaptics ClickPad"
>>
>> +/* 32 bit */
>> +#define SYNAPTICS_PROP_CLICKPAD_TIMEOUT "Synaptics ClickPad Timeout"
>> +
>>   /* 8 bit (BOOL) */
>>   #define SYNAPTICS_PROP_TAP_FAST "Synaptics Tap FastTap"
>>
>> diff --git a/man/synaptics.man b/man/synaptics.man
>> index 8edc2f0..9721038 100644
>> --- a/man/synaptics.man
>> +++ b/man/synaptics.man
>> @@ -149,6 +149,14 @@ into the touchpad surface. The user must press downward on the touchpad in order
>>   to generated a button press. This property may be set automatically if a click
>>   pad device is detected at initialization time. Property: "Synaptics ClickPad"
>>   .TP 7
>> +.BI "Option \*qClickPadTimeout\*q \*q" integer \*q
>> +Maximum time (in milliseconds) for a press-release action on a clickpad device.
>> +When the user presses a clickpad device for more than this time, the driver
>
> this is unclear. does "press" refer to a press down of the pad or a simple
> finger-press?
>
> the commit message should state that this isn't connected to anything yet.

This has been dropped due to interference with press-and-drag.

-- Chase


More information about the xorg-devel mailing list