summaryrefslogtreecommitdiff
path: root/keyboards/machine_industries/m4_a/m4_a.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/machine_industries/m4_a/m4_a.h')
-rw-r--r--keyboards/machine_industries/m4_a/m4_a.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/machine_industries/m4_a/m4_a.h b/keyboards/machine_industries/m4_a/m4_a.h
new file mode 100644
index 0000000000..13d3010991
--- /dev/null
+++ b/keyboards/machine_industries/m4_a/m4_a.h
@@ -0,0 +1,22 @@
+// Copyright 2022 naut
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "quantum.h"
+
+/* This is a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+#define LAYOUT( \
+ k00, k01, k11, \
+ k10 \
+) { \
+ { k00, k01 }, \
+ { k10, k11 } \
+}