diff options
author | Wilba <Jason.S.Williams@gmail.com> | 2020-04-06 00:18:17 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 15:18:17 +0100 |
commit | 48cad94d7e00e8fa234309f80feacaeaa6561f16 (patch) | |
tree | 9add12273723898048d66d683537b012a37fc775 /keyboards/wilba_tech/wt60_d/wt60_d.c | |
parent | 90665aeec9c90f62ea3687b037624d9fc04ad380 (diff) |
Added Caps Lock LED handler to wilba.tech PCBs (#8660)
Diffstat (limited to 'keyboards/wilba_tech/wt60_d/wt60_d.c')
-rw-r--r-- | keyboards/wilba_tech/wt60_d/wt60_d.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/wilba_tech/wt60_d/wt60_d.c b/keyboards/wilba_tech/wt60_d/wt60_d.c index 52a7733683..534511565b 100644 --- a/keyboards/wilba_tech/wt60_d/wt60_d.c +++ b/keyboards/wilba_tech/wt60_d/wt60_d.c @@ -1 +1,14 @@ #include "wt60_d.h" + +void keyboard_pre_init_kb(void) { + setPinOutput(F1); + + keyboard_pre_init_user(); +} + +bool led_update_kb(led_t led_state) { + if (led_update_user(led_state)) { + writePin(F1, led_state.caps_lock); + } + return true; +} |