From 3298971de8c0e3a3439d5868a5930571f9f7d410 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 9 May 2024 22:28:09 -0500 Subject: [PATCH] Forgot to fix custom keycode enum --- users/t4corun/features/taphold.c | 6 ++++-- users/t4corun/t4corun.h | 9 ++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/users/t4corun/features/taphold.c b/users/t4corun/features/taphold.c index 24f6a98c..292862df 100644 --- a/users/t4corun/features/taphold.c +++ b/users/t4corun/features/taphold.c @@ -26,11 +26,11 @@ void insert_brackets(uint16_t left, uint16_t right, uint32_t ms) { void single_tap(uint16_t key) { tap_code16(key); - + } void double_tap(uint16_t key, uint32_t ms) { - + tap_code16(key); wait_ms(ms); tap_code16(key); @@ -38,11 +38,13 @@ void double_tap(uint16_t key, uint32_t ms) { } void insert_brackets(uint16_t left, uint16_t right, uint32_t ms) { + tap_code16(left); wait_ms(ms); tap_code16(right); wait_ms(ms); tap_code16(KC_LEFT); + } bool process_tap_hold_key(keyrecord_t* record, uint16_t tap_keycode, uint16_t hold_keycode, int mode) { diff --git a/users/t4corun/t4corun.h b/users/t4corun/t4corun.h index 22acbafb..e3f46acf 100644 --- a/users/t4corun/t4corun.h +++ b/users/t4corun/t4corun.h @@ -21,19 +21,18 @@ enum keycodes { TH_LABK, TH_LBRC, TH_LPRN, + TH_DQUO, TH_SQUO, - - TH_EQL, + TH_BSLS, TH_SLSH, + TH_PIPE, TH_COMM, TH_DOT, TH_PERC, - TH_EXLM, - TH_AT, - TH_QUES, + TH_EQL, TH_MINS, TH_GRV, TH_SCLN,