From df371257552d9b8a9e290d8ddd120ea96f3dd9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szczepaniak?= Date: Sat, 5 Feb 2022 15:27:41 +0100 Subject: 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 Co-authored-by: Ryan --- .../handwired/macroboard/keymaps/default/keymap.c | 27 ++++++++++++++++++++++ .../handwired/macroboard/keymaps/default/readme.md | 1 + 2 files changed, 28 insertions(+) create mode 100644 keyboards/handwired/macroboard/keymaps/default/keymap.c create mode 100644 keyboards/handwired/macroboard/keymaps/default/readme.md (limited to 'keyboards/handwired/macroboard/keymaps/default') 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 . + */ +#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 -- cgit v1.2.3