diff options
-rw-r--r-- | keyboards/frosty_flake/keymaps/nikchi/config.h | 2 | ||||
-rw-r--r-- | keyboards/frosty_flake/keymaps/nikchi/keymap.c | 15 | ||||
-rw-r--r-- | quantum/process_keycode/process_tap_dance.c | 4 |
3 files changed, 10 insertions, 11 deletions
diff --git a/keyboards/frosty_flake/keymaps/nikchi/config.h b/keyboards/frosty_flake/keymaps/nikchi/config.h index 45825781df..3f78526437 100644 --- a/keyboards/frosty_flake/keymaps/nikchi/config.h +++ b/keyboards/frosty_flake/keymaps/nikchi/config.h @@ -4,7 +4,7 @@ #include "../../config.h" #define TAPPING_TERM 200 -#define LEADER_TIMEOUT 400 +#define LEADER_TIMEOUT 800 #define DISABLE_SPACE_CADET_ROLLOVER diff --git a/keyboards/frosty_flake/keymaps/nikchi/keymap.c b/keyboards/frosty_flake/keymaps/nikchi/keymap.c index f9dcf45569..021ffac803 100644 --- a/keyboards/frosty_flake/keymaps/nikchi/keymap.c +++ b/keyboards/frosty_flake/keymaps/nikchi/keymap.c @@ -65,14 +65,7 @@ enum my_macros { RIGHTDESK, CLOSEDESK }; -enum quick { - DISFACE = 0, - TFLIP, - TPUT, - SHRUG, - FACE, - RANDIG -}; + // Tap Dance Definitions qk_tap_dance_action_t tap_dance_actions[] = { @@ -174,6 +167,11 @@ void matrix_scan_user(void) { tap(KC_C); unregister_code(KC_LCTL); } + SEQ_THREE_KEYS(KC_L,KC_I,KC_T) { // 🔥 + unicode_input_start(); + register_hex32(pgm_read_dword(&unicode_map[LIT])); + unicode_input_finish(); + } } } @@ -240,3 +238,4 @@ void cycleMemes(qk_tap_dance_state_t *state, void *user_data) { } }; + diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c index 2c7f6e937e..4fd45810bb 100644 --- a/quantum/process_keycode/process_tap_dance.c +++ b/quantum/process_keycode/process_tap_dance.c @@ -132,9 +132,9 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) { void matrix_scan_tap_dance () { if (highest_td == -1) return; - int tap_user_defined; + uint16_t tap_user_defined; -for (int i = 0; i <= highest_td; i++) { +for (uint8_t i = 0; i <= highest_td; i++) { qk_tap_dance_action_t *action = &tap_dance_actions[i]; if(action->custom_tapping_term > 0 ) { tap_user_defined = action->custom_tapping_term; |