summaryrefslogtreecommitdiff
path: root/keyboards/spaceholdings/nebula12b/nebula12b.c
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2022-07-01 07:11:13 +0100
committerGitHub <noreply@github.com>2022-06-30 23:11:13 -0700
commit1e643ba1d1fddf27113564e5ea9d8751cb9a9c01 (patch)
tree741f3e5e15f38258f16793f2a974c427ad6ad5bd /keyboards/spaceholdings/nebula12b/nebula12b.c
parent38ca5e95e1e857991c968cd2eb9a26cfed4e12fc (diff)
[Keyboard] Nebula12b (#17308)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: yiancar <yiancar@gmail.com>
Diffstat (limited to 'keyboards/spaceholdings/nebula12b/nebula12b.c')
-rwxr-xr-xkeyboards/spaceholdings/nebula12b/nebula12b.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/keyboards/spaceholdings/nebula12b/nebula12b.c b/keyboards/spaceholdings/nebula12b/nebula12b.c
new file mode 100755
index 0000000000..821999a105
--- /dev/null
+++ b/keyboards/spaceholdings/nebula12b/nebula12b.c
@@ -0,0 +1,42 @@
+/* Copyright 2022 Yiancar
+ *
+ * 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 "nebula12b.h"
+
+#ifdef RGB_MATRIX_ENABLE
+// clang-format off
+led_config_t g_led_config = { {
+ { 13, 15, 1 },
+ { 4, 3, 2 },
+ { 5, 6, 7 },
+ { 11, 10, 9 },
+}, {
+ {224, 0 }, {224, 9 }, {224, 27 }, {112, 27 }, { 0,27 },
+ { 0, 46 }, {112, 46 }, {224, 46 }, {224, 55 }, {224,64 },
+ {112, 64 }, { 0, 64 }, { 0, 55 }, { 0, 9 }, { 0, 0 }, {112, 9 }
+}, {
+ 2,
+ 4, 4, 4, 4, 4, 4, 4,
+ 2,
+ 4, 4, 4,
+ 2,
+ 4,
+ 2,
+ 4
+} };
+// clang-format on
+#endif
+