From 7179a0eb11a842d9d5a420f5702a411b0dc217a2 Mon Sep 17 00:00:00 2001 From: Alberto Milone Date: Thu, 16 Jul 2009 12:08:08 +0200 Subject: Add active area outside of which movements, scrolling, tapping are ignored. On some touchpads physical buttons are located under the touchpad surface. As a result, when users try to perform a click, by pressing that part of the surface of the touchpad, they get a click, a movement, a tap and (in some cases) a scroll, which can make clicks quite inaccurate. The "Synaptics Area" property can be used to define the edges of the active area of the touchpad so that all movement, scrolling and tapping which take place outside of this area will be ignored. This property is disabled by default. Fixes xorg bug #21613. Signed-off-by: Alberto Milone Signed-off-by: Peter Hutterer --- src/synapticsstr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/synapticsstr.h') diff --git a/src/synapticsstr.h b/src/synapticsstr.h index 8348e72..f2bf7d4 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -166,6 +166,7 @@ typedef struct _SynapticsParameters Bool tap_and_drag_gesture; /* Switches the tap-and-drag gesture on/off */ unsigned int resolution_horiz; /* horizontal resolution of touchpad in units/mm */ unsigned int resolution_vert; /* vertical resolution of touchpad in units/mm */ + int area_left_edge, area_right_edge, area_top_edge, area_bottom_edge; /* area coordinates absolute */ } SynapticsParameters; -- cgit v1.2.3