Skip to content

Commit

Permalink
[keyboard] Add Caps Lock LED Logic to exclusive/e85/soldered (#10639)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

Co-authored-by: Joel Challis <[email protected]>
  • Loading branch information
mechmerlin and zvecr committed Oct 15, 2020
1 parent b63b210 commit 59d503e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion keyboards/exclusive/e85/soldered/soldered.c
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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;
}

0 comments on commit 59d503e

Please sign in to comment.