summaryrefslogtreecommitdiff
path: root/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.c')
-rw-r--r--src/memory.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/memory.c b/src/memory.c
index 2bb4d95..974a531 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -21,6 +21,8 @@
21 21
22#include "memory.h" 22#include "memory.h"
23 23
24#define use_tapping 0
25
24/* click area definition */ 26/* click area definition */
25#define CLICK_AREA(c) ((c->has_ibt ? 0.20 : 0.00) * get_cap_ysize(c)) 27#define CLICK_AREA(c) ((c->has_ibt ? 0.20 : 0.00) * get_cap_ysize(c))
26 28
@@ -279,7 +281,8 @@ void refresh_memory(struct Memory *m,
279 update_configuration(m, prev_state, state); 281 update_configuration(m, prev_state, state);
280 update_pointers(m, state, caps); 282 update_pointers(m, state, caps);
281 update_movement(m, prev_state, state, caps); 283 update_movement(m, prev_state, state, caps);
282 update_tapping(m, prev_state, state, caps); 284 if (use_tapping || !caps->has_left)
285 update_tapping(m, prev_state, state, caps);
283} 286}
284 287
285void output_memory(const struct Memory *m) 288void output_memory(const struct Memory *m)