summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/synaptics-properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/synaptics-properties.h b/include/synaptics-properties.h
index 3153d73..cf330d8 100644
--- a/include/synaptics-properties.h
+++ b/include/synaptics-properties.h
@@ -152,4 +152,7 @@
/* 32 bit unsigned, 2 values, vertical, horizontal in units/millimeter */
#define SYNAPTICS_PROP_RESOLUTION "Synaptics Pad Resolution"
+/* 32 bit, 4 values, left, right, top, bottom */
+#define SYNAPTICS_PROP_AREA "Synaptics Area"
+
#endif /* _SYNAPTICS_PROPERTIES_H_ */