Fixed a few binds

This commit is contained in:
2022-07-18 10:16:03 -07:00
parent c7a193a7d2
commit eec4251201
3 changed files with 13 additions and 4 deletions

View File

@ -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;
}