summaryrefslogtreecommitdiff
path: root/keyboards/emi20/emi20.h
diff options
context:
space:
mode:
authorAquaCylinder <56627792+AquaCylinder@users.noreply.github.com>2021-07-29 17:49:51 +0200
committerGitHub <noreply@github.com>2021-07-29 08:49:51 -0700
commitae268596ce9c591b28e80b04516b3ed8936f5aa5 (patch)
tree1165d9ff0d8e9f0dad0da56f519767fece63adb5 /keyboards/emi20/emi20.h
parentad6acb3a03b826ce64bc1171d84fe9c364e2031d (diff)
[Keyboard] Add Emi20 (#13603)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/emi20/emi20.h')
-rw-r--r--keyboards/emi20/emi20.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/emi20/emi20.h b/keyboards/emi20/emi20.h
new file mode 100644
index 0000000000..30d5750e49
--- /dev/null
+++ b/keyboards/emi20/emi20.h
@@ -0,0 +1,33 @@
+/* Copyright 2021 Aquacylinder
+ *
+ * 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"
+
+#define LAYOUT_ortho_5x4( \
+ K00, K01, K02, K03, \
+ K10, K11, K12, K13, \
+ K20, K21, K22, K23, \
+ K30, K31, K32, K33, \
+ K40, K41, K42, K43 \
+) { \
+ { K00, K01, K02, K03 }, \
+ { K10, K11, K12, K13 }, \
+ { K20, K21, K22, K23 }, \
+ { K30, K31, K32, K33 }, \
+ { K40, K41, K42, K43 } \
+}