diff options
Diffstat (limited to 'keyboards/mechwild/mercutio/keymaps/fancy/keymap.c')
-rwxr-xr-x | keyboards/mechwild/mercutio/keymaps/fancy/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c b/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c index ca1ac03d2b..506f298030 100755 --- a/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c +++ b/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c @@ -108,8 +108,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { } bool oled_task_user(void) { - - if ( IS_HOST_LED_OFF(USB_LED_NUM_LOCK) && IS_HOST_LED_OFF(USB_LED_CAPS_LOCK) && selected_layer == 0 && get_highest_layer(layer_state) == 0 ) { + led_t led_state = host_keyboard_led_state(); + if ( !led_state.num_lock && !led_state.caps_lock && selected_layer == 0 && get_highest_layer(layer_state) == 0 ) { render_name(); clear_screen = true; } else { |