summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/delphine/delphine.h
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-09-28 21:49:35 +0000
committerGitHub <noreply@github.com>2021-09-28 14:49:35 -0700
commit732535c1bb381bbe93e9efc1cb1260bda67644a6 (patch)
treea4cd6cc083347dd5eba7e8e77e68547040157adf /keyboards/mechlovin/delphine/delphine.h
parent873a1999bb962834d88713796741c22339fb670f (diff)
Mechlovin Delphine: add LAYOUT_numpad_6x4 (#14635)
* add LAYOUT_numpad_6x4 * tidy-up info.json data * use GitHub account name for maintainer field * remove meta key * add matrix diagram to delphine.h * update Community Layout support
Diffstat (limited to 'keyboards/mechlovin/delphine/delphine.h')
-rw-r--r--keyboards/mechlovin/delphine/delphine.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/mechlovin/delphine/delphine.h b/keyboards/mechlovin/delphine/delphine.h
index 1112fc27ff..da0254eeb4 100644
--- a/keyboards/mechlovin/delphine/delphine.h
+++ b/keyboards/mechlovin/delphine/delphine.h
@@ -18,6 +18,28 @@
#include "quantum.h"
+#define XXX KC_NO
+
+/*
+ * ┌───┬───┬───┬───┐
+ * │00 │01 │02 │03 │
+ * └───┴───┴───┴───┘
+ * ┌───┬───┬───┬───┐
+ * │10 │11 │12 │13 │
+ * ├───┼───┼───┼───┤ ┌───┐
+ * │20 │21 │22 │23 │ │ │
+ * ├───┼───┼───┼───┤ │23 │ 2u Plus
+ * │30 │31 │32 │33 │ │ │
+ * ├───┼───┼───┼───┤ ├───┤
+ * │40 │41 │42 │43 │ │ │
+ * ├───┼───┼───┼───┤ │43 │ 2u Enter
+ * │50 │51 │52 │53 │ │ │
+ * └───┴───┴───┴───┘ └───┘
+ * ┌───────┐
+ * │51 │ 2u 0/Ins
+ * └───────┘
+ */
+
#define LAYOUT_ortho_6x4( \
K00, K01, K02, K03, \
K10, K11, K12, K13, \
@@ -33,3 +55,19 @@
{ K40, K41, K42, K43 }, \
{ K50, K51, K52, K53 }, \
}
+
+#define LAYOUT_numpad_6x4( \
+ K00, K01, K02, K03, \
+ K10, K11, K12, K13, \
+ K20, K21, K22, \
+ K30, K31, K32, K23, \
+ K40, K41, K42, \
+ K51, K52, K43 \
+) { \
+ { K00, K01, K02, K03 }, \
+ { K10, K11, K12, K13 }, \
+ { K20, K21, K22, K23 }, \
+ { K30, K31, K32, XXX }, \
+ { K40, K41, K42, K43 }, \
+ { XXX, K51, K52, XXX }, \
+}