diff options
| -rw-r--r-- | keyboards/wilba_tech/wt60_d/wt60_d.c | 13 | ||||
| -rw-r--r-- | keyboards/wilba_tech/wt69_a/wt69_a.c | 15 |
2 files changed, 27 insertions, 1 deletions
diff --git a/keyboards/wilba_tech/wt60_d/wt60_d.c b/keyboards/wilba_tech/wt60_d/wt60_d.c index 52a773368..534511565 100644 --- a/keyboards/wilba_tech/wt60_d/wt60_d.c +++ b/keyboards/wilba_tech/wt60_d/wt60_d.c | |||
| @@ -1 +1,14 @@ | |||
| 1 | #include "wt60_d.h" | 1 | #include "wt60_d.h" |
| 2 | |||
| 3 | void keyboard_pre_init_kb(void) { | ||
| 4 | setPinOutput(F1); | ||
| 5 | |||
| 6 | keyboard_pre_init_user(); | ||
| 7 | } | ||
| 8 | |||
| 9 | bool led_update_kb(led_t led_state) { | ||
| 10 | if (led_update_user(led_state)) { | ||
| 11 | writePin(F1, led_state.caps_lock); | ||
| 12 | } | ||
| 13 | return true; | ||
| 14 | } | ||
diff --git a/keyboards/wilba_tech/wt69_a/wt69_a.c b/keyboards/wilba_tech/wt69_a/wt69_a.c index ccff6d62c..4397a97d1 100644 --- a/keyboards/wilba_tech/wt69_a/wt69_a.c +++ b/keyboards/wilba_tech/wt69_a/wt69_a.c | |||
| @@ -14,4 +14,17 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | // Nothing to see here, move along... ;-) | 17 | #include "wt69_a.h" |
| 18 | |||
| 19 | void keyboard_pre_init_kb(void) { | ||
| 20 | setPinOutput(F1); | ||
| 21 | |||
| 22 | keyboard_pre_init_user(); | ||
| 23 | } | ||
| 24 | |||
| 25 | bool led_update_kb(led_t led_state) { | ||
| 26 | if (led_update_user(led_state)) { | ||
| 27 | writePin(F1, led_state.caps_lock); | ||
| 28 | } | ||
| 29 | return true; | ||
| 30 | } | ||
