Trying to simplify the taphold code

- only on semicolon
- removed the TR LT define and only doing TH
This commit is contained in:
Victor 2024-04-21 08:21:20 -05:00
parent 49f130585f
commit 052b2795a2
Failed to generate hash of commit
4 changed files with 68 additions and 10 deletions

View file

@ -76,7 +76,7 @@ bool process_tap_hold_key(keyrecord_t* record, uint16_t keycode) {
key = KC_GRV;
altkey = KC_TILDE;
break;
case TR_SCLN: //tap for semicolon, hold for colon
case TH_SCLN: //tap for semicolon, hold for colon
key = KC_SCLN;
altkey = KC_COLN;
break;
@ -116,7 +116,7 @@ bool process_tap_hold_key(keyrecord_t* record, uint16_t keycode) {
case TR_EQL:
case TR_MINS:
case TR_GRV:
case TR_SCLN:
case TH_SCLN:
case TR_QUOT:
tap_code16(altkey);
break;