mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-07 16:14:17 -04:00
[Keyboard] Added CapsLED and ScrollLock LEDs (#13837)
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
175af8db40
commit
806ea98983
1 changed files with 11 additions and 1 deletions
|
@ -46,4 +46,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
void matrix_scan_user(void) {
|
||||
writePin(A7, layer_state_is(1));
|
||||
}
|
||||
|
||||
bool led_update_user(led_t led_state) {
|
||||
writePin(LED_CAPS_LOCK_PIN, !led_state.caps_lock);
|
||||
return false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue