summaryrefslogtreecommitdiff
path: root/ferris/keymap.c
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-07-01 23:04:50 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-07-01 23:04:50 +0200
commitc145d24d5b170c45ccc60c82fbc33616bb38c301 (patch)
tree204910142416e168cb4d3f096b28f0e5faba2fa7 /ferris/keymap.c
parentdb784cc076426dfb9e5be2281862f8d243c7753a (diff)
tune timings a bit
Diffstat (limited to 'ferris/keymap.c')
-rw-r--r--ferris/keymap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ferris/keymap.c b/ferris/keymap.c
index 2722f29..e8a96b2 100644
--- a/ferris/keymap.c
+++ b/ferris/keymap.c
@@ -80,7 +80,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// see https://getreuer.info/posts/keyboards/achordion/index.html
#include "achordion.h"
-#include "achordion.c"
+
+// By default, the timeout is 1000 ms for all keys.
+uint16_t achordion_timeout(uint16_t tap_hold_keycode) {
+ return 500;
+}
bool process_record_user(uint16_t keycode, keyrecord_t* record) {
if (!process_achordion(keycode, record)) { return false; }