summaryrefslogtreecommitdiff
path: root/users/cwebster2/keycodes.c
diff options
context:
space:
mode:
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;