[PATCH synaptics 3/3] tools: add hysteresis support to synclient

Simon Thum simon.thum at gmx.de
Sat Mar 31 12:28:10 PDT 2012


On 03/13/2012 02:34 AM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer<peter.hutterer at who-t.net>
> ---
>   tools/synclient.c |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/tools/synclient.c b/tools/synclient.c
> index 8d1e8f4..14ec605 100644
> --- a/tools/synclient.c
> +++ b/tools/synclient.c
> @@ -142,6 +142,8 @@ static struct Parameter params[] = {
>       {"AreaRightEdge",         PT_INT,    0, 10000, SYNAPTICS_PROP_AREA,	32,	1},
>       {"AreaTopEdge",           PT_INT,    0, 10000, SYNAPTICS_PROP_AREA,	32,	2},
>       {"AreaBottomEdge",        PT_INT,    0, 10000, SYNAPTICS_PROP_AREA,	32,	3},
> +    {"HorizHysteresis",       PT_INT,    0, 10000, SYNAPTICS_PROP_NOISE_CANCELLATION, 32,	0},
> +    {"VertHysteresis",        PT_INT,    0, 10000, SYNAPTICS_PROP_NOISE_CANCELLATION, 32,	1},
>       { NULL, 0, 0, 0, 0 }
>   };
>
Reviewed-by: Simon Thum <simon.thum at gmx.de>

I don't know why I didn't do that as well? Anyway, simple and good.

Cheers,


Simon


More information about the xorg-devel mailing list