aboutsummaryrefslogtreecommitdiff
path: root/keyboards/aleblazer/zodiark/zodiark.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/aleblazer/zodiark/zodiark.c')
-rw-r--r--keyboards/aleblazer/zodiark/zodiark.c54
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/aleblazer/zodiark/zodiark.c b/keyboards/aleblazer/zodiark/zodiark.c
new file mode 100644
index 000000000..d3893ada0
--- /dev/null
+++ b/keyboards/aleblazer/zodiark/zodiark.c
@@ -0,0 +1,54 @@
1/*
2Copyright 2021 Spencer Deven <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 3 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#include "zodiark.h"
18
19#ifdef RGB_MATRIX_ENABLE
20led_config_t g_led_config = { {
21// Key Matrix to LED Index
22 // Left Hand
23 { 5, 4, 3, 2, 1, 0, 12 },
24 { 6, 7, 8, 9, 10, 11, 13 },
25 { 19, 18, 17, 16, 15, 14, 26 },
26 { 20, 21, 22, 23, 24, 25, NO_LED },
27 { 33, 32, 31, 30, 29, 28, 27},
28 // Right Hand
29 { 39, 38, 37, 36, 35, 34, 46 },
30 { 40, 41, 42, 43, 44, 45, 47 },
31 { 53, 52, 51, 50, 49, 48, 60 },
32 { 54, 55, 56, 57, 58, 59, NO_LED },
33 { 67, 66, 65, 64, 63, 62, 61 },
34
35
36}, {
37 // LED Index to Physical Position
38 // Left Hand
39 { 93, 0 }, { 74, 0 }, { 56, 0 }, { 37, 0 }, { 19, 0 }, { 0, 0 }, { 0, 16 },
40 { 19, 16 }, { 37, 16 }, { 56, 16 }, { 74, 16 }, { 93, 16 }, { 112, 24 }, { 112, 40 },
41 { 93, 32 }, { 74, 32 }, { 56, 32 }, { 37, 32 }, { 19, 32 }, { 0, 32 }, { 0, 48 },
42 { 19, 48 }, { 37, 48 }, { 56, 48 }, { 74, 48 }, { 93, 48 }, { 112, 52 },
43 { 112, 64 }, { 93, 64 }, { 74, 64 }, { 56, 64 }, { 37, 64 }, { 19, 64 }, { 0, 64 },
44 // Right Hand
45 { 132, 0 }, { 150, 0 }, { 169, 0 }, { 187, 0 }, { 206, 0 }, { 224, 0 }, { 224, 16 },
46 { 206, 16 }, { 187, 16 }, { 169, 16 }, { 150, 16 }, { 132, 16 }, { 113, 24 }, { 113, 40 },
47 { 132, 32 }, { 150, 32 }, { 169, 32 }, { 187, 32 }, { 206, 32 }, { 224, 32 }, { 224, 48 },
48 { 206, 48 }, { 187, 48 }, { 169, 48 }, { 150, 48 }, { 132, 48 }, { 113, 52 },
49 { 113, 64 }, { 132, 64 }, { 150, 64 }, { 169, 64 }, { 187, 64 }, { 206, 64 }, { 224, 64 },
50}, {
51 // LED Index to Flag
52 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
53} };
54#endif