From 84718c0ab7fc3661d9420e9872e3a86732da52a9 Mon Sep 17 00:00:00 2001 From: alabbe9545 <57238155+alabbe9545@users.noreply.github.com> Date: Tue, 21 Jun 2022 05:33:29 +0200 Subject: [Keyboard] Add labbeminiv1 (#16401) * [Keyboard] Add labbeminiv1 * Adjust vendor id The used vendor id was in use * Remove comment in the rgb keymap * Update keyboards/labbe/labbeminiv1/rules.mk Co-authored-by: Ryan * Rename rgb matrix keymap folder Co-authored-by: Ryan --- keyboards/labbe/labbeminiv1/labbeminiv1.c | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 keyboards/labbe/labbeminiv1/labbeminiv1.c (limited to 'keyboards/labbe/labbeminiv1/labbeminiv1.c') diff --git a/keyboards/labbe/labbeminiv1/labbeminiv1.c b/keyboards/labbe/labbeminiv1/labbeminiv1.c new file mode 100644 index 0000000000..46ab7d057f --- /dev/null +++ b/keyboards/labbe/labbeminiv1/labbeminiv1.c @@ -0,0 +1,36 @@ +/* + * 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 "labbeminiv1.h" + +#ifdef RGB_MATRIX_ENABLE +led_config_t g_led_config = { + { + // Key Matrix to LED Index + {NO_LED, 0, NO_LED}, + {1, 2, 3} + }, + { + // LED Index to Physical Position + {112, 0}, + {0, 64}, {112, 64}, {224, 64}, + }, + { + // LED Index to Flag + 4, + 4, 4, 4 + } +}; +#endif \ No newline at end of file -- cgit v1.2.3