summaryrefslogtreecommitdiff
path: root/keyboards/redox_media/redox_media.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/redox_media/redox_media.h')
-rw-r--r--keyboards/redox_media/redox_media.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/redox_media/redox_media.h b/keyboards/redox_media/redox_media.h
new file mode 100644
index 0000000000..6188aa9a10
--- /dev/null
+++ b/keyboards/redox_media/redox_media.h
@@ -0,0 +1,46 @@
+/*
+Copyright 2021 Shiftux <shiftux@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/>.
+*/
+
+#pragma once
+
+#include "quantum.h"
+
+// rows are doubled
+// clang-format off
+#define LAYOUT( \
+ R5C6, R11C6, R11C5, \
+ R0C0, R0C1, R0C2, R0C3, R0C4, R0C5, R6C5, R6C4, R6C3, R6C2, R6C1, R6C0, \
+ R1C0, R1C1, R1C2, R1C3, R1C4, R1C5, R0C6, R6C6, R7C5, R7C4, R7C3, R7C2, R7C1, R7C0, \
+ R2C0, R2C1, R2C2, R2C3, R2C4, R2C5, R1C6, R7C6, R8C5, R8C4, R8C3, R8C2, R8C1, R8C0, \
+ R3C0, R3C1, R3C2, R3C3, R3C4, R3C5, R2C6, R3C6, R9C6, R8C6, R9C5, R9C4, R9C3, R9C2, R9C1, R9C0, \
+ R4C0, R4C1, R4C2, R4C3, R4C4, R4C5, R4C6, R10C6, R10C5, R10C4, R10C3, R10C2, R10C1, R10C0 \
+) \
+{ \
+ { R0C0, R0C1, R0C2, R0C3, R0C4, R0C5, R0C6 }, \
+ { R1C0, R1C1, R1C2, R1C3, R1C4, R1C5, R1C6 }, \
+ { R2C0, R2C1, R2C2, R2C3, R2C4, R2C5, R2C6 }, \
+ { R3C0, R3C1, R3C2, R3C3, R3C4, R3C5, R3C6 }, \
+ { R4C0, R4C1, R4C2, R4C3, R4C4, R4C5, R4C6 }, \
+ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, R5C6 }, \
+\
+ { R6C0, R6C1, R6C2, R6C3, R6C4, R6C5, R6C6 }, \
+ { R7C0, R7C1, R7C2, R7C3, R7C4, R7C5, R7C6 }, \
+ { R8C0, R8C1, R8C2, R8C3, R8C4, R8C5, R8C6 }, \
+ { R9C0, R9C1, R9C2, R9C3, R9C4, R9C5, R9C6 }, \
+ { R10C0, R10C1, R10C2, R10C3, R10C4, R10C5, R10C6 }, \
+ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, R11C5, R11C6 } \
+}