summaryrefslogtreecommitdiff
path: root/include/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/memory.h')
-rw-r--r--include/memory.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/memory.h b/include/memory.h
index 1a1b688..3054828 100644
--- a/include/memory.h
+++ b/include/memory.h
@@ -40,6 +40,16 @@
40 * @mvforget: movement before this point in time is discarded 40 * @mvforget: movement before this point in time is discarded
41 * @dx: array of accumulated horiontal movement per finger 41 * @dx: array of accumulated horiontal movement per finger
42 * @dy: array of accumulated vertical movement per finger 42 * @dy: array of accumulated vertical movement per finger
43 * @tpdown: time of first touch
44 * @tpup: time of last release
45 * @tprelax: time of next possible touch
46 * @xdown: x position of first touch
47 * @ydown: y position of first touch
48 * @xup: x position of last release
49 * @yup: y position of last release
50 * @wait: time to wait for a second tap
51 * @maxtap: max number of pointing fingers during touch
52 * @ntap: number of taps in sequence
43 * 53 *
44 */ 54 */
45struct Memory { 55struct Memory {
@@ -49,6 +59,9 @@ struct Memory {
49 int ybar; 59 int ybar;
50 mstime_t mvhold, mvforget; 60 mstime_t mvhold, mvforget;
51 int dx[DIM_FINGER], dy[DIM_FINGER]; 61 int dx[DIM_FINGER], dy[DIM_FINGER];
62 mstime_t tpdown, tpup, tprelax;
63 int xdown, ydown, xup, yup;
64 int wait, maxtap, ntap;
52}; 65};
53 66
54void init_memory(struct Memory *mem); 67void init_memory(struct Memory *mem);