mirror of
https://github.com/qmk/qmk_userspace.git
synced 2026-07-25 11:05:57 -04:00
FLOW TAP TESTING
This commit is contained in:
parent
e86b02c016
commit
01339d4689
2 changed files with 15 additions and 0 deletions
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue