diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/grail-types.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/include/grail-types.h b/include/grail-types.h index de9197b..f274963 100644 --- a/include/grail-types.h +++ b/include/grail-types.h | |||
| @@ -71,6 +71,25 @@ | |||
| 71 | #define GRAIL_PROP_DRAG_VY 3 /* vertical velocity */ | 71 | #define GRAIL_PROP_DRAG_VY 3 /* vertical velocity */ |
| 72 | #define GRAIL_PROP_DRAG_X 4 /* horizontal position */ | 72 | #define GRAIL_PROP_DRAG_X 4 /* horizontal position */ |
| 73 | #define GRAIL_PROP_DRAG_Y 5 /* vertical position */ | 73 | #define GRAIL_PROP_DRAG_Y 5 /* vertical position */ |
| 74 | #define GRAIL_PROP_DRAG_X1 6 /* bounding box x1 */ | ||
| 75 | #define GRAIL_PROP_DRAG_Y1 7 /* bounding box y1 */ | ||
| 76 | #define GRAIL_PROP_DRAG_X2 8 /* bounding box x2 */ | ||
| 77 | #define GRAIL_PROP_DRAG_Y2 9 /* bounding box y2 */ | ||
| 78 | #define GRAIL_PROP_DRAG_ID_T0 10 /* first touch id */ | ||
| 79 | #define GRAIL_PROP_DRAG_X_T0 11 /* first touch horizontal position */ | ||
| 80 | #define GRAIL_PROP_DRAG_Y_T0 12 /* first touch vertical position */ | ||
| 81 | #define GRAIL_PROP_DRAG_ID_T1 13 | ||
| 82 | #define GRAIL_PROP_DRAG_X_T1 14 | ||
| 83 | #define GRAIL_PROP_DRAG_Y_T1 15 | ||
| 84 | #define GRAIL_PROP_DRAG_ID_T2 16 | ||
| 85 | #define GRAIL_PROP_DRAG_X_T2 17 | ||
| 86 | #define GRAIL_PROP_DRAG_Y_T2 18 | ||
| 87 | #define GRAIL_PROP_DRAG_ID_T3 19 | ||
| 88 | #define GRAIL_PROP_DRAG_X_T3 20 | ||
| 89 | #define GRAIL_PROP_DRAG_Y_T3 21 | ||
| 90 | #define GRAIL_PROP_DRAG_ID_T4 22 | ||
| 91 | #define GRAIL_PROP_DRAG_X_T4 23 | ||
| 92 | #define GRAIL_PROP_DRAG_Y_T4 24 | ||
| 74 | 93 | ||
| 75 | #define GRAIL_PROP_PINCH_DR 0 /* radius delta */ | 94 | #define GRAIL_PROP_PINCH_DR 0 /* radius delta */ |
| 76 | #define GRAIL_PROP_PINCH_VR 1 /* radial velocity */ | 95 | #define GRAIL_PROP_PINCH_VR 1 /* radial velocity */ |
| @@ -79,6 +98,21 @@ | |||
| 79 | #define GRAIL_PROP_PINCH_Y1 4 /* bounding box y1 */ | 98 | #define GRAIL_PROP_PINCH_Y1 4 /* bounding box y1 */ |
| 80 | #define GRAIL_PROP_PINCH_X2 5 /* bounding box x2 */ | 99 | #define GRAIL_PROP_PINCH_X2 5 /* bounding box x2 */ |
| 81 | #define GRAIL_PROP_PINCH_Y2 6 /* bounding box y2 */ | 100 | #define GRAIL_PROP_PINCH_Y2 6 /* bounding box y2 */ |
| 101 | #define GRAIL_PROP_PINCH_ID_T0 7 /* first touch id */ | ||
| 102 | #define GRAIL_PROP_PINCH_X_T0 8 /* first touch horizontal position */ | ||
| 103 | #define GRAIL_PROP_PINCH_Y_T0 9 /* first touch vertical position */ | ||
| 104 | #define GRAIL_PROP_PINCH_ID_T1 10 | ||
| 105 | #define GRAIL_PROP_PINCH_X_T1 11 | ||
| 106 | #define GRAIL_PROP_PINCH_Y_T1 12 | ||
| 107 | #define GRAIL_PROP_PINCH_ID_T2 13 | ||
| 108 | #define GRAIL_PROP_PINCH_X_T2 14 | ||
| 109 | #define GRAIL_PROP_PINCH_Y_T2 15 | ||
| 110 | #define GRAIL_PROP_PINCH_ID_T3 16 | ||
| 111 | #define GRAIL_PROP_PINCH_X_T3 17 | ||
| 112 | #define GRAIL_PROP_PINCH_Y_T3 18 | ||
| 113 | #define GRAIL_PROP_PINCH_ID_T4 19 | ||
| 114 | #define GRAIL_PROP_PINCH_X_T4 20 | ||
| 115 | #define GRAIL_PROP_PINCH_Y_T4 21 | ||
| 82 | 116 | ||
| 83 | #define GRAIL_PROP_ROTATE_DA 0 /* angle delta */ | 117 | #define GRAIL_PROP_ROTATE_DA 0 /* angle delta */ |
| 84 | #define GRAIL_PROP_ROTATE_VA 1 /* angular velocity */ | 118 | #define GRAIL_PROP_ROTATE_VA 1 /* angular velocity */ |
| @@ -87,9 +121,44 @@ | |||
| 87 | #define GRAIL_PROP_ROTATE_Y1 4 /* bounding box y1 */ | 121 | #define GRAIL_PROP_ROTATE_Y1 4 /* bounding box y1 */ |
| 88 | #define GRAIL_PROP_ROTATE_X2 5 /* bounding box x2 */ | 122 | #define GRAIL_PROP_ROTATE_X2 5 /* bounding box x2 */ |
| 89 | #define GRAIL_PROP_ROTATE_Y2 6 /* bounding box y2 */ | 123 | #define GRAIL_PROP_ROTATE_Y2 6 /* bounding box y2 */ |
| 124 | #define GRAIL_PROP_ROTATE_ID_T0 7 /* first touch id */ | ||
| 125 | #define GRAIL_PROP_ROTATE_X_T0 8 /* first touch horizontal position */ | ||
| 126 | #define GRAIL_PROP_ROTATE_Y_T0 9 /* first touch vertical position */ | ||
| 127 | #define GRAIL_PROP_ROTATE_ID_T1 10 | ||
| 128 | #define GRAIL_PROP_ROTATE_X_T1 11 | ||
| 129 | #define GRAIL_PROP_ROTATE_Y_T1 12 | ||
| 130 | #define GRAIL_PROP_ROTATE_ID_T2 13 | ||
| 131 | #define GRAIL_PROP_ROTATE_X_T2 14 | ||
| 132 | #define GRAIL_PROP_ROTATE_Y_T2 15 | ||
| 133 | #define GRAIL_PROP_ROTATE_ID_T3 16 | ||
| 134 | #define GRAIL_PROP_ROTATE_X_T3 17 | ||
| 135 | #define GRAIL_PROP_ROTATE_Y_T3 18 | ||
| 136 | #define GRAIL_PROP_ROTATE_ID_T4 19 | ||
| 137 | #define GRAIL_PROP_ROTATE_X_T4 20 | ||
| 138 | #define GRAIL_PROP_ROTATE_Y_T4 21 | ||
| 90 | 139 | ||
| 91 | #define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */ | 140 | #define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */ |
| 92 | #define GRAIL_PROP_TAP_X 1 /* horizontal position */ | 141 | #define GRAIL_PROP_TAP_X 1 /* horizontal position */ |
| 93 | #define GRAIL_PROP_TAP_Y 2 /* vertical position */ | 142 | #define GRAIL_PROP_TAP_Y 2 /* vertical position */ |
| 143 | #define GRAIL_PROP_TAP_X1 3 /* bounding box x1 */ | ||
| 144 | #define GRAIL_PROP_TAP_Y1 4 /* bounding box y1 */ | ||
| 145 | #define GRAIL_PROP_TAP_X2 5 /* bounding box x2 */ | ||
| 146 | #define GRAIL_PROP_TAP_Y2 6 /* bounding box y2 */ | ||
| 147 | #define GRAIL_PROP_TAP_ID_T0 7 /* first touch id */ | ||
| 148 | #define GRAIL_PROP_TAP_X_T0 8 /* first touch horizontal position */ | ||
| 149 | #define GRAIL_PROP_TAP_Y_T0 9 /* first touch vertical position */ | ||
| 150 | #define GRAIL_PROP_TAP_ID_T1 10 | ||
| 151 | #define GRAIL_PROP_TAP_X_T1 11 | ||
| 152 | #define GRAIL_PROP_TAP_Y_T1 12 | ||
| 153 | #define GRAIL_PROP_TAP_ID_T2 13 | ||
| 154 | #define GRAIL_PROP_TAP_X_T2 14 | ||
| 155 | #define GRAIL_PROP_TAP_Y_T2 15 | ||
| 156 | #define GRAIL_PROP_TAP_ID_T3 16 | ||
| 157 | #define GRAIL_PROP_TAP_X_T3 17 | ||
| 158 | #define GRAIL_PROP_TAP_Y_T3 18 | ||
| 159 | #define GRAIL_PROP_TAP_ID_T4 19 | ||
| 160 | #define GRAIL_PROP_TAP_X_T4 20 | ||
| 161 | #define GRAIL_PROP_TAP_Y_T4 21 | ||
| 162 | |||
| 94 | 163 | ||
| 95 | #endif | 164 | #endif |
