3 #if defined (split_space)
4 const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
5 /* Refer to IS31 manual for these locations
11 {0, K_12, J_12, L_12},
12 {0, K_11, J_11, L_11},
13 {0, K_10, J_10, L_10},
24 {0, K_13, J_13, L_13},
25 {0, K_14, J_14, L_14},
27 {0, H_12, G_12, I_12},
28 {0, H_11, G_11, I_11},
29 {0, H_10, G_10, I_10},
40 {0, H_13, G_13, I_13},
41 {0, H_14, G_14, I_14},
43 {0, E_12, D_12, F_12},
44 {0, E_11, D_11, F_11},
45 {0, E_10, D_10, F_10},
56 {0, E_13, D_13, F_13},
57 {0, E_14, D_14, F_14},
59 {0, B_12, A_12, C_12},
60 {0, B_11, A_11, C_11},
61 {0, B_10, A_10, C_10},
74 led_config_t g_led_config = { {
75 { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 },
76 { 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14 },
77 { 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28 },
78 { 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42 }
80 { 223, 0 }, { 203, 0 }, { 183, 0 }, { 162, 0 }, { 142, 0 }, { 122, 0 }, { 101, 0 }, { 81, 0 }, { 61, 0 }, { 40, 0 }, { 20, 0 }, { 0, 0 },
81 { 223, 10 }, { 0, 10 }, { 223, 21 }, { 203, 21 }, { 183, 21 }, { 162, 21 }, { 142, 21 }, { 122, 21 }, { 101, 21 }, { 81, 21 }, { 61, 21 }, { 40, 21 },
82 { 20, 21 }, { 0, 21 }, { 223, 31 }, { 0, 31 }, { 223, 42 }, { 203, 42 }, { 183, 42 }, { 162, 42 }, { 142, 42 }, { 122, 42 }, { 101, 42 }, { 81, 42 },
83 { 61, 42 }, { 40, 42 }, { 20, 42 }, { 0, 42 }, { 223, 53 }, { 0, 53 }, { 223, 63 }, { 203, 63 }, { 183, 63 }, { 162, 63 }, { 142, 63 }, { 122, 63 },
84 { 101, 63 }, { 81, 63 }, { 61, 63 }, { 40, 63 }, { 20, 63 }, { 0, 63 }
86 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
87 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4,
88 4, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4,
89 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1,
94 const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
95 /* Refer to IS31 manual for these locations
101 {0, K_12, J_12, L_12},
102 {0, K_11, J_11, L_11},
103 {0, K_10, J_10, L_10},
114 {0, K_13, J_13, L_13},
115 {0, K_14, J_14, L_14},
117 {0, H_12, G_12, I_12},
118 {0, H_11, G_11, I_11},
119 {0, H_10, G_10, I_10},
130 {0, H_13, G_13, I_13},
131 {0, H_14, G_14, I_14},
133 {0, E_12, D_12, F_12},
134 {0, E_11, D_11, F_11},
135 {0, E_10, D_10, F_10},
146 {0, E_13, D_13, F_13},
147 {0, E_14, D_14, F_14},
149 {0, B_12, A_12, C_12},
150 {0, B_11, A_11, C_11},
151 {0, B_10, A_10, C_10},
154 {0, B_13, A_13, C_13},
163 led_config_t g_led_config = { {
164 { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 },
165 { 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14 },
166 { 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28 },
167 { 52, 51, 50, 49, 48, NO_LED, 47, 46, 45, 44, 43, 42 }
169 { 223, 0 }, { 203, 0 }, { 183, 0 }, { 162, 0 }, { 142, 0 }, { 122, 0 }, { 101, 0 }, { 81, 0 }, { 61, 0 }, { 40, 0 }, { 20, 0 }, { 0, 0 },
170 { 223, 10 }, { 0, 10 }, { 223, 21 }, { 203, 21 }, { 183, 21 }, { 162, 21 }, { 142, 21 }, { 122, 21 }, { 101, 21 }, { 81, 21 }, { 61, 21 }, { 40, 21 },
171 { 20, 21 }, { 0, 21 }, { 223, 31 }, { 0, 31 }, { 223, 42 }, { 203, 42 }, { 183, 42 }, { 162, 42 }, { 142, 42 }, { 122, 42 }, { 101, 42 }, { 81, 42 },
172 { 61, 42 }, { 40, 42 }, { 20, 42 }, { 0, 42 }, { 223, 53 }, { 0, 53 }, { 223, 63 }, { 203, 63 }, { 183, 63 }, { 162, 63 }, { 142, 63 }, { 111, 63 },
173 { 81, 63 }, { 61, 63 }, { 40, 63 }, { 20, 63 }, { 0, 63 }
175 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
176 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4,
177 4, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4,
178 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1,
185 void matrix_init_kb(void) {
190 void matrix_scan_kb(void) {
195 bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
196 return process_record_user(keycode, record);
200 void suspend_power_down_kb(void)
202 rgb_matrix_set_suspend_state(true);
205 void suspend_wakeup_init_kb(void)
207 rgb_matrix_set_suspend_state(false);