summaryrefslogtreecommitdiff
path: root/keyboards/machine_industries/m4_a/m4_a.h
diff options
context:
space:
mode:
authorJason Barnachea <jrbarnachea@gmail.com>2022-03-08 13:24:06 -0800
committerGitHub <noreply@github.com>2022-03-08 21:24:06 +0000
commitd38696a4937525d34445bf23863f99675ec2f54c (patch)
tree3f8c1ccfd683a4a11a6671a51f5e2cdc91a61bd6 /keyboards/machine_industries/m4_a/m4_a.h
parentb593cfccbde7b4fa7feb0e756eb601f7717bed98 (diff)
[Keyboard] Add Rama Works M4-A (#16570)
* Initial commit Add Rama Works M4-A keyboard. * Update default keymap.c * Update keyboards/machine_industries/m4_a/config.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
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 } \
+}