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.h59
1 files changed, 41 insertions, 18 deletions
diff --git a/keyboards/redox_media/redox_media.h b/keyboards/redox_media/redox_media.h
index 6188aa9a10..8cd13c63f2 100644
--- a/keyboards/redox_media/redox_media.h
+++ b/keyboards/redox_media/redox_media.h
@@ -19,28 +19,51 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "quantum.h"
+#define XXX KC_NO
+
+/*
+ * ┌───┐ ┌───┐┌───┐
+ * │56 │ │B6 ││B5 │
+ * └───┘ └───┘└───┘
+ * ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐
+ * │00 │01 │02 │03 │04 │05 │ │65 │64 │63 │62 │61 │60 │
+ * ├───┼───┼───┼───┼───┼───┼───┐ ┌───┼───┼───┼───┼───┼───┼───┤
+ * │10 │11 │12 │13 │14 │15 │06 │ │66 │75 │74 │73 │72 │71 │70 │
+ * ├───┼───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┼───┤
+ * │20 │21 │22 │23 │24 │25 │16 │ │76 │85 │84 │83 │82 │81 │80 │
+ * ├───┼───┼───┼───┼───┼───┼───┘ └───┼───┼───┼───┼───┼───┼───┤
+ * │30 │31 │32 │33 │34 │35 │ ┌───┬───┐ ┌───┬───┐ │95 │94 │93 │92 │91 │90 │
+ * ├───┼───┼───┼───┼───┴───┘ │26 │36 │ │96 │86 │ └───┴───┼───┼───┼───┼───┤
+ * │40 │41 │42 │43 │ ├───┼───┤ ├───┼───┤ │A3 │A2 │A1 │A0 │
+ * └───┴───┴───┴───┘ ┌────┤ │ │ │ │ ├────┐ └───┴───┴───┴───┘
+ * │44 │45 │46 │ │A6 │A5 │A4 │
+ * └────┴───┴───┘ └───┴───┴────┘
+ *
+ *
+ */
+
// 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 \
+ K56, KB6, KB5, \
+ K00, K01, K02, K03, K04, K05, K65, K64, K63, K62, K61, K60, \
+ K10, K11, K12, K13, K14, K15, K06, K66, K75, K74, K73, K72, K71, K70, \
+ K20, K21, K22, K23, K24, K25, K16, K76, K85, K84, K83, K82, K81, K80, \
+ K30, K31, K32, K33, K34, K35, K26, K36, K96, K86, K95, K94, K93, K92, K91, K90, \
+ K40, K41, K42, K43, K44, K45, K46, KA6, KA5, KA4, KA3, KA2, KA1, KA0 \
) \
{ \
- { 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 }, \
+ { K00, K01, K02, K03, K04, K05, K06 }, \
+ { K10, K11, K12, K13, K14, K15, K16 }, \
+ { K20, K21, K22, K23, K24, K25, K26 }, \
+ { K30, K31, K32, K33, K34, K35, K36 }, \
+ { K40, K41, K42, K43, K44, K45, K46 }, \
+ { XXX, XXX, XXX, XXX, XXX, XXX, K56 }, \
\
- { 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 } \
+ { K60, K61, K62, K63, K64, K65, K66 }, \
+ { K70, K71, K72, K73, K74, K75, K76 }, \
+ { K80, K81, K82, K83, K84, K85, K86 }, \
+ { K90, K91, K92, K93, K94, K95, K96 }, \
+ { KA0, KA1, KA2, KA3, KA4, KA5, KA6 }, \
+ { XXX, XXX, XXX, XXX, XXX, KB5, KB6 } \
}