From 6f3c666291dfd1442146883eeaee02570351604d Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 11 Aug 2010 17:29:05 +0100 Subject: add main type numbers to grail type properties Signed-off-by: Henrik Rydberg --- include/grail-types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/grail-types.h b/include/grail-types.h index 10c1fa1..27450fe 100644 --- a/include/grail-types.h +++ b/include/grail-types.h @@ -57,6 +57,7 @@ #define GRAIL_TYPE_MPINCH 24 /* four-finger meta drag */ #define GRAIL_TYPE_MROTATE 25 /* four-finger meta drag */ +#define GRAIL_MAIN_DRAG 0 #define GRAIL_PROP_DRAG_DX 0 /* horizontal position delta */ #define GRAIL_PROP_DRAG_DY 1 /* vertical position delta */ #define GRAIL_PROP_DRAG_VX 2 /* horizontal velocity */ @@ -64,6 +65,7 @@ #define GRAIL_PROP_DRAG_X 4 /* horizontal position */ #define GRAIL_PROP_DRAG_Y 5 /* vertical position */ +#define GRAIL_MAIN_PINCH 1 #define GRAIL_PROP_PINCH_DR 0 /* radius delta */ #define GRAIL_PROP_PINCH_VR 1 /* radial velocity */ #define GRAIL_PROP_PINCH_R 2 /* radius */ @@ -72,10 +74,12 @@ #define GRAIL_PROP_PINCH_X2 5 /* bounding box x2 */ #define GRAIL_PROP_PINCH_Y2 6 /* bounding box y2 */ +#define GRAIL_MAIN_ROTATE 2 #define GRAIL_PROP_ROTATE_DA 0 /* angle delta */ #define GRAIL_PROP_ROTATE_VA 1 /* angular velocity */ #define GRAIL_PROP_ROTATE_A 2 /* angle */ +#define GRAIL_MAIN_TAP 3 #define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */ #define GRAIL_PROP_TAP_X 1 /* horizontal position */ #define GRAIL_PROP_TAP_Y 2 /* vertical position */ -- cgit v1.2.3