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 #ifdef RGBLIGHT_ENABLE
33 // JTAG disable for PORT F. write JTD bit twice within four cycles.
38 void * matrix_scan_kb(void) {
39 // put your looping keyboard code here
40 // runs every cycle (a lot)
41 if (matrix_scan_user) {
42 (*matrix_scan_user)();