diff options
author | Daniel Shields <1530706+shieldsd@users.noreply.github.com> | 2022-09-26 04:38:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-25 20:38:37 -0700 |
commit | a4dcf22fd7fd251b14688286d1e9abff2fcdf546 (patch) | |
tree | cd56017908ace21d5433dd7fb4e2ad636a1ed183 /users/dshields/dshields.c | |
parent | 82eb98449de01456ed0d7568d0525ab6cc380155 (diff) | |
download | qmk_firmware-a4dcf22fd7fd251b14688286d1e9abff2fcdf546.tar.gz qmk_firmware-a4dcf22fd7fd251b14688286d1e9abff2fcdf546.zip |
[Keymap] Tune mod tap configuration for dshields home row mods (#18458)
Diffstat (limited to 'users/dshields/dshields.c')
-rw-r--r-- | users/dshields/dshields.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/users/dshields/dshields.c b/users/dshields/dshields.c index 13eab12d4a..46f0b33cd3 100644 --- a/users/dshields/dshields.c +++ b/users/dshields/dshields.c @@ -29,3 +29,30 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; } +bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case MT_A: + case MT_S: + case MT_D: + case MT_F: + case MT_J: + case MT_K: + case MT_L: + case MT_SCLN: + return true; + default: + return false; + } +} + +bool get_permissive_hold(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case MT_SPC: + case MT_BSPC: + case MT_ESC: + return true; + default: + return false; + } +} + |