From c145d24d5b170c45ccc60c82fbc33616bb38c301 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 1 Jul 2023 23:04:50 +0200 Subject: tune timings a bit --- ferris/keymap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ferris/keymap.c') 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; } -- cgit v1.2.3