Browse Source

[keyboard] Add Caps Lock LED Logic to exclusive/e85/soldered (#10639)

* on behalf of VashtaNerada commiting his code to get caps lock led working on the soldered E8d E8.5

* Update keyboards/exclusive/e85/soldered/soldered.c

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Joel Challis <git@zvecr.com>
pull/10648/head
MechMerlin 3 years ago
committed by GitHub
parent
commit
59d503e3b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 1 deletions
  1. +14
    -1
      keyboards/exclusive/e85/soldered/soldered.c

+ 14
- 1
keyboards/exclusive/e85/soldered/soldered.c View File

@ -1,4 +1,4 @@
/* Copyright 2020 MechMerlin
/* Copyright 2020 VashtaNerada
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -15,3 +15,16 @@
*/
#include "soldered.h"
void keyboard_pre_init_kb(void) {
setPinOutput(C7);
keyboard_pre_init_user();
}
bool led_update_kb(led_t led_state) {
if (led_update_user(led_state)) {
writePin(C7, led_state.caps_lock);
}
return true;
}

Loading…
Cancel
Save