From 4ef2b0f81817aa24931293215b10dd5a031f109d Mon Sep 17 00:00:00 2001 From: Muhammad Rivaldi <50755960+valdiieee@users.noreply.github.com> Date: Wed, 23 Jun 2021 06:34:17 +0700 Subject: adding my custom keypad to qmk repository (#12150) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan Co-authored-by: Nick Brassel --- keyboards/makrosu/makrosu.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 keyboards/makrosu/makrosu.h (limited to 'keyboards/makrosu/makrosu.h') 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 }, \ +} + -- cgit v1.2.3