diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/evbuf.h | 2 | ||||
| -rw-r--r-- | src/grail-gestures.c | 6 |
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 | ||
| 34 | struct evbuf { | 34 | struct 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 | ||
| 27 | static const float FM_SN[DIM_FM] = { 1000, 1000, 200, 1000 }; | 27 | static const float FM_SN[DIM_FM] = { 1000, 1000, 1000, 1000 }; |
| 28 | static const float FM_BAR[DIM_FM] = { 50, 50, 30, 50 }; | 28 | static const float FM_BAR[DIM_FM] = { 50, 50, 50, 50 }; |
| 29 | static const grail_time_t FM_BAR_MS[DIM_FM] = { 300, 300, 10000, 10000 }; | ||
| 30 | static const grail_time_t FM_HOLD_MS[DIM_FM] = { 60, 60, 60, 60 }; | 29 | static const grail_time_t FM_HOLD_MS[DIM_FM] = { 60, 60, 60, 60 }; |
| 30 | static const grail_time_t FM_BAR_MS[DIM_FM] = { 300, 300, 500, 500 }; | ||
| 31 | static const grail_time_t SAMPLE_MS = 10; | 31 | static const grail_time_t SAMPLE_MS = 10; |
| 32 | static const float EPS = 1e-3; | 32 | static const float EPS = 1e-3; |
| 33 | 33 | ||
