summaryrefslogtreecommitdiff
path: root/users/cwebster2/keycodes.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-09-01 00:51:16 +0000
committerQMK Bot <hello@qmk.fm>2021-09-01 00:51:16 +0000
commitd019c8a991a2f559b2bc7530342110d54b30c5ac (patch)
tree5fc9433fc1218a10d7f59dddc2927af6d64de69e /users/cwebster2/keycodes.c
parent54ae829b045afee0b08c0c90286e9def0f77fffe (diff)
parentc5ec423438696881c25ce1fe2ee189091e0510d6 (diff)
downloadqmk_firmware-d019c8a991a2f559b2bc7530342110d54b30c5ac.tar.gz
qmk_firmware-d019c8a991a2f559b2bc7530342110d54b30c5ac.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/cwebster2/keycodes.c')
-rw-r--r--users/cwebster2/keycodes.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/users/cwebster2/keycodes.c b/users/cwebster2/keycodes.c
index 39b4341bd0..f7eb6ad8df 100644
--- a/users/cwebster2/keycodes.c
+++ b/users/cwebster2/keycodes.c
@@ -27,7 +27,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
register_code(KC_LCTL);
} else {
unregister_code(KC_LCTL);
- if (timer_elapsed(my_colon_timer) < TAPPING_TERM) {
+ if (timer_elapsed(my_colon_timer) < TAPPING_TERM - 50) {
SEND_STRING(":");
}
}
@@ -38,14 +38,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
+ case LSFT_T(KC_T):
+ case LSFT_T(KC_N):
+ return TAPPING_TERM - 50;
case LGUI_T(KC_A):
- case LALT_T(KC_S):
- case LCTL_T(KC_D):
- case LSFT_T(KC_F):
- case RSFT_T(KC_J):
- case RCTL_T(KC_K):
- case RALT_T(KC_L):
- case RGUI_T(KC_SCLN):
+ case LALT_T(KC_R):
+ case LCTL_T(KC_S):
+ case LCTL_T(KC_E):
+ case LALT_T(KC_I):
+ case LGUI_T(KC_O):
return TAPPING_TERM + 150;
default:
return TAPPING_TERM;