From 356561c438766df09e8b90a81778b2053e319a6a Mon Sep 17 00:00:00 2001 From: Quentin Date: Thu, 12 Aug 2021 16:45:42 +0200 Subject: [Keyboard] Add Skeletyl keyboard (#13495) Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com> Co-authored-by: Drashna Jaelre Co-authored-by: Ryan --- keyboards/bastardkb/skeletyl/skeletyl.c | 57 +++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 keyboards/bastardkb/skeletyl/skeletyl.c (limited to 'keyboards/bastardkb/skeletyl/skeletyl.c') diff --git a/keyboards/bastardkb/skeletyl/skeletyl.c b/keyboards/bastardkb/skeletyl/skeletyl.c new file mode 100644 index 0000000000..057465b4a8 --- /dev/null +++ b/keyboards/bastardkb/skeletyl/skeletyl.c @@ -0,0 +1,57 @@ +/* + * Copyright 2021 Quentin LEBASTARD + * + * 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 "skeletyl.h" + +#ifdef RGB_MATRIX_ENABLE +led_config_t g_led_config = { { + // left + { 0, 5, 6, 11, 12 }, + { 1, 4, 7, 10, 13 }, + { 2, 3, 8, 9, 14 }, + { 15, NO_LED, 16, 17, NO_LED }, + // right + { 18, 23, 24, 29, 30 }, + { 19, 22, 25, 28, 31 }, + { 20, 21, 26, 27, 32 }, + { 33, NO_LED, 34, 35, NO_LED } +}, { + // left + { 0, 0 }, { 0, 21 }, { 0, 42 }, // col 1 + { 25, 42 }, { 25, 21 }, { 25, 0 }, // col 2 + { 50, 0 }, { 50, 21 }, { 50, 42 }, + { 74, 42 }, { 74, 21 }, { 74, 0 }, + { 99, 0 }, { 99, 21 }, { 99, 42 }, + { 50, 64 }, { 74, 64 }, { 99, 64 }, // left thumb cluster + // right + { 224, 0 }, { 224, 21 }, { 224, 42 }, // col 10 + { 198, 42 }, { 198, 21 }, { 198, 0 }, // col 9 + { 174, 0 }, { 174, 21 }, { 174, 42 }, + { 149, 42 }, { 149, 21 }, { 149, 0 }, + { 124, 0 }, { 124, 21 }, { 124, 42 }, + { 174, 64 }, { 149, 64 }, { 124, 64 } // right thumb cluster +}, { + // left + 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 4, + 2, 2, 2, + // right + 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 4, + 2, 2, 2 +} }; +#endif -- cgit v1.2.3