summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/macroboard/keymaps
diff options
context:
space:
mode:
authorMichał Szczepaniak <m.szczepaniak.000@gmail.com>2022-02-05 15:27:41 +0100
committerGitHub <noreply@github.com>2022-02-05 14:27:41 +0000
commitdf371257552d9b8a9e290d8ddd120ea96f3dd9e6 (patch)
tree50872d9a28e03274ba8b2a1d340e0e47c978541f /keyboards/handwired/macroboard/keymaps
parent10fda3ec8e4ee0a74bb4e8c0f41e554fb7344e78 (diff)
Add macroboard(5x6 OLKB blackpill) keyboard (#16219)
* Add macroboard keyboard * Fix issues requested in pull request * Removed halconf/mcuconf and moved to handwired directory * Added description, enabled bootmagic, disabled console * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/macroboard/keymaps')
-rw-r--r--keyboards/handwired/macroboard/keymaps/default/keymap.c27
-rw-r--r--keyboards/handwired/macroboard/keymaps/default/readme.md1
2 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/handwired/macroboard/keymaps/default/keymap.c b/keyboards/handwired/macroboard/keymaps/default/keymap.c
new file mode 100644
index 0000000000..ec587ee25d
--- /dev/null
+++ b/keyboards/handwired/macroboard/keymaps/default/keymap.c
@@ -0,0 +1,27 @@
+/* Copyright 2021 Michał Szczepaniak
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_ortho_5x6(
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
+ KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
+ KC_LCTL, KC_LGUI, RGB_TOG, KC_LALT, RESET, KC_SPC
+ )
+};
+
diff --git a/keyboards/handwired/macroboard/keymaps/default/readme.md b/keyboards/handwired/macroboard/keymaps/default/readme.md
new file mode 100644
index 0000000000..39fa5888ed
--- /dev/null
+++ b/keyboards/handwired/macroboard/keymaps/default/readme.md
@@ -0,0 +1 @@
+# The default keymap for macroboard