From 23cfc4b14564fe6a5da8a6d3823f8f9bc52c2832 Mon Sep 17 00:00:00 2001 From: HASU Date: Tue, 28 Apr 2020 17:54:22 +0800 Subject: [Keyboard] latinpad(Original:hasupad,RENAMED latinpad) (#8766) Co-Authored-By: ridingqwerty Co-Authored-By: Ryan Co-Authored-By: Joel Challis Co-Authored-By: Drashna Jaelre Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> --- keyboards/latinpad/latinpad.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 keyboards/latinpad/latinpad.c (limited to 'keyboards/latinpad/latinpad.c') diff --git a/keyboards/latinpad/latinpad.c b/keyboards/latinpad/latinpad.c new file mode 100644 index 0000000000..85f8eba7d5 --- /dev/null +++ b/keyboards/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 . + */ +#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 -- cgit v1.2.3