aboutsummaryrefslogtreecommitdiff
path: root/keyboards/evyd13/wasdat/wasdat.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/evyd13/wasdat/wasdat.c')
-rw-r--r--keyboards/evyd13/wasdat/wasdat.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/keyboards/evyd13/wasdat/wasdat.c b/keyboards/evyd13/wasdat/wasdat.c
index 2d0e999c4..6aaa1b842 100644
--- a/keyboards/evyd13/wasdat/wasdat.c
+++ b/keyboards/evyd13/wasdat/wasdat.c
@@ -14,34 +14,3 @@
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#include "wasdat.h" 16#include "wasdat.h"
17
18// Optional override functions below.
19// You can leave any or all of these undefined.
20// These are only required if you want to perform custom actions.
21
22void matrix_init_kb(void) {
23 // put your keyboard start-up code here
24 // runs once when the firmware starts up
25
26 matrix_init_user();
27 led_init_ports();
28}
29
30void led_init_ports(void) {
31 setPinOutput(B0);
32 writePinHigh(B0);
33 setPinOutput(B1);
34 writePinHigh(B1);
35 setPinOutput(B2);
36 writePinHigh(B2);
37}
38
39bool led_update_kb(led_t led_state) {
40 if(led_update_user(led_state)) {
41 writePin(B0, !led_state.caps_lock);
42 writePin(B1, !led_state.scroll_lock);
43 writePin(B2, !led_state.num_lock);
44 }
45
46 return true;
47}