mirror of
https://github.com/nalf3in/vial-qmk.git
synced 2025-12-22 03:30:03 +00:00
Get rid of USB_LED_CAPS_LOCK (#21436)
This commit is contained in:
@@ -47,10 +47,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
};
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
|
||||
bool led_update_user(led_t led_state) {
|
||||
if (led_state.caps_lock) {
|
||||
rgblight_sethsv(HSV_RED);
|
||||
} else {
|
||||
rgblight_sethsv(HSV_TURQUOISE);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user