From bf7c82aca16d3ce24530485c0db74fa9cabd6ec3 Mon Sep 17 00:00:00 2001 From: TS Date: Wed, 26 Jan 2022 22:25:15 -0500 Subject: [PATCH] improving clicky stability, tuned down clicky delay duration --- keyboards/preonic/keymaps/Era1112/config.h | 2 +- keyboards/preonic/keymaps/Era1112/keymap.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/keyboards/preonic/keymaps/Era1112/config.h b/keyboards/preonic/keymaps/Era1112/config.h index 6bded56148f0..86cc6135e5e2 100644 --- a/keyboards/preonic/keymaps/Era1112/config.h +++ b/keyboards/preonic/keymaps/Era1112/config.h @@ -44,7 +44,7 @@ #define AUDIO_CLICKY_FREQ_DEFAULT 800.0f // Default 440 #define AUDIO_CLICKY_FREQ_MAX 1500.0f // Defaul 1500 #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f // Default 0.05 - #define AUDIO_CLICKY_DELAY_DURATION 0.5f // Default 1 + #define AUDIO_CLICKY_DELAY_DURATION 0.1f // Default 1 #endif //AUDIO_ENABLE #define RGBLIGHT_SLEEP // RGB lights turn off when host sleeps diff --git a/keyboards/preonic/keymaps/Era1112/keymap.c b/keyboards/preonic/keymaps/Era1112/keymap.c index dcfb2dbff811..4031f998db15 100644 --- a/keyboards/preonic/keymaps/Era1112/keymap.c +++ b/keyboards/preonic/keymaps/Era1112/keymap.c @@ -99,7 +99,6 @@ td_state_t cur_dance(qk_tap_dance_state_t* state) { if (state->count == 1) { if (state->interrupted || !state->pressed) { return TD_1_TAP; - } // Key has not been interrupted, but the key is still held. Means you want to send a 'HOLD'. } else { return TD_1_HOLD;