1 #include "clueboard2.h"
3 #ifdef BACKLIGHT_ENABLE
8 void matrix_init_user(void) {
12 __attribute__ ((weak))
13 void matrix_scan_user(void) {
17 void matrix_init_kb(void) {
18 // put your keyboard start-up code here
19 // runs once when the firmware starts up
20 if (matrix_init_user) {
21 (*matrix_init_user)();
25 #ifdef BACKLIGHT_ENABLE
29 // JTAG disable for PORT F. write JTD bit twice within four cycles.
34 void matrix_scan_kb(void) {
35 // put your looping keyboard code here
36 // runs every cycle (a lot)
37 if (matrix_scan_user) {
38 (*matrix_scan_user)();