aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mt84/mt84.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mt84/mt84.c')
-rw-r--r--keyboards/mt84/mt84.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/keyboards/mt84/mt84.c b/keyboards/mt84/mt84.c
index d9f509e14..e15a1ff95 100644
--- a/keyboards/mt84/mt84.c
+++ b/keyboards/mt84/mt84.c
@@ -1,22 +1,22 @@
1 /* Copyright 2020 MT<704340378@qq.com> 1 /* Copyright 2020 MT<704340378@qq.com>
2 * 2 *
3 * This program is free software: you can redistribute it and/or modify 3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or 5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version. 6 * (at your option) any later version.
7 * 7 *
8 * This program is distributed in the hope that it will be useful, 8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details. 11 * GNU General Public License for more details.
12 * 12 *
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "mt84.h" 16#include "mt84.h"
17 17
18#ifdef RGB_MATRIX_ENABLE 18#ifdef RGB_MATRIX_ENABLE
19const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { 19const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
20 /* Refer to IS31 manual for these locations 20 /* Refer to IS31 manual for these locations
21 * driver 21 * driver
22 * | R location 22 * | R location
@@ -40,7 +40,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
40 {1, D_12, E_12, F_12}, 40 {1, D_12, E_12, F_12},
41 {1, G_12, H_12, I_12}, 41 {1, G_12, H_12, I_12},
42 {1, J_12, K_12, L_12}, 42 {1, J_12, K_12, L_12},
43 43
44 {0, A_1, B_1, C_1}, 44 {0, A_1, B_1, C_1},
45 {0, D_1, E_1, F_1}, 45 {0, D_1, E_1, F_1},
46 {0, G_1, H_1, I_1}, 46 {0, G_1, H_1, I_1},
@@ -72,7 +72,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
72 {1, A_7, B_7, C_7}, 72 {1, A_7, B_7, C_7},
73 {1, D_7, E_7, F_7}, 73 {1, D_7, E_7, F_7},
74 {1, G_7, H_7, I_7}, 74 {1, G_7, H_7, I_7},
75 75
76 {0, A_3, B_3, C_3}, 76 {0, A_3, B_3, C_3},
77 {0, D_3, E_3, F_3}, 77 {0, D_3, E_3, F_3},
78 {0, G_3, H_3, I_3}, 78 {0, G_3, H_3, I_3},
@@ -87,7 +87,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
87 {1, J_3, K_3, L_3}, 87 {1, J_3, K_3, L_3},
88 {1, A_8, B_8, C_8}, 88 {1, A_8, B_8, C_8},
89 {1, G_8, H_8, I_8}, 89 {1, G_8, H_8, I_8},
90 90
91 {0, A_4, B_4, C_4}, 91 {0, A_4, B_4, C_4},
92 {0, D_4, E_4, F_4}, 92 {0, D_4, E_4, F_4},
93 {0, G_4, H_4, I_4}, 93 {0, G_4, H_4, I_4},
@@ -130,7 +130,7 @@ led_config_t g_led_config = {{
130 { 9, 52 }, { 27, 52 }, { 43, 52 }, { 59, 52 }, { 75, 52 }, { 91, 52 }, { 107, 52 }, { 123, 52 }, { 139, 52 }, { 155, 52 }, { 171, 52 }, { 187, 52 }, { 212, 52 }, { 224, 52 }, 130 { 9, 52 }, { 27, 52 }, { 43, 52 }, { 59, 52 }, { 75, 52 }, { 91, 52 }, { 107, 52 }, { 123, 52 }, { 139, 52 }, { 155, 52 }, { 171, 52 }, { 187, 52 }, { 212, 52 }, { 224, 52 },
131{ 2, 64 }, { 18, 64 }, { 33, 64 }, { 93, 64 }, { 150, 64 }, { 165, 64 }, { 180, 64 }, { 195, 64 }, { 210, 64 }, { 224, 64 } 131{ 2, 64 }, { 18, 64 }, { 33, 64 }, { 93, 64 }, { 150, 64 }, { 165, 64 }, { 180, 64 }, { 195, 64 }, { 210, 64 }, { 224, 64 }
132}, { 132}, {
133 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 133 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
134 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 134 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
135 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 135 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
136 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 136 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,