diff options
author | QMK Bot <hello@qmk.fm> | 2021-10-04 05:35:33 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-10-04 05:35:33 +0000 |
commit | 8f3ea25ddac4fcca35e74330938a701e29da3e92 (patch) | |
tree | 5e1425242237581f423e4d6e27b48381bae7c1d4 /keyboards/keebio/iris/rev6/rev6.c | |
parent | d785282df7c60f6fa564f8607d304bd4af6cb344 (diff) | |
parent | f72b2ad720b5b61a6e49b12a9375b97046ed5d8e (diff) | |
download | qmk_firmware-8f3ea25ddac4fcca35e74330938a701e29da3e92.tar.gz qmk_firmware-8f3ea25ddac4fcca35e74330938a701e29da3e92.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keebio/iris/rev6/rev6.c')
-rw-r--r-- | keyboards/keebio/iris/rev6/rev6.c | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/keyboards/keebio/iris/rev6/rev6.c b/keyboards/keebio/iris/rev6/rev6.c new file mode 100644 index 000000000..ff9f9d25a --- /dev/null +++ b/keyboards/keebio/iris/rev6/rev6.c | |||
@@ -0,0 +1,65 @@ | |||
1 | /* | ||
2 | Copyright 2021 Danny Nguyen <danny@keeb.io> | ||
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 | ||
5 | the Free Software Foundation, either version 2 of the License, or | ||
6 | (at your option) any later version. | ||
7 | This program is distributed in the hope that it will be useful, | ||
8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | GNU General Public License for more details. | ||
11 | You should have received a copy of the GNU General Public License | ||
12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
13 | */ | ||
14 | #include "rev6.h" | ||
15 | |||
16 | #ifdef RGB_MATRIX_ENABLE | ||
17 | led_config_t g_led_config = { { | ||
18 | // Key Matrix to LED Index | ||
19 | // Left Half | ||
20 | { 0, 1, 2, 3, 4, 5 }, | ||
21 | { 11, 10, 9, 8, 7, 6 }, | ||
22 | { 12, 13, 14, 15, 16, 17 }, | ||
23 | { 23, 22, 21, 20, 19, 18 }, | ||
24 | { NO_LED, NO_LED, 24, 25, 26, 27 }, | ||
25 | // Right Half | ||
26 | { 34, 35, 36, 37, 38, 39 }, | ||
27 | { 45, 44, 43, 42, 41, 40 }, | ||
28 | { 46, 47, 48, 49, 50, 51 }, | ||
29 | { 57, 56, 55, 54, 53, 52 }, | ||
30 | { NO_LED, NO_LED, 58, 59, 60, 61 } | ||
31 | }, { | ||
32 | // LED Index to Physical Position | ||
33 | // Left Half | ||
34 | { 0, 5 }, { 16, 5 }, { 32, 2 }, { 48, 0 }, { 64, 2 }, { 80, 3 }, | ||
35 | { 80, 17 }, { 64, 15 }, { 48, 13 }, { 32, 15 }, { 16, 18 }, { 0, 18 }, | ||
36 | { 0, 32 }, { 16, 32 }, { 32, 28 }, { 48, 27 }, { 64, 28 }, { 80, 30 }, | ||
37 | { 80, 43 }, { 64, 42 }, { 48, 40 }, { 32, 42 }, { 16, 45 }, { 0, 45 }, | ||
38 | { 56, 47 }, { 72, 58 }, { 90, 64 }, { 98, 52 }, | ||
39 | { 80, 58 }, { 40, 50 }, { 8, 43 }, { 8, 5 }, { 40, 1 }, { 72, 3 }, | ||
40 | // Right Half | ||
41 | { 224, 5 }, { 208, 5 }, { 192, 2 }, { 176, 0 }, { 160, 2 }, { 144, 3 }, | ||
42 | { 144, 18 }, { 160, 18 }, { 176, 15 }, { 192, 13 }, { 208, 15 }, { 244, 17 }, | ||
43 | { 224, 32 }, { 208, 32 }, { 192, 28 }, { 176, 27 }, { 160, 28 }, { 144, 30 }, | ||
44 | { 144, 45 }, { 160, 45 }, { 176, 42 }, { 192, 40 }, { 208, 42 }, { 244, 43 }, | ||
45 | { 168, 47 }, { 152, 58 }, { 134, 64 }, { 126, 52 }, | ||
46 | { 144, 58 }, { 184, 50 }, { 216, 43 }, { 216, 5 }, { 184, 1 }, { 152, 3 } | ||
47 | }, { | ||
48 | // LED Index to Flag | ||
49 | // Left Half | ||
50 | 4, 4, 4, 4, 4, 4, | ||
51 | 4, 4, 4, 4, 4, 4, | ||
52 | 4, 4, 4, 4, 4, 4, | ||
53 | 4, 4, 4, 4, 4, 4, | ||
54 | 4, 4, 4, 4, | ||
55 | 2, 2, 2, 2, 2, 2, | ||
56 | // Right Half | ||
57 | 4, 4, 4, 4, 4, 4, | ||
58 | 4, 4, 4, 4, 4, 4, | ||
59 | 4, 4, 4, 4, 4, 4, | ||
60 | 4, 4, 4, 4, 4, 4, | ||
61 | 4, 4, 4, 4, | ||
62 | 2, 2, 2, 2, 2, 2 | ||
63 | |||
64 | } }; | ||
65 | #endif | ||