summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
authorAlberto Milone <alberto.milone@canonical.com>2009-07-16 12:08:08 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-17 10:42:31 +1000
commit7179a0eb11a842d9d5a420f5702a411b0dc217a2 (patch)
tree86133842e0ba038c7cc4fab5c8aa7095d932aff7 /src/synapticsstr.h
parent0c3fbceb1b2a18f92166fe75c44b5aaada693c4b (diff)
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 <alberto.milone@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h1
1 files changed, 1 insertions, 0 deletions
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;