From a49bdd2659186e6ea0c888e91229260d7c849a2d Mon Sep 17 00:00:00 2001 From: emlah <88459992+emlah@users.noreply.github.com> Date: Sat, 13 Aug 2022 15:47:39 -0400 Subject: add BAMFK-4 (#17985) * add BAMFK-4 --- keyboards/keebio/bamfk4/keymaps/default/keymap.c | 18 ++++++++++++++++++ keyboards/keebio/bamfk4/keymaps/via/keymap.c | 15 +++++++++++++++ keyboards/keebio/bamfk4/keymaps/via/rules.mk | 3 +++ 3 files changed, 36 insertions(+) create mode 100644 keyboards/keebio/bamfk4/keymaps/default/keymap.c create mode 100644 keyboards/keebio/bamfk4/keymaps/via/keymap.c create mode 100644 keyboards/keebio/bamfk4/keymaps/via/rules.mk (limited to 'keyboards/keebio/bamfk4/keymaps') diff --git a/keyboards/keebio/bamfk4/keymaps/default/keymap.c b/keyboards/keebio/bamfk4/keymaps/default/keymap.c new file mode 100644 index 0000000000..960c436da3 --- /dev/null +++ b/keyboards/keebio/bamfk4/keymaps/default/keymap.c @@ -0,0 +1,18 @@ +// Copyright 2021 Danny Nguyen (@nooges) +// 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 { + _MAIN, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_MAIN] = LAYOUT( + KC_A, + KC_B, + KC_C, + KC_D + ) +}; \ No newline at end of file diff --git a/keyboards/keebio/bamfk4/keymaps/via/keymap.c b/keyboards/keebio/bamfk4/keymaps/via/keymap.c new file mode 100644 index 0000000000..454d9c6d62 --- /dev/null +++ b/keyboards/keebio/bamfk4/keymaps/via/keymap.c @@ -0,0 +1,15 @@ +#include QMK_KEYBOARD_H + +// Defines names for use in layer keycodes and the keymap +enum layer_names { + _MAIN, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_MAIN] = LAYOUT( + KC_A, + KC_B, + KC_C, + KC_D + ) +}; \ No newline at end of file diff --git a/keyboards/keebio/bamfk4/keymaps/via/rules.mk b/keyboards/keebio/bamfk4/keymaps/via/rules.mk new file mode 100644 index 0000000000..25da8e7e85 --- /dev/null +++ b/keyboards/keebio/bamfk4/keymaps/via/rules.mk @@ -0,0 +1,3 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes +MOUSEKEY_ENABLE = yes \ No newline at end of file -- cgit v1.2.3