From 01339d4689c7a63c950a503c56b1cdec40149c06 Mon Sep 17 00:00:00 2001 From: oco9oco Date: Wed, 11 Jun 2025 15:39:35 +0900 Subject: [PATCH] FLOW TAP TESTING --- .../charybdis/4x6/keymaps/oco9oco/keymap.c | 14 ++++++++++++++ users/oco9oco/config.h | 1 + 2 files changed, 15 insertions(+) diff --git a/keyboards/bastardkb/charybdis/4x6/keymaps/oco9oco/keymap.c b/keyboards/bastardkb/charybdis/4x6/keymaps/oco9oco/keymap.c index bcd3cd84..d051562f 100644 --- a/keyboards/bastardkb/charybdis/4x6/keymaps/oco9oco/keymap.c +++ b/keyboards/bastardkb/charybdis/4x6/keymaps/oco9oco/keymap.c @@ -243,3 +243,17 @@ const char chordal_hold_layout[MATRIX_ROWS][MATRIX_COLS] PROGMEM = } #endif +bool is_flow_tap_key(uint16_t keycode) { + if ((get_mods() & (MOD_MASK_CG | MOD_BIT_LALT)) != 0) { + return false; // Disable Flow Tap on hotkeys. + } + switch (get_tap_keycode(keycode)) { + case KC_A ... KC_Z: + case KC_DOT: + case KC_COMM: + case KC_SCLN: + case KC_SLSH: + return true; + } + return false; +} \ No newline at end of file diff --git a/users/oco9oco/config.h b/users/oco9oco/config.h index cbae339a..0a5724c3 100644 --- a/users/oco9oco/config.h +++ b/users/oco9oco/config.h @@ -24,6 +24,7 @@ along with this program. If not, see . #define FORCE_NKRO #define TAPPING_TERM 200 #define QUICK_TAP_TERM 0 +#define FLOW_TAP_TERM 50 //#define PERMISSIVE_HOLD_PER_KEY #define HOLD_ON_OTHER_KEY_PRESS_PER_KEY //#define CHORDAL_HOLD