summaryrefslogtreecommitdiff
path: root/keyboards/merge/um70/um70.c
diff options
context:
space:
mode:
authorduoshock <33636898+duoshock@users.noreply.github.com>2021-05-14 16:36:31 +0100
committerGitHub <noreply@github.com>2021-05-14 08:36:31 -0700
commit02e19123718d8693ff06665f762abbfbe7072201 (patch)
tree616918b3b8ee2c6e4c30ccd5fd9fffc767ef4581 /keyboards/merge/um70/um70.c
parent1d50693e1be24a626bdc6cfd031a0f6e14a33d75 (diff)
downloadqmk_firmware-02e19123718d8693ff06665f762abbfbe7072201.tar.gz
qmk_firmware-02e19123718d8693ff06665f762abbfbe7072201.zip
[Keyboard] Add UM-70 (#12556)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: online <33636898+online@users.noreply.github.com>
Diffstat (limited to 'keyboards/merge/um70/um70.c')
-rw-r--r--keyboards/merge/um70/um70.c77
1 files changed, 77 insertions, 0 deletions
diff --git a/keyboards/merge/um70/um70.c b/keyboards/merge/um70/um70.c
new file mode 100644
index 0000000000..3283e7e26b
--- /dev/null
+++ b/keyboards/merge/um70/um70.c
@@ -0,0 +1,77 @@
+/* Copyright 2021 duoshock
+ *
+ * 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 "um70.h"
+
+#ifdef RGB_MATRIX_ENABLE
+/*
+ Underglow Underglow 13,14 = split bksp, 14 = 2u bksp
+ 07 08 09 10 11 12 13 01 01 07 08 09 10 11 12 13 14
+ 14 15 16 17 18 19 02 02 15 16 17 18 19 20 21 22 23
+20 21 22 23 24 25 26 03 03 24 25 26 27 28 29 30 31
+27 28 29 30 31 32 33 04 04 32 33 34 35 36 37 38
+34 35 36 37 38 39 05 05 39 40 41 42 43 44
+ 06 06
+*/
+
+#define XX NO_LED
+
+led_config_t g_led_config = { {
+ { 6, 7, 8, 9, 10, 11, 12, XX },
+ { 13, 14, 15, 16, 17, 18, XX, XX },
+ { 20, 21, 22, 23, 24, 25, XX, XX },
+ { 27, 28, 29, 30, 31, 32, XX, XX },
+ { 34, 35, 36, 37, 38, 19, 26, 33 },
+
+ { 45, 46, 47, 48, 49, 50, 51, 52 },
+ { 53, 54, 55, 56, 57, 58, 59, 60 },
+ { 62, 63, 64, 65, 66, 67, 68, XX },
+ { 70, 71, 72, 73, 74, 75, 76, 61 },
+ { 77, 78, 79, 80, 81, 82, XX, 69 },
+}, {
+ { 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 },
+
+ { 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 },
+ { 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 },
+ { 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 },
+ { 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 },
+ { 0, 64 }, { 32, 64 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 },
+
+ { 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 },
+
+ { 0, 0 }, { 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 },
+ { 0, 16 }, { 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 }, { 223, 16 }, { 224, 16 },
+ { 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 }, { 223, 32 },
+ { 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 },
+ { 0, 46 }, { 32, 46 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 }
+
+}, {
+ 2, 2, 2, 2, 2, 2,
+ 4, 4, 4, 4, 4, 4, 4,
+ 1, 4, 4, 4, 4, 4,
+ 4, 1, 4, 4, 4, 4, 4,
+ 4, 1, 4, 4, 4, 4, 4,
+ 4, 1, 1, 1, 1, 1,
+
+ 2, 2, 2, 2, 2, 2,
+ 4, 4, 4, 4, 4, 4, 4, 1,
+ 4, 4, 4, 4, 4, 4, 4, 1, 4,
+ 4, 4, 4, 4, 4, 4, 1, 4,
+ 4, 4, 4, 4, 4, 1, 4,
+ 1, 1, 1, 4, 4, 4
+} };
+
+#endif \ No newline at end of file