From d38696a4937525d34445bf23863f99675ec2f54c Mon Sep 17 00:00:00 2001 From: Jason Barnachea Date: Tue, 8 Mar 2022 13:24:06 -0800 Subject: [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 Co-authored-by: Ryan --- keyboards/machine_industries/m4_a/m4_a.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 keyboards/machine_industries/m4_a/m4_a.h (limited to 'keyboards/machine_industries/m4_a/m4_a.h') 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 } \ +} -- cgit v1.2.3