[Keymap] Jonavin userspace keymap updates INVERT_NUMLOCK_INDICATOR (#14880)
Co-authored-by: Jonavin <=>
This commit is contained in:
@@ -124,10 +124,19 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
rgb_matrix_set_color(LED_L1, RGB_GREEN);
|
||||
rgb_matrix_set_color(LED_L2, RGB_GREEN);
|
||||
}
|
||||
if (!IS_HOST_LED_ON(USB_LED_NUM_LOCK)) { // on if NUM lock is OFF
|
||||
rgb_matrix_set_color(LED_L3, RGB_MAGENTA);
|
||||
rgb_matrix_set_color(LED_L4, RGB_MAGENTA);
|
||||
}
|
||||
|
||||
#ifdef INVERT_NUMLOCK_INDICATOR
|
||||
if (!IS_HOST_LED_ON(USB_LED_NUM_LOCK)) { // on if NUM lock is OFF
|
||||
rgb_matrix_set_color(LED_L3, RGB_MAGENTA);
|
||||
rgb_matrix_set_color(LED_L4, RGB_MAGENTA);
|
||||
}
|
||||
#else
|
||||
if (IS_HOST_LED_ON(USB_LED_NUM_LOCK)) { // Normal, on if NUM lock is ON
|
||||
rgb_matrix_set_color(LED_L3, RGB_MAGENTA);
|
||||
rgb_matrix_set_color(LED_L4, RGB_MAGENTA);
|
||||
}
|
||||
#endif // INVERT_NUMLOCK_INDICATOR
|
||||
|
||||
if (IS_HOST_LED_ON(USB_LED_CAPS_LOCK)) {
|
||||
rgb_matrix_set_color(LED_L5, RGB_RED);
|
||||
rgb_matrix_set_color(LED_L6, RGB_RED);
|
||||
|
Reference in New Issue
Block a user