FLOW TAP TESTING

This commit is contained in:
oco9oco 2025-06-11 15:39:35 +09:00
commit 01339d4689
2 changed files with 15 additions and 0 deletions

View file

@ -243,3 +243,17 @@ const char chordal_hold_layout[MATRIX_ROWS][MATRIX_COLS] PROGMEM =
} }
#endif #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;
}

View file

@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define FORCE_NKRO #define FORCE_NKRO
#define TAPPING_TERM 200 #define TAPPING_TERM 200
#define QUICK_TAP_TERM 0 #define QUICK_TAP_TERM 0
#define FLOW_TAP_TERM 50
//#define PERMISSIVE_HOLD_PER_KEY //#define PERMISSIVE_HOLD_PER_KEY
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY #define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
//#define CHORDAL_HOLD //#define CHORDAL_HOLD