1
0
Fork 0

[Keyboard] Added CapsLED and ScrollLock LEDs (#13837)

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Ananya Kirti 2021-08-08 10:11:15 +05:30 committed by GitHub
parent bc2b73f997
commit b046bffcb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View file

@ -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;
};