summaryrefslogtreecommitdiff
path: root/keyboards/makrosu/makrosu.h
diff options
context:
space:
mode:
authorMuhammad Rivaldi <50755960+valdiieee@users.noreply.github.com>2021-06-23 06:34:17 +0700
committerGitHub <noreply@github.com>2021-06-23 09:34:17 +1000
commit4ef2b0f81817aa24931293215b10dd5a031f109d (patch)
treecb88388770877bf2c73a4e31d96adca2e4e2f735 /keyboards/makrosu/makrosu.h
parent0c5c39c18a4545bc3b9b2e79243a952514579e02 (diff)
adding my custom keypad to qmk repository (#12150)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/makrosu/makrosu.h')
-rw-r--r--keyboards/makrosu/makrosu.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/makrosu/makrosu.h b/keyboards/makrosu/makrosu.h
new file mode 100644
index 0000000000..ee61ce1185
--- /dev/null
+++ b/keyboards/makrosu/makrosu.h
@@ -0,0 +1,20 @@
+#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( \
+ K02, K03, K04, \
+ K00, K01, K05 \
+) \
+{ \
+ { K00, K01, K02, K03, K04, K05 }, \
+}
+