diff options
Diffstat (limited to 'keyboards/merge/um70/um70.c')
| -rw-r--r-- | keyboards/merge/um70/um70.c | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/keyboards/merge/um70/um70.c b/keyboards/merge/um70/um70.c new file mode 100644 index 000000000..3283e7e26 --- /dev/null +++ b/keyboards/merge/um70/um70.c | |||
| @@ -0,0 +1,77 @@ | |||
| 1 | /* Copyright 2021 duoshock | ||
| 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 | |||
| 17 | #include "um70.h" | ||
| 18 | |||
| 19 | #ifdef RGB_MATRIX_ENABLE | ||
| 20 | /* | ||
| 21 | Underglow Underglow 13,14 = split bksp, 14 = 2u bksp | ||
| 22 | 07 08 09 10 11 12 13 01 01 07 08 09 10 11 12 13 14 | ||
| 23 | 14 15 16 17 18 19 02 02 15 16 17 18 19 20 21 22 23 | ||
| 24 | 20 21 22 23 24 25 26 03 03 24 25 26 27 28 29 30 31 | ||
| 25 | 27 28 29 30 31 32 33 04 04 32 33 34 35 36 37 38 | ||
| 26 | 34 35 36 37 38 39 05 05 39 40 41 42 43 44 | ||
| 27 | 06 06 | ||
| 28 | */ | ||
| 29 | |||
| 30 | #define XX NO_LED | ||
| 31 | |||
| 32 | led_config_t g_led_config = { { | ||
| 33 | { 6, 7, 8, 9, 10, 11, 12, XX }, | ||
| 34 | { 13, 14, 15, 16, 17, 18, XX, XX }, | ||
| 35 | { 20, 21, 22, 23, 24, 25, XX, XX }, | ||
| 36 | { 27, 28, 29, 30, 31, 32, XX, XX }, | ||
| 37 | { 34, 35, 36, 37, 38, 19, 26, 33 }, | ||
| 38 | |||
| 39 | { 45, 46, 47, 48, 49, 50, 51, 52 }, | ||
| 40 | { 53, 54, 55, 56, 57, 58, 59, 60 }, | ||
| 41 | { 62, 63, 64, 65, 66, 67, 68, XX }, | ||
| 42 | { 70, 71, 72, 73, 74, 75, 76, 61 }, | ||
| 43 | { 77, 78, 79, 80, 81, 82, XX, 69 }, | ||
| 44 | }, { | ||
| 45 | { 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 }, | ||
| 46 | |||
| 47 | { 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 }, | ||
| 48 | { 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 }, | ||
| 49 | { 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 }, | ||
| 50 | { 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 }, | ||
| 51 | { 0, 64 }, { 32, 64 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 }, | ||
| 52 | |||
| 53 | { 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 }, | ||
| 54 | |||
| 55 | { 0, 0 }, { 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 }, | ||
| 56 | { 0, 16 }, { 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 }, { 223, 16 }, { 224, 16 }, | ||
| 57 | { 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 }, { 223, 32 }, | ||
| 58 | { 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 }, | ||
| 59 | { 0, 46 }, { 32, 46 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 } | ||
| 60 | |||
| 61 | }, { | ||
| 62 | 2, 2, 2, 2, 2, 2, | ||
| 63 | 4, 4, 4, 4, 4, 4, 4, | ||
| 64 | 1, 4, 4, 4, 4, 4, | ||
| 65 | 4, 1, 4, 4, 4, 4, 4, | ||
| 66 | 4, 1, 4, 4, 4, 4, 4, | ||
| 67 | 4, 1, 1, 1, 1, 1, | ||
| 68 | |||
| 69 | 2, 2, 2, 2, 2, 2, | ||
| 70 | 4, 4, 4, 4, 4, 4, 4, 1, | ||
| 71 | 4, 4, 4, 4, 4, 4, 4, 1, 4, | ||
| 72 | 4, 4, 4, 4, 4, 4, 1, 4, | ||
| 73 | 4, 4, 4, 4, 4, 1, 4, | ||
| 74 | 1, 1, 1, 4, 4, 4 | ||
| 75 | } }; | ||
| 76 | |||
| 77 | #endif \ No newline at end of file | ||
