Fixed a few binds
parent
c7a193a7d2
commit
eec4251201
|
@ -64,7 +64,6 @@ const uint8_t PROGMEM ledmap[][DRIVER_LED_TOTAL][3] = {
|
|||
void keyboard_post_init_user(void) {}
|
||||
|
||||
|
||||
|
||||
void set_layer_color(int layer) {
|
||||
for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
|
||||
HSV hsv = {
|
||||
|
@ -140,6 +139,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
layer_move(LAYER_RUSSIAN_IDX);
|
||||
}
|
||||
break;
|
||||
|
||||
case M_RU_ALT:
|
||||
if (record->event.pressed) {
|
||||
layer_move(LAYER_MAIN_IDX);
|
||||
register_code16(KC_LALT);
|
||||
} else {
|
||||
unregister_code16(KC_LALT);
|
||||
layer_move(LAYER_RUSSIAN_IDX);
|
||||
}
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
KC_ESCAPE, KC_1, KC_2, KC_3, KC_4, KC_5, TG(LAYER_NUMPAD_IDX),\
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LGUI,\
|
||||
KC_DELETE, KC_A, KC_S, KC_D, KC_F, KC_G,\
|
||||
M_RU_CTRL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO,\
|
||||
KC_LCTRL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO,\
|
||||
MO(LAYER_DESKTOP_IDX), MO(LAYER_FKEYS_IDX), KC_LALT, KC_LSHIFT, MO(LAYER_ARROWS_IDX),\
|
||||
\
|
||||
KC_PSCREEN, KC_NO,\
|
||||
|
@ -13,7 +13,7 @@
|
|||
KC_SPACE, KC_BSPACE, LCTL(KC_BSPACE),\
|
||||
\
|
||||
\
|
||||
LCTL(KC_LALT), KC_6, KC_7, KC_8, KC_9, KC_0, LGUI(KC_TAB),\
|
||||
KC_NO, KC_6, KC_7, KC_8, KC_9, KC_0, LGUI(KC_TAB),\
|
||||
KC_NO, KC_Y, KC_U, KC_I, KC_O, KC_NO, KC_NO,\
|
||||
KC_H, KC_J, KC_K, MO(LAYER_SYMBOLS_IDX), KC_L, KC_NO,\
|
||||
KC_NO, KC_N, KC_M, KC_P, KC_DOT, KC_COMMA, KC_NO,\
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
KC_TRANSPARENT, RU_CHE, RU_SHA, RU_IE, RU_ER, RU_TE, RU_YO,\
|
||||
KC_TRANSPARENT, RU_A, RU_ES, RU_DE, RU_EF, RU_GHE,\
|
||||
M_RU_CTRL, RU_ZE, RU_YA, RU_TSE, RU_VE, RU_BE, RU_E,\
|
||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_LALT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
||||
KC_TRANSPARENT, KC_TRANSPARENT, M_RU_ALT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
||||
\
|
||||
KC_TRANSPARENT, KC_TRANSPARENT,\
|
||||
KC_TRANSPARENT,\
|
||||
|
|
Loading…
Reference in New Issue