diff options
author | TW59420 <40019210+TW59420@users.noreply.github.com> | 2022-02-21 14:01:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-20 22:01:31 -0800 |
commit | f7b5d67a7bfc5cbcf7e71ad5a203b34961cfc352 (patch) | |
tree | a48928e8b84c27a7e3713aaebbba6ea6fb39014d /keyboards/mwstudio/mw75r2/mw75r2.c | |
parent | 65af7272f34148d8ea8e2b75e4e463fcb607e6f2 (diff) | |
download | qmk_firmware-f7b5d67a7bfc5cbcf7e71ad5a203b34961cfc352.tar.gz qmk_firmware-f7b5d67a7bfc5cbcf7e71ad5a203b34961cfc352.zip |
[Keyboard] Add MW75R2 PCB (#15042)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/mwstudio/mw75r2/mw75r2.c')
-rw-r--r-- | keyboards/mwstudio/mw75r2/mw75r2.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/mwstudio/mw75r2/mw75r2.c b/keyboards/mwstudio/mw75r2/mw75r2.c new file mode 100644 index 000000000..0aa387467 --- /dev/null +++ b/keyboards/mwstudio/mw75r2/mw75r2.c | |||
@@ -0,0 +1,28 @@ | |||
1 | /* Copyright 2021 TW59420 <https://github.com/TW59420> | ||
2 | * | ||
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 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
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/>. | ||
15 | */ | ||
16 | #include "mw75r2.h" | ||
17 | |||
18 | #ifdef RGB_MATRIX_ENABLE | ||
19 | led_config_t g_led_config = { { | ||
20 | { 0, 1, 2, 3, 4, 5, 6, 7 }, | ||
21 | { 8, 9, 10, 11, 12, 13, 14, 15 }, | ||
22 | { 16, 17, 18, 19, 20 } | ||
23 | }, { | ||
24 | { 105, 60 }, { 70, 60 }, { 35, 60 }, { 0, 60 }, { 0, 40 }, { 0, 20 }, { 0, 0 }, { 42, 0 }, { 84, 0 }, { 126, 0 }, { 168, 0 }, { 210, 0 }, { 210, 20 }, { 210, 40 }, { 40, 20 }, { 120, 20 }, { 40, 40 }, { 120, 40 }, { 210, 60 }, { 175, 60 },{ 140, 60 } | ||
25 | }, { | ||
26 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | ||
27 | } }; | ||
28 | #endif | ||