4 #include "config_led.h"
7 #include "i2c_master.h"
8 #include "led_matrix.h" //For led keycodes
9 #include "usb/udi_cdc.h"
10 #include "usb/usb2422.h"
13 K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13, K14, K15, \
14 K16, K17, K18, K19, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K30, \
15 K31, K32, K33, K34, K35, K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, \
16 K46, K47, K48, K49, K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K60, \
17 K61, K62, K63, K64, K65, K66, K67, K68, K69, K70, K71, K72, K73, K74, K75, \
18 K76, K77, K78, K79, K80, K81, K82, K83, K84, K85, K86, K87 \
21 { K01, K02, K03, K04, K05, K06, K07, K08 }, \
22 { K17, K18, K19, K20, K21, K22, K23, K24 }, \
23 { K34, K35, K36, K37, K38, K39, K40, K41 }, \
24 { K51, K52, K53, K54, K55, K56, K57, K58 }, \
25 { K64, K65, K66, K67, K68, K69, K70, K71 }, \
26 { K77, K78, K79, K80, K81, K82, K83, K84 }, \
27 { K09, K10, K11, K12, K13, K14, K15, K16 }, \
28 { K25, K26, K27, K28, K29, K30, K31, K32 }, \
29 { K42, K43, K44, K45, K46, K47, K48, K49 }, \
30 { K59, K60, K61, K62, K63, K76, K50, K33 }, \
31 { K72, K73, K74, K75, K85, K86, K87, }, \
34 #define TOGGLE_FLAG_AND_PRINT(var, name) { \
36 dprintf(name " disabled\r\n"); \
40 dprintf(name " enabled\r\n"); \