52 lines
2.7 KiB
C
52 lines
2.7 KiB
C
/* Copyright 2021 Sadek Baroudi <sadekbaroudi@gmail.com>
|
|
*
|
|
* 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 "v3_1.h"
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
led_config_t g_led_config = { {
|
|
{ 1, 62, 3, 5, 60, 61, 4, 2 },
|
|
{ 12, 55, 10, 8, 57, 56, 9, 11 },
|
|
{ 15, 48, 17, 19, 46, 47, 18, 16 },
|
|
{ 26, 41, 24, 22, 43, 42, 23, 25 },
|
|
{ 28, 35, 30, 32, 33, 34, 31, 29 },
|
|
{ 0, 39, 44, NO_LED, 53, 50, 64, 21 },
|
|
{ 13, 51, 6, NO_LED, 59, 45, 20, NO_LED },
|
|
{ 14, 38, 7, NO_LED, 58, NO_LED, NO_LED, 27 },
|
|
{ 63, 52, 49, 36, 37, 65, 40, 54 }
|
|
}, {
|
|
{7,1}, {21,1}, {36,2}, {51,1}, {65,5}, {79,10}, {93,14},
|
|
{90,21}, {76,20}, {62,16}, {48,12}, {33,12}, {19,12}, {4,10},
|
|
{2,20}, {16,22}, {31,23}, {46,23}, {60,27}, {74,31}, {88,35},
|
|
{87,50}, {71,42}, {57,38}, {43,33}, {28,34}, {14,33}, {0,31},
|
|
{25,46}, {40,48}, {56,51}, {70,56}, {84,63},
|
|
{138,63}, {152,56}, {166,51}, {182,48}, {197,46}, {223,31}, {209,33},
|
|
{200,34}, {179,33}, {165,38}, {151,42}, {135,50}, {134,35}, {148,31},
|
|
{162,27}, {176,23}, {191,23}, {206,22}, {220,20}, {218,9}, {203,12},
|
|
{189,12}, {174,12}, {160,16}, {146,20}, {132,24}, {129,14}, {143,10},
|
|
{157,5}, {171,1}, {186,2}, {201,1}, {215,0}
|
|
}, {
|
|
1, 4, 4, 4, 4, 4, 1, // left half - row 1 - left to right
|
|
1, 4, 4, 4, 4, 4, 1, // left half - row 2 - right to left
|
|
1, 12, 12, 12, 12, 4, 1, // left half - row 3 - left to right
|
|
1, 4, 4, 4, 4, 4, 1, // left half - row 4 - right to left
|
|
1, 1, 1, 9, 1, // left thumbs - left to right
|
|
1, 9, 1, 1, 1, // right thumbs - left to right
|
|
1, 4, 4, 4, 4, 4, 1, // right half - row 4 - right to left
|
|
1, 4, 12, 12, 12, 12, 1, // right half - row 3 - left to right
|
|
1, 4, 4, 4, 4, 4, 1, // right half - row 2 - right to left
|
|
1, 4, 4, 4, 4, 4, 1 // right half - row 1 - left to right
|
|
} };
|
|
#endif
|