parent
3ea82795a8
commit
76f7b2bf8c
|
@ -13,7 +13,8 @@ enum custom_keycodes {
|
||||||
ST_MACRO_0,
|
ST_MACRO_0,
|
||||||
ST_MACRO_1,
|
ST_MACRO_1,
|
||||||
RU_LAYER,
|
RU_LAYER,
|
||||||
EN_LAYER
|
EN_LAYER,
|
||||||
|
RU_SYMBOL,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum tap_dance_codes {
|
enum tap_dance_codes {
|
||||||
|
@ -165,6 +166,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
break;
|
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:
|
case RGB_SLD:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
rgblight_mode(1);
|
rgblight_mode(1);
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, RU_NUM, RU_RUBL, KC_TRANSPARENT,\
|
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_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,\
|
RU_HARD, RU_EN, RU_EM, RU_PE, RU_YERU, RU_SHTI, KC_TRANSPARENT,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
||||||
\
|
\
|
||||||
KC_TRANSPARENT, EN_LAYER,\
|
KC_TRANSPARENT, EN_LAYER,\
|
||||||
KC_TRANSPARENT,\
|
KC_TRANSPARENT,\
|
||||||
|
|
Loading…
Reference in New Issue