diff options
author | peepeetee <43021794+peepeetee@users.noreply.github.com> | 2022-02-11 07:20:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 15:20:11 -0800 |
commit | 9e4942bec83e43da3d0624597bcf4ee5d855aa07 (patch) | |
tree | 1fe5be254400603aae83bddc738430b9f276cae9 /keyboards/latincompass/latinpad/latinpad.c | |
parent | 27ec6674304412fb6f5499dbf0874dcf7b5524c6 (diff) |
[Keyboard] move latincompass's boards to /latincompass (#16039)
Diffstat (limited to 'keyboards/latincompass/latinpad/latinpad.c')
-rw-r--r-- | keyboards/latincompass/latinpad/latinpad.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/latincompass/latinpad/latinpad.c b/keyboards/latincompass/latinpad/latinpad.c new file mode 100644 index 0000000000..85f8eba7d5 --- /dev/null +++ b/keyboards/latincompass/latinpad/latinpad.c @@ -0,0 +1,40 @@ +/* Copyright 2020 latincompass + * + * 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 "latinpad.h" + +#ifdef RGB_MATRIX_ENABLE + led_config_t g_led_config = { + { + { 1, 2, 3, 4 }, + { 5, 6, 7, 8 }, + { 9, 10, 11, 12 }, + { 13, 14, 15, 16 }, + { 17, 18, NO_LED, NO_LED } + },{ + { 74, 21 }, { 37, 21 }, { 24, 21 }, { 18, 21 }, + { 74, 10 }, { 37, 10 }, { 28, 10 }, { 18, 10 }, + { 74, 7 }, { 37, 7 }, { 20, 7 }, { 18, 7 }, + { 74, 5 }, { 37, 5 }, { 22, 5 }, { 18, 5 }, + { 74, 5 }, { 37, 5 }, + },{ + 1, 1, 1, 1, + 1, 1, 1, 1, + 1, 1, 1, 1, + 1, 1, 1, 1, + 1, 1 + } + }; +#endif |