]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboard/clueboard1/clueboard1.c
Adding clueboard/cluepad support to qmk
[qmk_firmware.git] / keyboard / clueboard1 / clueboard1.c
1 #include "clueboard1.h"
2
3 __attribute__ ((weak))
4 void * matrix_init_user(void) {
5         // leave these blank
6 };
7
8 __attribute__ ((weak))
9 void * matrix_scan_user(void) {
10         // leave these blank
11 };
12
13 void * matrix_init_kb(void) {
14         // put your keyboard start-up code here
15         // runs once when the firmware starts up
16         if (matrix_init_user) {
17                 (*matrix_init_user)();
18         }
19 };
20
21 void * matrix_scan_kb(void) {
22         // put your looping keyboard code here
23         // runs every cycle (a lot)
24         if (matrix_scan_user) {
25                 (*matrix_scan_user)();
26         }
27 };