From 1978007faefc0fb3af809ddf0d2ff1274e540570 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 15 Dec 2022 07:40:25 +1100 Subject: Tap Dance: remove `qk_` prefix (#19313) --- users/jonavin/jonavin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'users/jonavin/jonavin.c') diff --git a/users/jonavin/jonavin.c b/users/jonavin/jonavin.c index f203bd77df..94173ac20e 100644 --- a/users/jonavin/jonavin.c +++ b/users/jonavin/jonavin.c @@ -22,7 +22,7 @@ along with this program. If not, see . #ifdef TD_LSFT_CAPSLOCK_ENABLE // Tap once for shift, twice for Caps Lock but only if Win Key in not disabled - void dance_LSFT_finished(qk_tap_dance_state_t *state, void *user_data) { + void dance_LSFT_finished(tap_dance_state_t *state, void *user_data) { if (state->count == 1 || keymap_config.no_gui) { register_code16(KC_LSFT); } else { @@ -30,7 +30,7 @@ along with this program. If not, see . } } - void dance_LSFT_reset(qk_tap_dance_state_t *state, void *user_data) { + void dance_LSFT_reset(tap_dance_state_t *state, void *user_data) { if (state->count == 1 || keymap_config.no_gui) { unregister_code16(KC_LSFT); } else { @@ -38,7 +38,7 @@ along with this program. If not, see . } } - qk_tap_dance_action_t tap_dance_actions[] = { + tap_dance_action_t tap_dance_actions[] = { // Tap once for shift, twice for Caps Lock [TD_LSFT_CAPSLOCK] = ACTION_TAP_DANCE_DOUBLE(KC_LSFT, KC_CAPS), [TD_LSFT_CAPS_WIN] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_LSFT_finished, dance_LSFT_reset), -- cgit v1.2.3 From f0618a1d53a50a6ed6a6b050daf31365599bef4b Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 6 Feb 2023 13:36:09 +1100 Subject: Remove `IS_HOST_LED_ON` and migrate usages (#19753) --- users/jonavin/jonavin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/jonavin/jonavin.c') diff --git a/users/jonavin/jonavin.c b/users/jonavin/jonavin.c index 94173ac20e..c936421040 100644 --- a/users/jonavin/jonavin.c +++ b/users/jonavin/jonavin.c @@ -212,7 +212,7 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) { // Turn on/off NUM LOCK if current state is different void activate_numlock(bool turn_on) { - if (IS_HOST_LED_ON(USB_LED_NUM_LOCK) != turn_on) { + if (host_keyboard_led_state().num_lock != turn_on) { tap_code(KC_NUM_LOCK); } } -- cgit v1.2.3