From 887cfd58da1aac2e9c1de5b4e70e32e5131593f8 Mon Sep 17 00:00:00 2001 From: nibiria <72472777+nibiria@users.noreply.github.com> Date: Sun, 17 Jan 2021 12:03:53 -0500 Subject: [PATCH] [Keyboard] add Stream15 keyboard (#11515) * add keyboard Stream15 * committted changes as suggested by drashna * committed further changes as suggested * Update info.json removed excessive comma * Update keyboards/nibiria/stream15/rules.mk Co-authored-by: Ryan * Update keyboards/nibiria/stream15/keymaps/via/rules.mk Co-authored-by: Ryan * Update keyboards/nibiria/stream15/readme.md Co-authored-by: Ryan * resolved 2 more issues Co-authored-by: Ryan --- .../nibiria/stream15/keymaps/via/keymap.c | 44 +++++++++++++++++++ .../nibiria/stream15/keymaps/via/rules.mk | 1 + 2 files changed, 45 insertions(+) create mode 100644 keyboards/nibiria/stream15/keymaps/via/keymap.c create mode 100644 keyboards/nibiria/stream15/keymaps/via/rules.mk diff --git a/keyboards/nibiria/stream15/keymaps/via/keymap.c b/keyboards/nibiria/stream15/keymaps/via/keymap.c new file mode 100644 index 00000000..c4eeae8d --- /dev/null +++ b/keyboards/nibiria/stream15/keymaps/via/keymap.c @@ -0,0 +1,44 @@ +/* +Copyright 2012,2013 Jun Wako + +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_3x5( + KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, + KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, + KC_F23, KC_F24, KC_NO, KC_NO, RESET + ), + + [1] = LAYOUT_ortho_3x5( + _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______ + ), + + [2] = LAYOUT_ortho_3x5( + _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______ + ), + + [3] = LAYOUT_ortho_3x5( + _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______ + ) + +}; diff --git a/keyboards/nibiria/stream15/keymaps/via/rules.mk b/keyboards/nibiria/stream15/keymaps/via/rules.mk new file mode 100644 index 00000000..1e5b9980 --- /dev/null +++ b/keyboards/nibiria/stream15/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes