qmk-dactyl-manuform-a/keyboards/merge/um70/um70.c

77 lines
3.2 KiB
C
Raw Permalink Normal View History

/* Copyright 2021 duoshock
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "um70.h"
#ifdef RGB_MATRIX_ENABLE
/*
Underglow Underglow 13,14 = split bksp, 14 = 2u bksp
07 08 09 10 11 12 13 01 01 07 08 09 10 11 12 13 14
14 15 16 17 18 19 02 02 15 16 17 18 19 20 21 22 23
20 21 22 23 24 25 26 03 03 24 25 26 27 28 29 30 31
27 28 29 30 31 32 33 04 04 32 33 34 35 36 37 38
34 35 36 37 38 39 05 05 39 40 41 42 43 44
06 06
*/
#define XX NO_LED
led_config_t g_led_config = { {
{ 6, 7, 8, 9, 10, 11, 12, XX },
{ 13, 14, 15, 16, 17, 18, XX, XX },
{ 20, 21, 22, 23, 24, 25, XX, XX },
{ 27, 28, 29, 30, 31, 32, XX, XX },
{ 34, 35, 36, 37, 38, 19, 26, 33 },
{ 45, 46, 47, 48, 49, 50, 51, 52 },
{ 53, 54, 55, 56, 57, 58, 59, 60 },
{ 62, 63, 64, 65, 66, 67, 68, XX },
{ 70, 71, 72, 73, 74, 75, 76, 61 },
{ 77, 78, 79, 80, 81, 82, XX, 69 },
}, {
{ 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 },
{ 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 },
{ 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 },
{ 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 },
{ 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 },
{ 0, 64 }, { 32, 64 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 },
{ 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 },
{ 0, 0 }, { 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 },
{ 0, 16 }, { 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 }, { 223, 16 }, { 224, 16 },
{ 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 }, { 223, 32 },
{ 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 },
{ 0, 46 }, { 32, 46 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 }
}, {
2, 2, 2, 2, 2, 2,
4, 4, 4, 4, 4, 4, 4,
1, 4, 4, 4, 4, 4,
4, 1, 4, 4, 4, 4, 4,
4, 1, 4, 4, 4, 4, 4,
4, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2,
4, 4, 4, 4, 4, 4, 4, 1,
4, 4, 4, 4, 4, 4, 4, 1, 4,
4, 4, 4, 4, 4, 4, 1, 4,
4, 4, 4, 4, 4, 1, 4,
1, 1, 1, 4, 4, 4
} };
#endif