]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboard/hhkb/hhkb.c
adds backlight levels to the satan keyboard (#431)
[qmk_firmware.git] / keyboard / hhkb / hhkb.c
1 #include "hhkb.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
17         if (matrix_init_user) {
18                 (*matrix_init_user)();
19         }
20 };
21
22 void matrix_scan_kb(void) {
23         // put your looping keyboard code here
24         // runs every cycle (a lot)
25
26         if (matrix_scan_user) {
27                 (*matrix_scan_user)();
28         }
29 };