summaryrefslogtreecommitdiff
path: root/keyboards/machine_industries/m4_a/keymaps
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/keymaps
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/keymaps')
-rw-r--r--keyboards/machine_industries/m4_a/keymaps/default/keymap.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/keyboards/machine_industries/m4_a/keymaps/default/keymap.c b/keyboards/machine_industries/m4_a/keymaps/default/keymap.c
new file mode 100644
index 0000000000..f5c02a185b
--- /dev/null
+++ b/keyboards/machine_industries/m4_a/keymaps/default/keymap.c
@@ -0,0 +1,17 @@
+// Copyright 2022 naut
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+// Defines names for use in layer keycodes and the keymap
+enum layer_names {
+ _BASE
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* Base */
+ [_BASE] = LAYOUT(
+ KC_1, KC_2, KC_3,
+ KC_0
+ )
+};