diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-08-10 12:45:52 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-10 15:04:18 +0100 |
| commit | da425afd6199995ac7b6f23bf8744a435cc02e23 (patch) | |
| tree | 8d92f683714eeda226aac2499b82a484fae3c137 /include | |
| parent | 7be96df1c903c11711336c5ad1859b347ae4b661 (diff) | |
Add property declarations to grail-types
Also add accumulated values for delta and velocity properties.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
| -rw-r--r-- | include/grail-types.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ | |||
| 56 | #define GRAIL_PROP_DRAG_X 4 /* horizontal position */ | 56 | #define GRAIL_PROP_DRAG_X 4 /* horizontal position */ |
| 57 | #define GRAIL_PROP_DRAG_Y 5 /* vertical position */ | 57 | #define GRAIL_PROP_DRAG_Y 5 /* vertical position */ |
| 58 | 58 | ||
| 59 | #define GRAIL_PROP_PINCH_DR 0 /* radius delta */ | ||
| 60 | #define GRAIL_PROP_PINCH_VR 1 /* radial velocity */ | ||
| 61 | #define GRAIL_PROP_PINCH_R 2 /* radius */ | ||
| 62 | |||
| 63 | #define GRAIL_PROP_ROTATE_DA 0 /* arc delta */ | ||
| 64 | #define GRAIL_PROP_ROTATE_VA 1 /* arc velocity */ | ||
| 65 | #define GRAIL_PROP_ROTATE_A 2 /* arc */ | ||
| 66 | |||
| 67 | #define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */ | ||
| 68 | |||
| 59 | #endif | 69 | #endif |
