Skip to content
Snippets Groups Projects
Unverified Commit 48cad94d authored by Wilba's avatar Wilba Committed by GitHub
Browse files

Added Caps Lock LED handler to wilba.tech PCBs (#8660)

parent 90665aee
Branches
No related tags found
No related merge requests found
#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;
}
......@@ -14,4 +14,17 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// Nothing to see here, move along... ;-)
#include "wt69_a.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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment