Fixed a few binds
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user