diff options
Diffstat (limited to 'keyboards/splitkb/kyria/keymaps')
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/drashna/keymap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/drashna/keymap.c b/keyboards/splitkb/kyria/keymaps/drashna/keymap.c index 6b18e7c3bc..8c028985ef 100644 --- a/keyboards/splitkb/kyria/keymaps/drashna/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/drashna/keymap.c @@ -144,6 +144,7 @@ void oled_render_large_display(bool side) { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3, 7, 15, 14, 30, 28, 60, 56,120,112,112,112,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,224,112,112,112,120, 56, 60, 28, 30, 14, 15, 7, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; // clang-format on + oled_set_cursor(0,7); oled_write_raw_P(kyria_logo, sizeof(kyria_logo)); } } @@ -157,9 +158,11 @@ const rgblight_segment_t PROGMEM gui_layers[] = RGBLIGHT_LAYER_SEGMENTS({7, const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(shift_layers, control_layers, alt_layers, gui_layers); -void keyboard_post_init_keymap(void) { rgblight_layers = my_rgb_layers; } +void keyboard_post_init_keymap(void) { + rgblight_layers = my_rgb_layers; +} -void matrix_scan_keymap(void) { +void housekeeping_task_keymap(void) { uint8_t mods = mod_config(get_mods() | get_oneshot_mods()); rgblight_set_layer_state(0, mods & MOD_MASK_SHIFT); rgblight_set_layer_state(1, mods & MOD_MASK_CTRL); |