From da425afd6199995ac7b6f23bf8744a435cc02e23 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 10 Aug 2010 12:45:52 +0100 Subject: Add property declarations to grail-types Also add accumulated values for delta and velocity properties. Signed-off-by: Henrik Rydberg --- include/grail-types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/grail-types.h b/include/grail-types.h index 028a71b..374f30a 100644 --- a/include/grail-types.h +++ b/include/grail-types.h @@ -56,4 +56,14 @@ #define GRAIL_PROP_DRAG_X 4 /* horizontal position */ #define GRAIL_PROP_DRAG_Y 5 /* vertical position */ +#define GRAIL_PROP_PINCH_DR 0 /* radius delta */ +#define GRAIL_PROP_PINCH_VR 1 /* radial velocity */ +#define GRAIL_PROP_PINCH_R 2 /* radius */ + +#define GRAIL_PROP_ROTATE_DA 0 /* arc delta */ +#define GRAIL_PROP_ROTATE_VA 1 /* arc velocity */ +#define GRAIL_PROP_ROTATE_A 2 /* arc */ + +#define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */ + #endif -- cgit v1.2.3