summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/evbuf.h2
-rw-r--r--src/grail-gestures.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/evbuf.h b/src/evbuf.h
index 4a91ae6..d0239d8 100644
--- a/src/evbuf.h
+++ b/src/evbuf.h
@@ -29,7 +29,7 @@
29#ifndef GRAIL_EVBUF_H 29#ifndef GRAIL_EVBUF_H
30#define GRAIL_EVBUF_H 30#define GRAIL_EVBUF_H
31 31
32#define DIM_EVENTS 512 32#define DIM_EVENTS 4096
33 33
34struct evbuf { 34struct evbuf {
35 int head; 35 int head;
diff --git a/src/grail-gestures.c b/src/grail-gestures.c
index 458f60d..2c0fc40 100644
--- a/src/grail-gestures.c
+++ b/src/grail-gestures.c
@@ -24,10 +24,10 @@
24#include "grail-impl.h" 24#include "grail-impl.h"
25#include <math.h> 25#include <math.h>
26 26
27static const float FM_SN[DIM_FM] = { 1000, 1000, 200, 1000 }; 27static const float FM_SN[DIM_FM] = { 1000, 1000, 1000, 1000 };
28static const float FM_BAR[DIM_FM] = { 50, 50, 30, 50 }; 28static const float FM_BAR[DIM_FM] = { 50, 50, 50, 50 };
29static const grail_time_t FM_BAR_MS[DIM_FM] = { 300, 300, 10000, 10000 };
30static const grail_time_t FM_HOLD_MS[DIM_FM] = { 60, 60, 60, 60 }; 29static const grail_time_t FM_HOLD_MS[DIM_FM] = { 60, 60, 60, 60 };
30static const grail_time_t FM_BAR_MS[DIM_FM] = { 300, 300, 500, 500 };
31static const grail_time_t SAMPLE_MS = 10; 31static const grail_time_t SAMPLE_MS = 10;
32static const float EPS = 1e-3; 32static const float EPS = 1e-3;
33 33