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