From f0f61741368eaa7c27873cf4592ab36c66788022 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: [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/default/keymap.c | 27 +++++++++++++ .../nibiria/stream15/keymaps/default/rules.mk | 1 + keyboards/nibiria/stream15/keymaps/via/keymap.c | 44 ++++++++++++++++++++++ keyboards/nibiria/stream15/keymaps/via/rules.mk | 1 + 4 files changed, 73 insertions(+) create mode 100644 keyboards/nibiria/stream15/keymaps/default/keymap.c create mode 100644 keyboards/nibiria/stream15/keymaps/default/rules.mk create mode 100644 keyboards/nibiria/stream15/keymaps/via/keymap.c create mode 100644 keyboards/nibiria/stream15/keymaps/via/rules.mk (limited to 'keyboards/nibiria/stream15/keymaps') diff --git a/keyboards/nibiria/stream15/keymaps/default/keymap.c b/keyboards/nibiria/stream15/keymaps/default/keymap.c new file mode 100644 index 0000000000..96ff04740b --- /dev/null +++ b/keyboards/nibiria/stream15/keymaps/default/keymap.c @@ -0,0 +1,27 @@ + /* Copyright 2021 Matt Clendaniel + * + * 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_1, KC_2, KC_3, KC_4, KC_5, + KC_6, KC_7, KC_8, KC_9, KC_0, + KC_1, KC_2, KC_3, KC_4, KC_5), + +}; + diff --git a/keyboards/nibiria/stream15/keymaps/default/rules.mk b/keyboards/nibiria/stream15/keymaps/default/rules.mk new file mode 100644 index 0000000000..3b8411888c --- /dev/null +++ b/keyboards/nibiria/stream15/keymaps/default/rules.mk @@ -0,0 +1 @@ +MIDI_ENABLE = yes diff --git a/keyboards/nibiria/stream15/keymaps/via/keymap.c b/keyboards/nibiria/stream15/keymaps/via/keymap.c new file mode 100644 index 0000000000..c4eeae8def --- /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 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/nibiria/stream15/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes -- cgit v1.2.3