diff options
Diffstat (limited to 'quantum/wpm.h')
| -rw-r--r-- | quantum/wpm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/quantum/wpm.h b/quantum/wpm.h index 4af52d2b9..c8e7d2668 100644 --- a/quantum/wpm.h +++ b/quantum/wpm.h | |||
| @@ -22,8 +22,11 @@ | |||
| 22 | #ifndef WPM_ESTIMATED_WORD_SIZE | 22 | #ifndef WPM_ESTIMATED_WORD_SIZE |
| 23 | # define WPM_ESTIMATED_WORD_SIZE 5 | 23 | # define WPM_ESTIMATED_WORD_SIZE 5 |
| 24 | #endif | 24 | #endif |
| 25 | #ifndef WPM_SMOOTHING | 25 | #ifndef WPM_SAMPLE_SECONDS |
| 26 | # define WPM_SMOOTHING 0.0487 | 26 | # define WPM_SAMPLE_SECONDS 5 |
| 27 | #endif | ||
| 28 | #ifndef WPM_SAMPLE_PERIODS | ||
| 29 | # define WPM_SAMPLE_PERIODS 50 | ||
| 27 | #endif | 30 | #endif |
| 28 | 31 | ||
| 29 | bool wpm_keycode(uint16_t keycode); | 32 | bool wpm_keycode(uint16_t keycode); |
