summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/skeletyl/skeletyl.c
diff options
context:
space:
mode:
authorQuentin <qlebastard@gmail.com>2021-08-12 16:45:42 +0200
committerGitHub <noreply@github.com>2021-08-12 07:45:42 -0700
commit356561c438766df09e8b90a81778b2053e319a6a (patch)
treeaf768f1833361ce49ea0568621f2ea2591692efd /keyboards/bastardkb/skeletyl/skeletyl.c
parent30843f8329315426ff433a40095f1de2b2669e57 (diff)
downloadqmk_firmware-356561c438766df09e8b90a81778b2053e319a6a.tar.gz
qmk_firmware-356561c438766df09e8b90a81778b2053e319a6a.zip
[Keyboard] Add Skeletyl keyboard (#13495)
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/bastardkb/skeletyl/skeletyl.c')
-rw-r--r--keyboards/bastardkb/skeletyl/skeletyl.c57
1 files changed, 57 insertions, 0 deletions
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 <qlebastard@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 "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