summaryrefslogtreecommitdiff
path: root/src/synproto.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-02-06 17:33:11 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2012-03-14 08:47:05 +1000
commit405f1643e26b57ee97063e76e71179ba8e9fbc92 (patch)
tree77aeec32654a431f91aa064f6b2c60cdbfd1e4e6 /src/synproto.h
parentf198522064501726d76bef4e11c02cfc778bb0c5 (diff)
Add soft button areas property
Some clickpad devices have button areas painted on them. Set this property to the area of the right and middle buttons to enable proper click actions when clicking in the areas. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synproto.h')
-rw-r--r--src/synproto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synproto.h b/src/synproto.h
index 41284b3..95ebc92 100644
--- a/src/synproto.h
+++ b/src/synproto.h
@@ -120,4 +120,6 @@ extern void SynapticsCopyHwState(struct SynapticsHwState *dst,
const struct SynapticsHwState *src);
extern void SynapticsResetTouchHwState(struct SynapticsHwState *hw);
+extern Bool SynapticsIsSoftButtonAreasValid(int *values);
+
#endif /* _SYNPROTO_H_ */