Added Caps Lock LED handler to wilba.tech PCBs (#8660)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user