summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-04-10 13:03:35 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-04-11 07:52:58 +1000
commit8e297cb586ab855dc7c018c6f3f2f42c08db0419 (patch)
tree3fd6e3b49d1dd880b2daec104f2d5eba3a4c556d /src/synapticsstr.h
parent3f9794a8a0f019a4b153941c9ec1927c7797ce6f (diff)
Replace hardcoded max number of touches with a define.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
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 55aab3d..14ae362 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -49,6 +49,7 @@
* structs, typedefs, #defines, enums
*****************************************************************************/
#define SYNAPTICS_MOVE_HISTORY 5
+#define SYNAPTICS_MAX_TOUCHES 10
typedef struct _SynapticsMoveHist
{