Migrate g_led_config to DD (S) (#25624)
This commit is contained in:
parent
6c96bb5a5a
commit
8f22831f01
28 changed files with 672 additions and 538 deletions
|
|
@ -1,34 +0,0 @@
|
|||
/* Copyright 2021 s-ol
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
// indices
|
||||
{ 0, 6, KC_NO, KC_NO },
|
||||
{ 1, 5, 7, KC_NO },
|
||||
{ 2, 4, 8, 11 },
|
||||
{ KC_NO, 3, 9, 10 }
|
||||
}, {
|
||||
// phys position
|
||||
{ 96, 110}, { 80, 83}, { 64, 55}, { 80, 28},
|
||||
{ 96, 55}, {112, 83}, {128, 110}, {144, 83},
|
||||
{128, 55}, {112, 28}, {144, 28}, {160, 55}
|
||||
}, {
|
||||
// flags
|
||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
|
||||
} };
|
||||
#endif
|
||||
|
|
@ -39,8 +39,21 @@
|
|||
"solid_reactive": true,
|
||||
"splash": true
|
||||
},
|
||||
"center_point": [112, 63],
|
||||
"driver": "ws2812"
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 74, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 148, "y": 0, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 37, "y": 21, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 111, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 185, "y": 21, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 0, "y": 42, "flags": 4},
|
||||
{"matrix": [0, 1], "x": 74, "y": 42, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 148, "y": 42, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 224, "y": 42, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 37, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 111, "y": 64, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 185, "y": 64, "flags": 4}
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,57 @@
|
|||
}
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812"
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 0, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 0, "y": 43, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 17, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 34, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 52, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 69, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 86, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 103, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 121, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 138, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 155, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 172, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 190, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 11], "x": 207, "y": 64, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 224, "y": 43, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 224, "y": 21, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 224, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 10], "x": 207, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 207, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 207, "y": 43, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 190, "y": 43, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 190, "y": 21, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 190, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 172, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 172, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 172, "y": 43, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 155, "y": 43, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 155, "y": 21, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 155, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 138, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 138, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 138, "y": 43, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 86, "y": 43, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 86, "y": 21, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 86, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 69, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 69, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 69, "y": 43, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 52, "y": 43, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 52, "y": 21, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 52, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 34, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 34, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 34, "y": 43, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 17, "y": 43, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 17, "y": 21, "flags": 4},
|
||||
{"matrix": [0, 1], "x": 17, "y": 0, "flags": 4}
|
||||
]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D7", "E6", "B4", "B5"],
|
||||
|
|
|
|||
|
|
@ -1,42 +0,0 @@
|
|||
/*
|
||||
Copyright 2021 Salicylic_Acid
|
||||
|
||||
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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{ 0,47,42,41,36,35,30,29,24,23,18,17 },
|
||||
{ 1,46,43,40,37,34,31,28,25,22,19,16 },
|
||||
{ 2,45,44,39,38,33,32,27,26,21,20,15 },
|
||||
{ 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14 }
|
||||
}, {
|
||||
// LED Index to Physical Position
|
||||
{ 0, 0 }, { 0, 21 }, { 0, 43 }, { 17, 64 }, { 34, 64 },{ 52, 64 }, { 69, 64 }, { 86, 64 }, { 103, 64 }, { 121, 64 },
|
||||
{ 138, 64 }, { 155, 64 }, { 172, 64 }, { 190, 64 }, { 207, 64 },{ 224, 43 }, { 224, 21 }, { 224, 0 }, { 207, 0 }, { 207, 21 },
|
||||
{ 207, 43 }, { 190, 43 }, { 190, 21 }, { 190, 0 }, { 172, 0 },{ 172, 21 }, { 172, 43 }, { 155, 43 }, { 155, 21 }, { 155, 0 },
|
||||
{ 138, 0 }, { 138, 21 }, { 138, 43 }, { 86, 43 }, { 86, 21 },{ 86, 0 }, { 69, 0 }, { 69, 21 }, { 69, 43 }, { 52, 43 },
|
||||
{ 52, 21 }, { 52, 0 }, { 34, 0 }, { 34, 21 }, { 34, 43 },{ 17, 43 }, { 17, 21 }, { 17, 0 }
|
||||
}, {
|
||||
// LED Index to Flag
|
||||
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
|
||||
} };
|
||||
#endif
|
||||
|
|
@ -56,6 +56,14 @@
|
|||
"animation": "solid_reactive_simple"
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 112, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 2], "x": 224, "y": 0, "flags": 1},
|
||||
{"matrix": [1, 2], "x": 224, "y": 64, "flags": 1},
|
||||
{"matrix": [1, 1], "x": 112, "y": 64, "flags": 1},
|
||||
{"matrix": [1, 0], "x": 0, "y": 64, "flags": 1}
|
||||
],
|
||||
"max_brightness": 200,
|
||||
"react_on_keyup": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
/* Copyright 2021 SawnsProjects
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
//Key Matrix to LED Indexccxxz
|
||||
{0, 1, 2},
|
||||
{5, 4, 3}
|
||||
}, {
|
||||
//LED Index to Physical Positon
|
||||
{0, 0}, {112, 0}, {224, 0},
|
||||
{224, 64}, {112, 64}, {0, 64},
|
||||
}, {
|
||||
1, 1, 1,
|
||||
1, 1, 1,
|
||||
} };
|
||||
#endif
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
/* Copyright 2022 kb-elmo<mail@elmo.space>
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#define __ NO_LED
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
//Key Matrix to LED Index
|
||||
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 },
|
||||
{ 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14 },
|
||||
{ 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, __ },
|
||||
{ 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, __ },
|
||||
{ 54, 55, 56, __, __, __, 57, __, __, __, 58, 59, 60, 61 }
|
||||
}, {
|
||||
//LED Index to Physical Positon
|
||||
{ 0, 0 }, { 17, 0 }, { 34, 0 }, { 52, 0 }, { 69, 0 }, { 86, 0 }, { 103, 0 }, { 121, 0 }, { 138, 0 }, { 155, 0 }, { 172, 0 }, { 190, 0 }, { 207, 0 }, { 215, 0 },
|
||||
{ 224, 24 }, { 215, 16 }, { 198, 16 }, { 180, 16 }, { 164, 16 }, { 146, 16 }, { 129, 16 }, { 112, 16 }, { 95, 16 }, { 78, 16 }, { 60, 16 }, { 43, 16 }, { 26 , 16 }, { 0, 16 },
|
||||
{ 0, 32 }, { 30, 32 }, { 47, 32 }, { 65, 32 }, { 81, 32 }, { 99, 32 }, { 116, 32 }, { 133, 32 }, { 150, 32 }, { 168, 32 }, { 185, 32 }, { 202, 32 }, { 220, 32 },
|
||||
{ 207, 48 }, { 190, 48 }, { 172, 48 }, { 155, 48 }, { 138, 48 }, { 121, 48 }, { 103, 48 }, { 86, 48 }, { 69, 48 }, { 52, 48 }, { 34, 48 }, { 17, 48 }, { 0, 48 },
|
||||
{ 0, 64 }, { 17, 64 }, { 34, 64 }, { 103, 64 }, { 172, 64 }, { 190, 64 }, { 207, 64 }, { 224, 64 }
|
||||
}, {
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 1, 1, 4, 1, 1, 1, 1
|
||||
} };
|
||||
#endif
|
||||
|
|
@ -36,6 +36,70 @@
|
|||
"animation": "cycle_all"
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 17, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 34, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 52, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 69, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 86, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 103, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 121, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 138, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 155, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 10], "x": 172, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 190, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 207, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 13], "x": 215, "y": 0, "flags": 1},
|
||||
{"matrix": [1, 13], "x": 224, "y": 24, "flags": 1},
|
||||
{"matrix": [1, 12], "x": 215, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 198, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 180, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 164, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 146, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 129, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 112, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 95, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 78, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 60, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 43, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 26, "y": 16, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 0, "y": 16, "flags": 1},
|
||||
{"matrix": [2, 0], "x": 0, "y": 32, "flags": 1},
|
||||
{"matrix": [2, 1], "x": 30, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 47, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 65, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 81, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 99, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 116, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 133, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 150, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 168, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 185, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 202, "y": 32, "flags": 4},
|
||||
{"matrix": [2, 12], "x": 220, "y": 32, "flags": 4},
|
||||
{"matrix": [3, 12], "x": 207, "y": 48, "flags": 1},
|
||||
{"matrix": [3, 11], "x": 190, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 172, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 155, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 138, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 121, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 103, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 86, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 69, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 52, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 34, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 17, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 0, "y": 48, "flags": 1},
|
||||
{"matrix": [4, 0], "x": 0, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 1], "x": 17, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 2], "x": 34, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 6], "x": 103, "y": 64, "flags": 4},
|
||||
{"matrix": [4, 10], "x": 172, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 11], "x": 190, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 12], "x": 207, "y": 64, "flags": 1},
|
||||
{"matrix": [4, 13], "x": 224, "y": 64, "flags": 1}
|
||||
],
|
||||
"max_brightness": 160,
|
||||
"sleep": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -30,6 +30,60 @@
|
|||
"animation": "typing_heatmap"
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 3], "x": 139, "y": 16, "flags": 2},
|
||||
{"matrix": [0, 4], "x": 174, "y": 13, "flags": 2},
|
||||
{"matrix": [0, 5], "x": 208, "y": 20, "flags": 2},
|
||||
{"matrix": [1, 5], "x": 208, "y": 38, "flags": 2},
|
||||
{"matrix": [1, 4], "x": 174, "y": 48, "flags": 2},
|
||||
{"matrix": [1, 3], "x": 139, "y": 52, "flags": 2},
|
||||
{"matrix": [0, 2], "x": 129, "y": 63, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 139, "y": 39, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 139, "y": 21, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 139, "y": 4, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 156, "y": 2, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 156, "y": 19, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 156, "y": 37, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 144, "y": 58, "flags": 1},
|
||||
{"matrix": [3, 3], "x": 164, "y": 55, "flags": 1},
|
||||
{"matrix": [3, 2], "x": 174, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 174, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 174, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 0], "x": 191, "y": 3, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 191, "y": 20, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 191, "y": 37, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 208, "y": 42, "flags": 4},
|
||||
{"x": 208, "y": 24, "flags": 4},
|
||||
{"x": 208, "y": 7, "flags": 4},
|
||||
{"x": 224, "y": 7, "flags": 1},
|
||||
{"x": 224, "y": 24, "flags": 1},
|
||||
{"x": 224, "y": 41, "flags": 1},
|
||||
{"x": 85, "y": 16, "flags": 2},
|
||||
{"x": 50, "y": 13, "flags": 2},
|
||||
{"x": 16, "y": 20, "flags": 2},
|
||||
{"x": 16, "y": 38, "flags": 2},
|
||||
{"x": 50, "y": 48, "flags": 2},
|
||||
{"x": 85, "y": 52, "flags": 2},
|
||||
{"x": 95, "y": 63, "flags": 1},
|
||||
{"x": 85, "y": 39, "flags": 4},
|
||||
{"x": 85, "y": 21, "flags": 4},
|
||||
{"x": 85, "y": 4, "flags": 4},
|
||||
{"x": 68, "y": 2, "flags": 4},
|
||||
{"x": 68, "y": 19, "flags": 4},
|
||||
{"x": 68, "y": 37, "flags": 4},
|
||||
{"x": 80, "y": 58, "flags": 1},
|
||||
{"x": 60, "y": 55, "flags": 1},
|
||||
{"x": 50, "y": 35, "flags": 4},
|
||||
{"x": 50, "y": 13, "flags": 4},
|
||||
{"x": 50, "y": 0, "flags": 4},
|
||||
{"x": 33, "y": 3, "flags": 4},
|
||||
{"x": 33, "y": 20, "flags": 4},
|
||||
{"x": 33, "y": 37, "flags": 4},
|
||||
{"x": 16, "y": 42, "flags": 4},
|
||||
{"x": 16, "y": 24, "flags": 4},
|
||||
{"x": 16, "y": 7, "flags": 4},
|
||||
{"x": 0, "y": 7, "flags": 1}
|
||||
],
|
||||
"max_brightness": 150,
|
||||
"sat_steps": 8,
|
||||
"val_steps": 8,
|
||||
|
|
|
|||
|
|
@ -1,45 +0,0 @@
|
|||
/* Copyright 2019 SwanMatch
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{ 18, 7, 6, 0, 1, 2},
|
||||
{ 19, 17, 8, 5, 4, 3},
|
||||
{ 21, 20, 16, 9, 10, 11},
|
||||
{ NO_LED, NO_LED, 15, 14, 13, 12},
|
||||
}, {
|
||||
{ 139, 16 }, { 174, 13 }, { 208, 20 }, { 208, 38 }, { 174, 48 }, { 139, 52 }, { 129, 63 },
|
||||
{ 139, 39 }, { 139, 21 }, { 139, 4 }, { 156, 2 }, { 156, 19 }, { 156, 37 }, { 144, 58 },
|
||||
{ 164, 55 }, { 174, 35 }, { 174, 13 }, { 174, 0 }, { 191, 3 }, { 191, 20 }, { 191, 37 },
|
||||
{ 208, 42 }, { 208, 24 }, { 208, 7 }, { 224, 7 }, { 224, 24 }, { 224, 41 }, { 85, 16 },
|
||||
{ 50, 13 }, { 16, 20 }, { 16, 38 }, { 50, 48 }, { 85, 52 }, { 95, 63 }, { 85, 39 },
|
||||
{ 85, 21 }, { 85, 4 }, { 68, 2 }, { 68, 19 }, { 68, 37 }, { 80, 58 }, { 60, 55 },
|
||||
{ 50, 35 }, { 50, 13 }, { 50, 0 }, { 33, 3 }, { 33, 20 }, { 33, 37 }, { 16, 42 },
|
||||
{ 16, 24 }, { 16, 7 }, { 0, 7 }
|
||||
}, {
|
||||
2, 2, 2, 2, 2, 2, 1,
|
||||
4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4,
|
||||
4, 4, 4, 1, 1, 1, 2,
|
||||
2, 2, 2, 2, 2, 1, 4,
|
||||
4, 4, 4, 4, 4, 1, 1,
|
||||
4, 4, 4, 4, 4, 4, 4,
|
||||
4, 4, 1
|
||||
} };
|
||||
|
||||
#endif
|
||||
|
|
@ -44,6 +44,14 @@
|
|||
"solid_reactive": true
|
||||
},
|
||||
"driver": "is31fl3731",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 1], "x": 112, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 224, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 0, "y": 64, "flags": 1},
|
||||
{"matrix": [1, 1], "x": 112, "y": 64, "flags": 1},
|
||||
{"matrix": [1, 2], "x": 224, "y": 64, "flags": 4}
|
||||
],
|
||||
"sleep": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
|||
|
|
@ -31,19 +31,4 @@ const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
|
|||
{0, C1_12, C2_12, C3_12}, // BL5
|
||||
{0, C1_13, C2_13, C3_13}, // BL6
|
||||
};
|
||||
|
||||
led_config_t g_led_config = {
|
||||
{
|
||||
{ 0, 1, 2},
|
||||
{ 3, 4, 5},
|
||||
},
|
||||
{
|
||||
{ 48, 32},{ 48, 48},{ 64, 48},
|
||||
{ 80, 16},{ 64, 32},{ 80, 32}
|
||||
},
|
||||
{
|
||||
4, 4, 4,
|
||||
1, 1, 4
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,36 +0,0 @@
|
|||
/* Copyright 2021 Mike Tsao
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 },
|
||||
{ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 },
|
||||
{ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, NO_LED, NO_LED, NO_LED },
|
||||
{ 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, NO_LED, NO_LED, NO_LED },
|
||||
{ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }
|
||||
}, {
|
||||
// LED Index to Physical Position
|
||||
{0, 0}, {12, 0}, {25, 0}, {38, 0}, {51, 0}, {64, 0}, {77, 0}, {90, 0}, {103, 0}, {116, 0}, {129, 0}, {142, 0}, {155, 0}, {175, 0}, {198, 0}, {211, 0}, {3, 12}, {19, 12}, {32, 12}, {45, 12}, {58, 12}, {71, 12}, {84, 12}, {97, 12}, {110, 12}, {123, 12}, {136, 12}, {149, 12}, {162, 12}, {178, 12}, {198, 12}, {211, 12}, {4, 25}, {22, 25}, {35, 25}, {48, 25}, {61, 25}, {74, 25}, {87, 25}, {100, 25}, {113, 25}, {126, 25}, {139, 25}, {152, 25}, {173, 25}, {8, 38}, {29, 38}, {42, 38}, {55, 38}, {68, 38}, {81, 38}, {94, 38}, {107, 38}, {120, 38}, {133, 38}, {146, 38}, {170, 38}, {198, 38}, {1, 51}, {17, 51}, {34, 51}, {82, 51}, {131, 51}, {147, 51}, {163, 51}, {185, 51}, {198, 51}, {211, 51}
|
||||
}, {
|
||||
// LED Index to Flag
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT
|
||||
}
|
||||
};
|
||||
|
||||
#endif // #ifdef RGB_MATRIX_ENABLE
|
||||
|
|
@ -58,6 +58,76 @@
|
|||
"solid_multisplash": true
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 1], "x": 12, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 25, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 38, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 51, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 64, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 77, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 90, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 103, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 116, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 10], "x": 129, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 142, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 155, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 13], "x": 175, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 14], "x": 198, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 15], "x": 211, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 3, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 19, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 32, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 45, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 58, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 71, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 84, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 97, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 110, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 123, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 136, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 149, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 162, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 13], "x": 178, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 14], "x": 198, "y": 12, "flags": 4},
|
||||
{"matrix": [1, 15], "x": 211, "y": 12, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 4, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 22, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 35, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 48, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 61, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 74, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 87, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 100, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 113, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 126, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 139, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 152, "y": 25, "flags": 4},
|
||||
{"matrix": [2, 12], "x": 173, "y": 25, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 8, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 29, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 42, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 55, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 68, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 81, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 94, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 107, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 120, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 133, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 146, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 11], "x": 170, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 12], "x": 198, "y": 38, "flags": 4},
|
||||
{"matrix": [4, 0], "x": 1, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 1], "x": 17, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 2], "x": 34, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 3], "x": 82, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 4], "x": 131, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 5], "x": 147, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 6], "x": 163, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 7], "x": 185, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 8], "x": 198, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 9], "x": 211, "y": 51, "flags": 4}
|
||||
],
|
||||
"max_brightness": 128,
|
||||
"sleep": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,50 +0,0 @@
|
|||
/* Copyright 2021 Mike Tsao
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = {{
|
||||
// Key Matrix to LED Index
|
||||
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, NO_LED},
|
||||
{16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32},
|
||||
{33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49},
|
||||
{50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, NO_LED, NO_LED, NO_LED, NO_LED},
|
||||
{63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, NO_LED, NO_LED, NO_LED, NO_LED},
|
||||
{76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED}
|
||||
},
|
||||
{// LED Index to Physical Position
|
||||
{0, 0}, {24, 0}, {36, 0}, {49, 0}, {61, 0}, {79, 0}, {92, 0}, {104, 0}, {116, 0}, {135, 0}, {147, 0}, {159, 0}, {171, 0}, {187, 0}, {199, 0}, {211, 0},
|
||||
{0, 14}, {12, 14}, {24, 14}, {36, 14}, {49, 14}, {61, 14}, {73, 14}, {85, 14}, {98, 14}, {110, 14}, {122, 14}, {135, 14}, {147, 14}, {165, 14}, {187, 14}, {199, 14}, {211, 14},
|
||||
{3, 24}, {18, 24}, {30, 24}, {42, 24}, {55, 24}, {67, 24}, {79, 24}, {92, 24}, {104, 24}, {116, 24}, {128, 24}, {141, 24}, {153, 24}, {168, 24}, {187, 24}, {199, 24}, {211, 24},
|
||||
{4, 34}, {21, 34}, {33, 34}, {46, 34}, {58, 34}, {70, 34}, {82, 34}, {95, 34}, {107, 34}, {119, 34}, {131, 34}, {144, 34}, {164, 34},
|
||||
{7, 44}, {27, 44}, {39, 44}, {52, 44}, {64, 44}, {76, 44}, {88, 44}, {101, 44}, {113, 44}, {125, 44}, {138, 44}, {161, 44}, {199, 44},
|
||||
{1, 54}, {16, 54}, {32, 54}, {78, 54}, {124, 54}, {139, 54}, {154, 54}, {170, 54}, {187, 54}, {199, 54}, {211, 54}},
|
||||
{// LED Index to Flag
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT,
|
||||
LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT, LED_FLAG_KEYLIGHT
|
||||
}
|
||||
};
|
||||
|
||||
#endif // #ifdef RGB_MATRIX_ENABLE
|
||||
|
|
@ -58,6 +58,95 @@
|
|||
"solid_multisplash": true
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 1], "x": 24, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 36, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 49, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 61, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 79, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 92, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 104, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 116, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 135, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 10], "x": 147, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 159, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 171, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 13], "x": 187, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 14], "x": 199, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 15], "x": 211, "y": 0, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 0, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 12, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 24, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 36, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 49, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 61, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 73, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 85, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 98, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 110, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 122, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 135, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 147, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 13], "x": 165, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 14], "x": 187, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 15], "x": 199, "y": 14, "flags": 4},
|
||||
{"matrix": [1, 16], "x": 211, "y": 14, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 3, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 18, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 30, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 42, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 55, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 67, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 79, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 92, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 104, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 116, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 128, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 141, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 12], "x": 153, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 13], "x": 168, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 14], "x": 187, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 15], "x": 199, "y": 24, "flags": 4},
|
||||
{"matrix": [2, 16], "x": 211, "y": 24, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 4, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 21, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 33, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 46, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 58, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 70, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 82, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 95, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 107, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 119, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 131, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 11], "x": 144, "y": 34, "flags": 4},
|
||||
{"matrix": [3, 12], "x": 164, "y": 34, "flags": 4},
|
||||
{"matrix": [4, 0], "x": 7, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 1], "x": 27, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 2], "x": 39, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 3], "x": 52, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 4], "x": 64, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 5], "x": 76, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 6], "x": 88, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 7], "x": 101, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 8], "x": 113, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 9], "x": 125, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 10], "x": 138, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 11], "x": 161, "y": 44, "flags": 4},
|
||||
{"matrix": [4, 12], "x": 199, "y": 44, "flags": 4},
|
||||
{"matrix": [5, 0], "x": 1, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 1], "x": 16, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 2], "x": 32, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 3], "x": 78, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 4], "x": 124, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 5], "x": 139, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 6], "x": 154, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 7], "x": 170, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 8], "x": 187, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 9], "x": 199, "y": 54, "flags": 4},
|
||||
{"matrix": [5, 10], "x": 211, "y": 54, "flags": 4}
|
||||
],
|
||||
"max_brightness": 128,
|
||||
"sleep": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -57,6 +57,24 @@
|
|||
"solid_multisplash": true
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"x": 224, "y": 0, "flags": 2},
|
||||
{"matrix": [0, 2], "x": 224, "y": 9, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 224, "y": 27, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 112, "y": 27, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 0, "y": 27, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 0, "y": 46, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 112, "y": 46, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 224, "y": 46, "flags": 4},
|
||||
{"x": 224, "y": 55, "flags": 2},
|
||||
{"matrix": [3, 2], "x": 224, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 112, "y": 64, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 0, "y": 64, "flags": 4},
|
||||
{"x": 0, "y": 55, "flags": 2},
|
||||
{"matrix": [0, 0], "x": 0, "y": 9, "flags": 4},
|
||||
{"x": 0, "y": 0, "flags": 2},
|
||||
{"matrix": [0, 1], "x": 112, "y": 9, "flags": 4}
|
||||
],
|
||||
"sleep": true
|
||||
},
|
||||
"build": {
|
||||
|
|
|
|||
|
|
@ -1,42 +0,0 @@
|
|||
/* Copyright 2022 Yiancar
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// clang-format off
|
||||
led_config_t g_led_config = { {
|
||||
{ 13, 15, 1 },
|
||||
{ 4, 3, 2 },
|
||||
{ 5, 6, 7 },
|
||||
{ 11, 10, 9 },
|
||||
}, {
|
||||
{224, 0 }, {224, 9 }, {224, 27 }, {112, 27 }, { 0,27 },
|
||||
{ 0, 46 }, {112, 46 }, {224, 46 }, {224, 55 }, {224,64 },
|
||||
{112, 64 }, { 0, 64 }, { 0, 55 }, { 0, 9 }, { 0, 0 }, {112, 9 }
|
||||
}, {
|
||||
2,
|
||||
4, 4, 4, 4, 4, 4, 4,
|
||||
2,
|
||||
4, 4, 4,
|
||||
2,
|
||||
4,
|
||||
2,
|
||||
4
|
||||
} };
|
||||
// clang-format on
|
||||
#endif
|
||||
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
/* Copyright 2021 Yiancar
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// clang-format off
|
||||
led_config_t g_led_config = { {
|
||||
{ 0, 1, 2, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15, 17, 18 },
|
||||
{ 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, NO_LED, 21 },
|
||||
{ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 22, 49, 19 },
|
||||
{ 63, NO_LED, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 20 },
|
||||
{ 64, 65, 67, NO_LED, NO_LED, NO_LED, 69, NO_LED, NO_LED, 71, 72, 73, 75, 76, 77 }
|
||||
}, {
|
||||
{ 6, 10}, { 19, 10}, { 32, 10}, { 39, 11}, { 45, 10}, { 58, 10}, { 71, 10}, { 84, 10}, { 90, 11}, { 97, 10}, {110, 10}, {123, 10}, {130, 11}, {136, 10}, {149, 10}, {162, 10},
|
||||
{178, 13}, {182, 10}, {205, 10}, {218, 10}, {218, 23}, {205, 23}, {185, 23}, {169, 23}, {156, 23}, {143, 23}, {130, 23}, {117, 23}, {104, 23}, { 91, 23}, { 78, 23},
|
||||
{ 65, 23}, { 52, 23}, { 39, 23}, { 26, 23}, { 10, 23}, { 4, 26}, { 17, 29}, { 29, 35}, { 42, 35}, { 55, 35}, { 68, 35}, { 81, 35}, { 94, 35}, {107, 35}, {120, 35}, {133, 35},
|
||||
{146, 35}, {159, 35}, {180, 35}, {220, 32}, {205, 48}, {177, 48}, {153, 48}, {140, 48}, {127, 48}, {114, 48}, {101, 48}, { 88, 48}, { 75, 48}, { 62, 48}, { 49, 48}, { 36, 48},
|
||||
{ 15, 48}, { 8, 61}, { 24, 61}, { 32, 52}, { 41, 61}, { 81, 56}, { 89, 61}, {132, 53}, {138, 61}, {154, 61}, {170, 61}, {179, 53}, {192, 61}, {205, 61}, {218, 61}
|
||||
}, {
|
||||
1, 4, 4, 2, 4, 4, 4, 4, 2, 4, 4, 4, 2, 4, 4, 4, 2, 1, 1, 1,
|
||||
1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 2,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 2,
|
||||
1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 1, 2, 1, 2, 4, 2, 1, 1, 1, 2, 1, 1, 1
|
||||
} };
|
||||
// clang-format on
|
||||
#endif
|
||||
|
|
@ -1,5 +1,87 @@
|
|||
{
|
||||
"keyboard_name": "NEBULA68B HOTSWAP",
|
||||
"rgb_matrix": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 6, "y": 10, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 19, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 32, "y": 10, "flags": 4},
|
||||
{"x": 39, "y": 11, "flags": 2},
|
||||
{"matrix": [0, 3], "x": 45, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 58, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 71, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 84, "y": 10, "flags": 4},
|
||||
{"x": 90, "y": 11, "flags": 2},
|
||||
{"matrix": [0, 7], "x": 97, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 110, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 123, "y": 10, "flags": 4},
|
||||
{"x": 130, "y": 11, "flags": 2},
|
||||
{"matrix": [0, 10], "x": 136, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 149, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 162, "y": 10, "flags": 4},
|
||||
{"x": 178, "y": 13, "flags": 2},
|
||||
{"matrix": [0, 13], "x": 182, "y": 10, "flags": 1},
|
||||
{"matrix": [0, 14], "x": 205, "y": 10, "flags": 1},
|
||||
{"matrix": [2, 14], "x": 218, "y": 10, "flags": 1},
|
||||
{"matrix": [3, 14], "x": 218, "y": 23, "flags": 1},
|
||||
{"matrix": [1, 14], "x": 205, "y": 23, "flags": 1},
|
||||
{"matrix": [2, 12], "x": 185, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 169, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 156, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 143, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 130, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 117, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 104, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 91, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 78, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 65, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 52, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 39, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 26, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 10, "y": 23, "flags": 1},
|
||||
{"x": 4, "y": 26, "flags": 2},
|
||||
{"matrix": [2, 0], "x": 17, "y": 29, "flags": 1},
|
||||
{"matrix": [2, 1], "x": 29, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 42, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 55, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 68, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 81, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 94, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 107, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 120, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 133, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 146, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 159, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 13], "x": 180, "y": 35, "flags": 1},
|
||||
{"x": 220, "y": 32, "flags": 2},
|
||||
{"matrix": [3, 13], "x": 205, "y": 48, "flags": 1},
|
||||
{"matrix": [3, 12], "x": 177, "y": 48, "flags": 1},
|
||||
{"matrix": [3, 11], "x": 153, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 140, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 127, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 114, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 101, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 88, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 75, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 62, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 49, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 36, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 15, "y": 48, "flags": 1},
|
||||
{"matrix": [4, 0], "x": 8, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 1], "x": 24, "y": 61, "flags": 1},
|
||||
{"x": 32, "y": 52, "flags": 2},
|
||||
{"matrix": [4, 2], "x": 41, "y": 61, "flags": 1},
|
||||
{"x": 81, "y": 56, "flags": 2},
|
||||
{"matrix": [4, 6], "x": 89, "y": 61, "flags": 4},
|
||||
{"x": 132, "y": 53, "flags": 2},
|
||||
{"matrix": [4, 9], "x": 138, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 10], "x": 154, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 11], "x": 170, "y": 61, "flags": 1},
|
||||
{"x": 179, "y": 53, "flags": 2},
|
||||
{"matrix": [4, 12], "x": 192, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 13], "x": 205, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 14], "x": 218, "y": 61, "flags": 1}
|
||||
]
|
||||
},
|
||||
"community_layouts": ["68_ansi"],
|
||||
"layouts": {
|
||||
"LAYOUT_68_ansi": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,88 @@
|
|||
{
|
||||
"keyboard_name": "NEBULA68B SOLDER",
|
||||
"rgb_matrix": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 6, "y": 10, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 19, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 32, "y": 10, "flags": 4},
|
||||
{"x": 44, "y": 13, "flags": 2},
|
||||
{"matrix": [0, 3], "x": 45, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 58, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 71, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 84, "y": 10, "flags": 4},
|
||||
{"x": 88, "y": 13, "flags": 2},
|
||||
{"matrix": [0, 7], "x": 97, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 110, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 123, "y": 10, "flags": 4},
|
||||
{"x": 132, "y": 13, "flags": 2},
|
||||
{"matrix": [0, 10], "x": 136, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 149, "y": 10, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 162, "y": 10, "flags": 4},
|
||||
{"matrix": [1, 13], "x": 175, "y": 10, "flags": 4},
|
||||
{"x": 179, "y": 13, "flags": 2},
|
||||
{"matrix": [0, 13], "x": 188, "y": 10, "flags": 1},
|
||||
{"matrix": [0, 14], "x": 205, "y": 10, "flags": 1},
|
||||
{"matrix": [2, 14], "x": 218, "y": 10, "flags": 1},
|
||||
{"matrix": [3, 14], "x": 218, "y": 23, "flags": 1},
|
||||
{"matrix": [1, 14], "x": 205, "y": 23, "flags": 1},
|
||||
{"matrix": [2, 12], "x": 185, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 169, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 156, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 143, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 130, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 117, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 104, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 91, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 78, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 65, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 52, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 39, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 26, "y": 23, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 10, "y": 23, "flags": 1},
|
||||
{"x": 4, "y": 26, "flags": 2},
|
||||
{"matrix": [2, 0], "x": 11, "y": 35, "flags": 1},
|
||||
{"matrix": [2, 1], "x": 29, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 42, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 55, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 68, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 81, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 94, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 107, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 120, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 133, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 146, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 159, "y": 35, "flags": 4},
|
||||
{"matrix": [2, 13], "x": 180, "y": 35, "flags": 1},
|
||||
{"x": 220, "y": 32, "flags": 2},
|
||||
{"matrix": [3, 13], "x": 205, "y": 48, "flags": 1},
|
||||
{"matrix": [3, 12], "x": 177, "y": 48, "flags": 1},
|
||||
{"matrix": [3, 11], "x": 153, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 140, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 127, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 114, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 101, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 88, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 75, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 62, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 49, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 36, "y": 48, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 15, "y": 48, "flags": 1},
|
||||
{"matrix": [4, 0], "x": 8, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 1], "x": 24, "y": 61, "flags": 1},
|
||||
{"x": 32, "y": 52, "flags": 2},
|
||||
{"matrix": [4, 2], "x": 41, "y": 61, "flags": 1},
|
||||
{"x": 82, "y": 56, "flags": 2},
|
||||
{"matrix": [4, 6], "x": 89, "y": 61, "flags": 4},
|
||||
{"x": 132, "y": 53, "flags": 2},
|
||||
{"matrix": [4, 9], "x": 138, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 10], "x": 154, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 11], "x": 170, "y": 61, "flags": 1},
|
||||
{"x": 179, "y": 53, "flags": 2},
|
||||
{"matrix": [4, 12], "x": 192, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 13], "x": 205, "y": 61, "flags": 1},
|
||||
{"matrix": [4, 14], "x": 218, "y": 61, "flags": 1}
|
||||
]
|
||||
},
|
||||
"community_layouts": ["68_ansi"],
|
||||
"layouts": {
|
||||
"LAYOUT_68_ansi": {
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
/* Copyright 2021 Yiancar
|
||||
*
|
||||
* 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 "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// clang-format off
|
||||
led_config_t g_led_config = { {
|
||||
{ 0, 1, 2, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15, 18, 19 },
|
||||
{ 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 16, 22 },
|
||||
{ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 23, 50, 20 },
|
||||
{ 64, NO_LED, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 21 },
|
||||
{ 65, 66, 68, NO_LED, NO_LED, NO_LED, 70, NO_LED, NO_LED, 72, 73, 74, 76, 77, 78 }
|
||||
}, {
|
||||
{ 6, 10}, { 19, 10}, { 32, 10}, { 44, 13}, { 45, 10}, { 58, 10}, { 71, 10}, { 84, 10}, { 88, 13}, { 97, 10}, {110, 10}, {123, 10}, {132, 13}, {136, 10}, {149, 10}, {162, 10},
|
||||
{175, 10}, {179, 13}, {188, 10}, {205, 10}, {218, 10}, {218, 23}, {205, 23}, {185, 23}, {169, 23}, {156, 23}, {143, 23}, {130, 23}, {117, 23}, {104, 23}, { 91, 23}, { 78, 23},
|
||||
{ 65, 23}, { 52, 23}, { 39, 23}, { 26, 23}, { 10, 23}, { 4, 26}, { 11, 35}, { 29, 35}, { 42, 35}, { 55, 35}, { 68, 35}, { 81, 35}, { 94, 35}, {107, 35}, {120, 35}, {133, 35},
|
||||
{146, 35}, {159, 35}, {180, 35}, {220, 32}, {205, 48}, {177, 48}, {153, 48}, {140, 48}, {127, 48}, {114, 48}, {101, 48}, { 88, 48}, { 75, 48}, { 62, 48}, { 49, 48}, { 36, 48},
|
||||
{ 15, 48}, { 8, 61}, { 24, 61}, { 32, 52}, { 41, 61}, { 82, 56}, { 89, 61}, {132, 53}, {138, 61}, {154, 61}, {170, 61}, {179, 53}, {192, 61}, {205, 61}, {218, 61}
|
||||
}, {
|
||||
1, 4, 4, 2, 4, 4, 4, 4, 2, 4, 4, 4, 2, 4, 4, 4, 4, 2, 1, 1, 1,
|
||||
1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 2,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 2,
|
||||
1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 1, 2, 1, 2, 4, 2, 1, 1, 1, 2, 1, 1, 1
|
||||
} };
|
||||
// clang-format on
|
||||
#endif
|
||||
|
|
@ -19,6 +19,28 @@
|
|||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [2, 1], "x": 91, "y": 40, "flags": 255},
|
||||
{"matrix": [3, 2], "x": 77, "y": 56, "flags": 255},
|
||||
{"matrix": [3, 3], "x": 63, "y": 56, "flags": 255},
|
||||
{"matrix": [1, 2], "x": 77, "y": 24, "flags": 255},
|
||||
{"matrix": [0, 3], "x": 63, "y": 8, "flags": 255},
|
||||
{"matrix": [0, 6], "x": 21, "y": 8, "flags": 255},
|
||||
{"matrix": [2, 6], "x": 21, "y": 40, "flags": 255},
|
||||
{"matrix": [2, 5], "x": 35, "y": 40, "flags": 255},
|
||||
{"matrix": [2, 7], "x": 7, "y": 40, "flags": 255},
|
||||
{"matrix": [0, 7], "x": 7, "y": 8, "flags": 255},
|
||||
{"matrix": [6, 1], "x": 133, "y": 40, "flags": 255},
|
||||
{"matrix": [7, 2], "x": 147, "y": 56, "flags": 255},
|
||||
{"matrix": [7, 3], "x": 161, "y": 56, "flags": 255},
|
||||
{"matrix": [5, 2], "x": 147, "y": 24, "flags": 255},
|
||||
{"matrix": [4, 3], "x": 161, "y": 8, "flags": 255},
|
||||
{"matrix": [4, 6], "x": 203, "y": 8, "flags": 255},
|
||||
{"matrix": [6, 6], "x": 203, "y": 40, "flags": 255},
|
||||
{"matrix": [6, 5], "x": 189, "y": 40, "flags": 255},
|
||||
{"matrix": [6, 7], "x": 217, "y": 40, "flags": 255},
|
||||
{"matrix": [4, 7], "x": 217, "y": 8, "flags": 255}
|
||||
],
|
||||
"max_brightness": 170,
|
||||
"sleep": true,
|
||||
"split_count": [10, 10]
|
||||
|
|
|
|||
|
|
@ -32,34 +32,3 @@ __attribute__ ((weak)) const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATR
|
|||
const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {1, 0};
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
/* Map physical under glow LEDs for RGB matrix support
|
||||
*
|
||||
* 09, 05, xx, xx, 04, xx, xx, 14, xx, xx, 15, 19,
|
||||
* xx, xx, xx, xx, xx, 03, 13, xx, xx, xx, xx, xx,
|
||||
* 08, 06, 07, xx, xx, xx, 00, xx, xx, 10, xx, xx, xx, 17, 16, 18,
|
||||
* xx, 02, 01, xx, xx, xx, xx, 11, 12, xx
|
||||
*/
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{ NO_LED, NO_LED, NO_LED, 4, NO_LED, NO_LED, 5, 9 },
|
||||
{ NO_LED, NO_LED, 3, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, 0, NO_LED, NO_LED, NO_LED, 7, 6, 8 },
|
||||
{ NO_LED, NO_LED, 1, 2, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, 14, NO_LED, NO_LED, 15, 19 },
|
||||
{ NO_LED, NO_LED, 13, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, 10, NO_LED, NO_LED, NO_LED, 17, 16, 18 },
|
||||
{ NO_LED, NO_LED, 11, 12, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
}, {
|
||||
// LED Index to Physical Position
|
||||
{91,40}, {77,56}, {63,56}, {77,24}, {63,8}, {21,8}, {21,40}, {35,40}, {7,40}, {7,8},
|
||||
{133,40}, {147,56}, {161,56}, {147,24}, {161,8}, {203,8}, {203,40}, {189,40}, {217,40}, {217,8}
|
||||
}, {
|
||||
// LED Index to Flag
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL,
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL,
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL,
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL
|
||||
} };
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,6 +19,28 @@
|
|||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [1, 2], "x": 77, "y": 24, "flags": 255},
|
||||
{"matrix": [0, 3], "x": 63, "y": 8, "flags": 255},
|
||||
{"matrix": [0, 6], "x": 21, "y": 8, "flags": 255},
|
||||
{"matrix": [2, 6], "x": 21, "y": 40, "flags": 255},
|
||||
{"matrix": [2, 5], "x": 35, "y": 40, "flags": 255},
|
||||
{"matrix": [3, 3], "x": 63, "y": 56, "flags": 255},
|
||||
{"matrix": [3, 2], "x": 77, "y": 56, "flags": 255},
|
||||
{"matrix": [2, 1], "x": 91, "y": 40, "flags": 255},
|
||||
{"matrix": [2, 7], "x": 7, "y": 40, "flags": 255},
|
||||
{"matrix": [0, 7], "x": 7, "y": 8, "flags": 255},
|
||||
{"matrix": [5, 2], "x": 147, "y": 24, "flags": 255},
|
||||
{"matrix": [4, 3], "x": 161, "y": 8, "flags": 255},
|
||||
{"matrix": [4, 6], "x": 203, "y": 8, "flags": 255},
|
||||
{"matrix": [6, 6], "x": 203, "y": 40, "flags": 255},
|
||||
{"matrix": [6, 5], "x": 189, "y": 40, "flags": 255},
|
||||
{"matrix": [7, 3], "x": 161, "y": 56, "flags": 255},
|
||||
{"matrix": [7, 2], "x": 147, "y": 56, "flags": 255},
|
||||
{"matrix": [6, 1], "x": 133, "y": 40, "flags": 255},
|
||||
{"matrix": [6, 7], "x": 217, "y": 40, "flags": 255},
|
||||
{"matrix": [4, 7], "x": 217, "y": 8, "flags": 255}
|
||||
],
|
||||
"max_brightness": 170,
|
||||
"sleep": true,
|
||||
"split_count": [10, 10]
|
||||
|
|
|
|||
|
|
@ -47,33 +47,3 @@ __attribute__ ((weak)) const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATR
|
|||
const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {1, 0};
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
/* Map physical under glow LEDs for RGB matrix support
|
||||
* 09, 02, xx, xx, 01, xx, xx, 11, xx, xx, 12, 19,
|
||||
* xx, xx, xx, xx, xx, 00, 10, xx, xx, xx, xx, xx,
|
||||
* 08, 03, 04, xx, xx, xx, 07, xx, xx, 17, xx, xx, xx, 14, 13, 18,
|
||||
* xx, 05, 06, xx, xx, xx, xx, 16, 15, xx
|
||||
*/
|
||||
led_config_t g_led_config = { {
|
||||
// Key Matrix to LED Index
|
||||
{ NO_LED, NO_LED, NO_LED, 1, NO_LED, NO_LED, 2, 9 },
|
||||
{ NO_LED, NO_LED, 0, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, 7, NO_LED, NO_LED, NO_LED, 4, 3, 8 },
|
||||
{ NO_LED, NO_LED, 6, 5, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, 11, NO_LED, NO_LED, 12, 19 },
|
||||
{ NO_LED, NO_LED, 10, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, 17, NO_LED, NO_LED, NO_LED, 14, 13, 18 },
|
||||
{ NO_LED, NO_LED, 16, 15, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
}, {
|
||||
// LED Index to Physical Position
|
||||
{77,24}, {63,8}, {21,8}, {21,40}, {35,40}, {63,56}, {77,56}, {91,40}, {7,40}, {7,8},
|
||||
{147,24}, {161,8}, {203,8}, {203,40}, {189,40}, {161,56}, {147,56}, {133,40}, {217,40}, {217,8}
|
||||
}, {
|
||||
// LED Index to Flag
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL,
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL,
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL,
|
||||
LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL, LED_FLAG_ALL
|
||||
} };
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -47,6 +47,92 @@
|
|||
"hue": 142
|
||||
},
|
||||
"driver": "ws2812",
|
||||
"layout": [
|
||||
{"matrix": [4, 12], "x": 209, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 11], "x": 190, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 10], "x": 171, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 9], "x": 156, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 8], "x": 140, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 7], "x": 125, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 6], "x": 110, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 5], "x": 95, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 4], "x": 80, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 3], "x": 65, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 2], "x": 49, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 1], "x": 34, "y": 51, "flags": 4},
|
||||
{"matrix": [4, 0], "x": 11, "y": 51, "flags": 4},
|
||||
{"matrix": [5, 0], "x": 8, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 1], "x": 27, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 2], "x": 42, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 3], "x": 57, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 4], "x": 80, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 6], "x": 110, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 7], "x": 133, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 8], "x": 148, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 9], "x": 167, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 10], "x": 194, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 11], "x": 209, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 12], "x": 224, "y": 64, "flags": 4},
|
||||
{"matrix": [5, 5], "x": 224, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 12], "x": 197, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 11], "x": 178, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 163, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 148, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 133, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 118, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 103, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 87, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 72, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 57, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 42, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 1], "x": 27, "y": 38, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 8, "y": 38, "flags": 4},
|
||||
{"matrix": [2, 0], "x": 4, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 1], "x": 23, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 38, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 53, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 68, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 84, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 99, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 114, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 129, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 144, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 159, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 175, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 12], "x": 190, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 13], "x": 205, "y": 26, "flags": 4},
|
||||
{"matrix": [5, 13], "x": 224, "y": 26, "flags": 4},
|
||||
{"matrix": [4, 13], "x": 224, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 13], "x": 201, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 182, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 167, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 152, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 137, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 121, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 106, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 91, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 76, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 61, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 46, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 30, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 15, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 0], "x": 0, "y": 13, "flags": 4},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 1], "x": 15, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 2], "x": 30, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 3], "x": 46, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 4], "x": 61, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 5], "x": 76, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 6], "x": 91, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 7], "x": 106, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 8], "x": 121, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 9], "x": 137, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 10], "x": 152, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 11], "x": 167, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 12], "x": 182, "y": 0, "flags": 4},
|
||||
{"matrix": [0, 13], "x": 201, "y": 0, "flags": 4},
|
||||
{"matrix": [3, 13], "x": 224, "y": 0, "flags": 4}
|
||||
],
|
||||
"max_brightness": 176,
|
||||
"sleep": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -21,59 +21,6 @@
|
|||
#include "usb_mux.h"
|
||||
|
||||
// clang-format off
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// LEDs by index
|
||||
// 0 1 2 3 4 5 6 7 8 9
|
||||
// 00 LM4 LL4 LK4 LJ4 LI4 LH4 LG4 LF4 LE4 LD4
|
||||
// 10 LC4 LB4 LA4 LA5 LB5 LC5 LD5 LE5 LG5 LH5
|
||||
// 20 LI5 LJ5 LK5 LL5 LM5 LO3 LM3 LL3 LK3 LJ3
|
||||
// 30 LI3 LH3 LG3 LF3 LE3 LD3 LC3 LB3 LA3 LA2
|
||||
// 40 LB2 LC2 LD2 LE2 LF2 LG2 LH2 LI2 LJ2 LK2
|
||||
// 50 LL2 LM2 LN2 LO2 LO1 LN1 LM1 LL1 LK1 LJ1
|
||||
// 60 LI1 LH1 LG1 LF1 LE1 LD1 LC1 LB1 LA1 LA0
|
||||
// 70 LB0 LC0 LD0 LE0 LF0 LG0 LH0 LI0 LJ0 LK0
|
||||
// 80 LL0 LM0 LN0 LO0
|
||||
led_config_t g_led_config = { {
|
||||
// Key matrix to LED index
|
||||
/* A B C D E F G H I J K L M N O */
|
||||
/* 0 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, */
|
||||
/* 1 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, */
|
||||
/* 2 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, */
|
||||
/* 3 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, */
|
||||
/* 4 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, */
|
||||
/* 5 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 */
|
||||
{ 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82 },
|
||||
{ 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55 },
|
||||
{ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52 },
|
||||
{ 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 83 },
|
||||
{ 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 54 },
|
||||
{ 13, 14, 15, 16, 17, 25, 18, 19, 20, 21, 22, 23, 24, 53 },
|
||||
}, {
|
||||
// LED index to physical position (see leds.sh in `launch' repo)
|
||||
/* 00 */ {209, 51}, {190, 51}, {171, 51}, {156, 51}, {140, 51}, {125, 51}, {110, 51}, {95, 51}, {80, 51}, {65, 51},
|
||||
/* 10 */ {49, 51}, {34, 51}, {11, 51}, {8, 64}, {27, 64}, {42, 64}, {57, 64}, {80, 64}, {110, 64}, {133, 64},
|
||||
/* 20 */ {148, 64}, {167, 64}, {194, 64}, {209, 64}, {224, 64}, {224, 38}, {197, 38}, {178, 38}, {163, 38}, {148, 38},
|
||||
/* 30 */ {133, 38}, {118, 38}, {103, 38}, {87, 38}, {72, 38}, {57, 38}, {42, 38}, {27, 38}, {8, 38}, {4, 26},
|
||||
/* 40 */ {23, 26}, {38, 26}, {53, 26}, {68, 26}, {84, 26}, {99, 26}, {114, 26}, {129, 26}, {144, 26}, {159, 26},
|
||||
/* 50 */ {175, 26}, {190, 26}, {205, 26}, {224, 26}, {224, 13}, {201, 13}, {182, 13}, {167, 13}, {152, 13}, {137, 13},
|
||||
/* 60 */ {121, 13}, {106, 13}, {91, 13}, {76, 13}, {61, 13}, {46, 13}, {30, 13}, {15, 13}, {0, 13}, {0, 0},
|
||||
/* 70 */ {15, 0}, {30, 0}, {46, 0}, {61, 0}, {76, 0}, {91, 0}, {106, 0}, {121, 0}, {137, 0}, {152, 0},
|
||||
/* 80 */ {167, 0}, {182, 0}, {201, 0}, {224, 0}
|
||||
}, {
|
||||
// LED index to flags (set all to LED_FLAG_KEYLIGHT)
|
||||
/* 0 1 2 3 4 5 6 7 8 9 */
|
||||
/* 00 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 10 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 20 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 30 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 40 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 50 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 60 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 70 */ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||
/* 80 */ 4, 4, 4, 4
|
||||
} };
|
||||
#endif // RGB_MATRIX_ENABLE
|
||||
|
||||
bool eeprom_is_valid(void) {
|
||||
return (
|
||||
eeprom_read_word(((void *)EEPROM_MAGIC_ADDR)) == EEPROM_MAGIC &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue