diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-09-29 11:25:42 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-09-29 11:25:42 +0200 |
commit | e477fc45079e29fe2bee92f3a3b1c11346888ebc (patch) | |
tree | 56bacbd498d01e8294c814a6fa75c8e9e77cc050 /users/dshields/dshields.c | |
parent | 6afdd9d74da250e47ac64d6690bd19d037045e99 (diff) | |
parent | eb55551e2d764ac48c48e02165589ab11f4c8005 (diff) | |
download | qmk_firmware-e477fc45079e29fe2bee92f3a3b1c11346888ebc.tar.gz qmk_firmware-e477fc45079e29fe2bee92f3a3b1c11346888ebc.zip |
Merge branch 'master' into taamastaamas
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; + } +} + |