diff options
Diffstat (limited to 'users/wanleg')
-rw-r--r-- | users/wanleg/tapdances.c | 10 | ||||
-rw-r--r-- | users/wanleg/wanleg.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/users/wanleg/tapdances.c b/users/wanleg/tapdances.c index 1be5636dc7..cfd84a2644 100644 --- a/users/wanleg/tapdances.c +++ b/users/wanleg/tapdances.c @@ -72,15 +72,15 @@ void CAD_finished (qk_tap_dance_state_t *state, void *user_data) { case SINGLE_HOLD: //register_code(KC_NO); //take a screenshot of a single window, open Paint and paste - SEND_STRING(SS_LALT(SS_TAP(X_PSCREEN)) SS_LGUI("r")); + SEND_STRING(SS_LALT(SS_TAP(X_PRINT_SCREEN)) SS_LGUI("r")); wait_ms(500); SEND_STRING("mspaint" SS_TAP(X_ENTER)); wait_ms(700); - SEND_STRING(SS_LCTRL("v")); + SEND_STRING(SS_LCTL("v")); break; //register this keycode when button is held case DOUBLE_TAP: //register_code(KC_ENT); - SEND_STRING(SS_LCTRL(SS_LALT(SS_TAP(X_DELETE)))); + SEND_STRING(SS_LCTL(SS_LALT(SS_TAP(X_DELETE)))); #ifdef BACKLIGHT_ENABLE backlight_level(0); #endif @@ -224,7 +224,7 @@ void BSW_finished (qk_tap_dance_state_t *state, void *user_data) { #endif break; case DOUBLE_TAP: - register_code(KC_LCTRL); + register_code(KC_LCTL); register_code(KC_C); break; case DOUBLE_HOLD: @@ -237,7 +237,7 @@ void BSW_reset (qk_tap_dance_state_t *state, void *user_data) { switch (BSWtap_state.state) { case SINGLE_TAP: unregister_code(KC_ENTER); break; case DOUBLE_TAP: - unregister_code(KC_LCTRL); + unregister_code(KC_LCTL); unregister_code(KC_C); break; } diff --git a/users/wanleg/wanleg.c b/users/wanleg/wanleg.c index aa7b1c9a4c..b056f5dd96 100644 --- a/users/wanleg/wanleg.c +++ b/users/wanleg/wanleg.c @@ -129,7 +129,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { #if defined(RGBLIGHT_ENABLE) rgblight_enable_noeeprom(); // enables Rgb, without saving settings rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); - rgblight_sethsv_noeeprom_red(); + rgblight_sethsv_noeeprom(HSV_RED); #endif } return true; // Let QMK send the press/release events as normal |