Replaced keymap macro.

Turns out we need it.
master
Mark 2022-02-07 20:41:31 -08:00
parent 3ea82795a8
commit 76f7b2bf8c
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 17 additions and 6 deletions

View File

@ -13,7 +13,8 @@ enum custom_keycodes {
ST_MACRO_0,
ST_MACRO_1,
RU_LAYER,
EN_LAYER
EN_LAYER,
RU_SYMBOL,
};
enum tap_dance_codes {
@ -165,6 +166,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
break;
case RU_SYMBOL:
if (record->event.pressed) {
SEND_STRING(SS_LGUI(SS_LSFT(SS_LCTL(SS_TAP(X_0)))));
layer_on(LAYER_SYMBOLS_IDX);
} else {
SEND_STRING(SS_LGUI(SS_LSFT(SS_LCTL(SS_TAP(X_9)))));
layer_off(LAYER_SYMBOLS_IDX);
}
break;
case RGB_SLD:
if (record->event.pressed) {
rgblight_mode(1);

View File

@ -15,7 +15,7 @@
\
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, RU_NUM, RU_RUBL, KC_TRANSPARENT,\
RU_SOFT, RU_U, RU_YU, RU_I, RU_O, RU_SHCH, KC_TRANSPARENT,\
RU_HA, RU_ZHE, RU_KA, MO(LAYER_SYMBOLS_IDX), RU_EL, KC_TRANSPARENT,\
RU_HA, RU_ZHE, RU_KA, RU_SYMBOL, RU_EL, KC_TRANSPARENT,\
RU_HARD, RU_EN, RU_EM, RU_PE, RU_YERU, RU_SHTI, KC_TRANSPARENT,\
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
\