This commit is contained in:
skullY
2020-02-29 20:30:30 -08:00
parent b281d88c6f
commit 5ba8a76da5
161 changed files with 56 additions and 1779 deletions

View File

@@ -15,15 +15,7 @@
*/
#include "wasdat.h"
// Optional override functions below.
// You can leave any or all of these undefined.
// These are only required if you want to perform custom actions.
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
led_init_ports();
}
@@ -37,11 +29,8 @@ void led_init_ports(void) {
}
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(B0, !led_state.caps_lock);
writePin(B1, !led_state.scroll_lock);
writePin(B2, !led_state.num_lock);
}
writePin(B0, !led_state.caps_lock);
writePin(B1, !led_state.scroll_lock);
writePin(B2, !led_state.num_lock);
return true;
}