From 6ac975e38f8e7eb39ea5dda7f6d97e4d5b98e0c7 Mon Sep 17 00:00:00 2001 From: Peter Park Date: Thu, 8 Dec 2022 10:09:33 -0800 Subject: [PATCH 1/3] utility_bar --- .../the_uni/keymaps/utility_bar/keymap.c | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 keyboards/the_uni/keymaps/utility_bar/keymap.c diff --git a/keyboards/the_uni/keymaps/utility_bar/keymap.c b/keyboards/the_uni/keymaps/utility_bar/keymap.c new file mode 100644 index 000000000000..e9eb5dfe94ab --- /dev/null +++ b/keyboards/the_uni/keymaps/utility_bar/keymap.c @@ -0,0 +1,41 @@ +/* +Copyright 2021 Peter C. Park + +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 +#include "keymap_steno.h" + +enum uni_layers { + _PLOVER, + _UTILITY, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [_PLOVER] = LAYOUT( + STN_S1, STN_TL, STN_PL, STN_HL, STN_ST1, STN_ST3, STN_FR, STN_PR, STN_LR, STN_TR, STN_DR , + STN_S2, STN_KL, STN_WL, STN_RL, STN_ST2, STN_ST4, STN_RR, STN_BR, STN_GR, STN_SR, STN_ZR , + MO(_UTILITY), STN_A, STN_O, STN_E, STN_U, STN_N2), + [_UTILITY] = LAYOUT( + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + KC_LSFT, KC_LCTL, KC_LALT, KC_LCMD, KC_SPC, KC_VOLD, KC_LEFT, KC_DOWN, KC_UP ,KC_RIGHT, KC_VOLU, + _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX), + +}; + + void matrix_init_user() { + steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT + } From a1686ad40628ae2f5a91a0235a21f458ce522503 Mon Sep 17 00:00:00 2001 From: Peter Park Date: Wed, 14 Dec 2022 08:13:00 -0800 Subject: [PATCH 2/3] move to stenokeyboards folder and update README --- keyboards/{ => stenokeyboards}/the_uni/info.json | 0 .../{ => stenokeyboards}/the_uni/keymaps/default/keymap.c | 0 .../{ => stenokeyboards}/the_uni/keymaps/qwerty/keymap.c | 0 .../the_uni/keymaps/utility_bar/keymap.c | 2 +- keyboards/{ => stenokeyboards}/the_uni/pro_micro/config.h | 0 keyboards/{ => stenokeyboards}/the_uni/pro_micro/info.json | 0 .../{ => stenokeyboards}/the_uni/pro_micro/pro_micro.c | 0 .../{ => stenokeyboards}/the_uni/pro_micro/pro_micro.h | 0 keyboards/{ => stenokeyboards}/the_uni/pro_micro/readme.md | 2 +- keyboards/{ => stenokeyboards}/the_uni/pro_micro/rules.mk | 0 keyboards/{ => stenokeyboards}/the_uni/readme.md | 6 +++--- keyboards/{ => stenokeyboards}/the_uni/rp_2040/config.h | 0 keyboards/{ => stenokeyboards}/the_uni/rp_2040/info.json | 0 keyboards/{ => stenokeyboards}/the_uni/rp_2040/readme.md | 2 +- keyboards/{ => stenokeyboards}/the_uni/rp_2040/rp_2040.c | 0 keyboards/{ => stenokeyboards}/the_uni/rp_2040/rp_2040.h | 0 keyboards/{ => stenokeyboards}/the_uni/rp_2040/rules.mk | 0 keyboards/{ => stenokeyboards}/the_uni/usb_c/config.h | 0 keyboards/{ => stenokeyboards}/the_uni/usb_c/info.json | 0 keyboards/{ => stenokeyboards}/the_uni/usb_c/readme.md | 6 +++--- keyboards/{ => stenokeyboards}/the_uni/usb_c/rules.mk | 0 keyboards/{ => stenokeyboards}/the_uni/usb_c/usb_c.c | 0 keyboards/{ => stenokeyboards}/the_uni/usb_c/usb_c.h | 0 23 files changed, 9 insertions(+), 9 deletions(-) rename keyboards/{ => stenokeyboards}/the_uni/info.json (100%) rename keyboards/{ => stenokeyboards}/the_uni/keymaps/default/keymap.c (100%) rename keyboards/{ => stenokeyboards}/the_uni/keymaps/qwerty/keymap.c (100%) rename keyboards/{ => stenokeyboards}/the_uni/keymaps/utility_bar/keymap.c (96%) rename keyboards/{ => stenokeyboards}/the_uni/pro_micro/config.h (100%) rename keyboards/{ => stenokeyboards}/the_uni/pro_micro/info.json (100%) rename keyboards/{ => stenokeyboards}/the_uni/pro_micro/pro_micro.c (100%) rename keyboards/{ => stenokeyboards}/the_uni/pro_micro/pro_micro.h (100%) rename keyboards/{ => stenokeyboards}/the_uni/pro_micro/readme.md (95%) rename keyboards/{ => stenokeyboards}/the_uni/pro_micro/rules.mk (100%) rename keyboards/{ => stenokeyboards}/the_uni/readme.md (88%) rename keyboards/{ => stenokeyboards}/the_uni/rp_2040/config.h (100%) rename keyboards/{ => stenokeyboards}/the_uni/rp_2040/info.json (100%) rename keyboards/{ => stenokeyboards}/the_uni/rp_2040/readme.md (94%) rename keyboards/{ => stenokeyboards}/the_uni/rp_2040/rp_2040.c (100%) rename keyboards/{ => stenokeyboards}/the_uni/rp_2040/rp_2040.h (100%) rename keyboards/{ => stenokeyboards}/the_uni/rp_2040/rules.mk (100%) rename keyboards/{ => stenokeyboards}/the_uni/usb_c/config.h (100%) rename keyboards/{ => stenokeyboards}/the_uni/usb_c/info.json (100%) rename keyboards/{ => stenokeyboards}/the_uni/usb_c/readme.md (74%) rename keyboards/{ => stenokeyboards}/the_uni/usb_c/rules.mk (100%) rename keyboards/{ => stenokeyboards}/the_uni/usb_c/usb_c.c (100%) rename keyboards/{ => stenokeyboards}/the_uni/usb_c/usb_c.h (100%) diff --git a/keyboards/the_uni/info.json b/keyboards/stenokeyboards/the_uni/info.json similarity index 100% rename from keyboards/the_uni/info.json rename to keyboards/stenokeyboards/the_uni/info.json diff --git a/keyboards/the_uni/keymaps/default/keymap.c b/keyboards/stenokeyboards/the_uni/keymaps/default/keymap.c similarity index 100% rename from keyboards/the_uni/keymaps/default/keymap.c rename to keyboards/stenokeyboards/the_uni/keymaps/default/keymap.c diff --git a/keyboards/the_uni/keymaps/qwerty/keymap.c b/keyboards/stenokeyboards/the_uni/keymaps/qwerty/keymap.c similarity index 100% rename from keyboards/the_uni/keymaps/qwerty/keymap.c rename to keyboards/stenokeyboards/the_uni/keymaps/qwerty/keymap.c diff --git a/keyboards/the_uni/keymaps/utility_bar/keymap.c b/keyboards/stenokeyboards/the_uni/keymaps/utility_bar/keymap.c similarity index 96% rename from keyboards/the_uni/keymaps/utility_bar/keymap.c rename to keyboards/stenokeyboards/the_uni/keymaps/utility_bar/keymap.c index e9eb5dfe94ab..2903d352b9e9 100644 --- a/keyboards/the_uni/keymaps/utility_bar/keymap.c +++ b/keyboards/stenokeyboards/the_uni/keymaps/utility_bar/keymap.c @@ -1,5 +1,5 @@ /* -Copyright 2021 Peter C. Park +Copyright 2022 Peter C. Park 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 diff --git a/keyboards/the_uni/pro_micro/config.h b/keyboards/stenokeyboards/the_uni/pro_micro/config.h similarity index 100% rename from keyboards/the_uni/pro_micro/config.h rename to keyboards/stenokeyboards/the_uni/pro_micro/config.h diff --git a/keyboards/the_uni/pro_micro/info.json b/keyboards/stenokeyboards/the_uni/pro_micro/info.json similarity index 100% rename from keyboards/the_uni/pro_micro/info.json rename to keyboards/stenokeyboards/the_uni/pro_micro/info.json diff --git a/keyboards/the_uni/pro_micro/pro_micro.c b/keyboards/stenokeyboards/the_uni/pro_micro/pro_micro.c similarity index 100% rename from keyboards/the_uni/pro_micro/pro_micro.c rename to keyboards/stenokeyboards/the_uni/pro_micro/pro_micro.c diff --git a/keyboards/the_uni/pro_micro/pro_micro.h b/keyboards/stenokeyboards/the_uni/pro_micro/pro_micro.h similarity index 100% rename from keyboards/the_uni/pro_micro/pro_micro.h rename to keyboards/stenokeyboards/the_uni/pro_micro/pro_micro.h diff --git a/keyboards/the_uni/pro_micro/readme.md b/keyboards/stenokeyboards/the_uni/pro_micro/readme.md similarity index 95% rename from keyboards/the_uni/pro_micro/readme.md rename to keyboards/stenokeyboards/the_uni/pro_micro/readme.md index 397cf7a198c4..1fc689e6ee4e 100644 --- a/keyboards/the_uni/pro_micro/readme.md +++ b/keyboards/stenokeyboards/the_uni/pro_micro/readme.md @@ -17,6 +17,6 @@ Enter the bootloader by: Make examples for this keyboard (after setting up your build environment): - make the_uni/pro_micro:default + make stenokeyboards/the_uni/pro_micro:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/the_uni/pro_micro/rules.mk b/keyboards/stenokeyboards/the_uni/pro_micro/rules.mk similarity index 100% rename from keyboards/the_uni/pro_micro/rules.mk rename to keyboards/stenokeyboards/the_uni/pro_micro/rules.mk diff --git a/keyboards/the_uni/readme.md b/keyboards/stenokeyboards/the_uni/readme.md similarity index 88% rename from keyboards/the_uni/readme.md rename to keyboards/stenokeyboards/the_uni/readme.md index 88cb81b111d6..9197266497a7 100644 --- a/keyboards/the_uni/readme.md +++ b/keyboards/stenokeyboards/the_uni/readme.md @@ -25,12 +25,12 @@ Enter the bootloader by: Make examples for this keyboard (after setting up your build environment): # version 1 and 2 - make the_uni/pro_micro:default + make stenokeyboards/the_uni/pro_micro:default # version 3 - make the_uni/usb_c:default + make stenokeyboards/the_uni/usb_c:default # version 4 - qmk compile -kb the_uni/rp_2040 -km default + qmk compile -kb stenokeyboards/the_uni/rp_2040 -km default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/the_uni/rp_2040/config.h b/keyboards/stenokeyboards/the_uni/rp_2040/config.h similarity index 100% rename from keyboards/the_uni/rp_2040/config.h rename to keyboards/stenokeyboards/the_uni/rp_2040/config.h diff --git a/keyboards/the_uni/rp_2040/info.json b/keyboards/stenokeyboards/the_uni/rp_2040/info.json similarity index 100% rename from keyboards/the_uni/rp_2040/info.json rename to keyboards/stenokeyboards/the_uni/rp_2040/info.json diff --git a/keyboards/the_uni/rp_2040/readme.md b/keyboards/stenokeyboards/the_uni/rp_2040/readme.md similarity index 94% rename from keyboards/the_uni/rp_2040/readme.md rename to keyboards/stenokeyboards/the_uni/rp_2040/readme.md index 5867a213d9fc..2dcdf3d54050 100644 --- a/keyboards/the_uni/rp_2040/readme.md +++ b/keyboards/stenokeyboards/the_uni/rp_2040/readme.md @@ -20,6 +20,6 @@ Enter the bootloader by: Make examples for this keyboard (after setting up your build environment): - qmk compile -kb the_uni/rp_2040 -km default + qmk compile -kb stenokeyboards/the_uni/rp_2040 -km default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/the_uni/rp_2040/rp_2040.c b/keyboards/stenokeyboards/the_uni/rp_2040/rp_2040.c similarity index 100% rename from keyboards/the_uni/rp_2040/rp_2040.c rename to keyboards/stenokeyboards/the_uni/rp_2040/rp_2040.c diff --git a/keyboards/the_uni/rp_2040/rp_2040.h b/keyboards/stenokeyboards/the_uni/rp_2040/rp_2040.h similarity index 100% rename from keyboards/the_uni/rp_2040/rp_2040.h rename to keyboards/stenokeyboards/the_uni/rp_2040/rp_2040.h diff --git a/keyboards/the_uni/rp_2040/rules.mk b/keyboards/stenokeyboards/the_uni/rp_2040/rules.mk similarity index 100% rename from keyboards/the_uni/rp_2040/rules.mk rename to keyboards/stenokeyboards/the_uni/rp_2040/rules.mk diff --git a/keyboards/the_uni/usb_c/config.h b/keyboards/stenokeyboards/the_uni/usb_c/config.h similarity index 100% rename from keyboards/the_uni/usb_c/config.h rename to keyboards/stenokeyboards/the_uni/usb_c/config.h diff --git a/keyboards/the_uni/usb_c/info.json b/keyboards/stenokeyboards/the_uni/usb_c/info.json similarity index 100% rename from keyboards/the_uni/usb_c/info.json rename to keyboards/stenokeyboards/the_uni/usb_c/info.json diff --git a/keyboards/the_uni/usb_c/readme.md b/keyboards/stenokeyboards/the_uni/usb_c/readme.md similarity index 74% rename from keyboards/the_uni/usb_c/readme.md rename to keyboards/stenokeyboards/the_uni/usb_c/readme.md index 23895db39fb6..f7a630cf86c2 100644 --- a/keyboards/the_uni/usb_c/readme.md +++ b/keyboards/stenokeyboards/the_uni/usb_c/readme.md @@ -10,11 +10,11 @@ Enter the bootloader by: -* **Physical reset button**: On the Uni v3, briefly press the button on the back of the PCB. -* **Reset Pads**: Uni v1 and v2 have pins/pads you must short instead (RST to GND). +- **Physical reset button**: On the Uni v3, briefly press the button on the back of the PCB. +- **Reset Pads**: Uni v1 and v2 have pins/pads you must short instead (RST to GND). Make examples for this keyboard (after setting up your build environment): - make the_uni/usb_c:default + make stenokeyboards/the_uni/usb_c:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/the_uni/usb_c/rules.mk b/keyboards/stenokeyboards/the_uni/usb_c/rules.mk similarity index 100% rename from keyboards/the_uni/usb_c/rules.mk rename to keyboards/stenokeyboards/the_uni/usb_c/rules.mk diff --git a/keyboards/the_uni/usb_c/usb_c.c b/keyboards/stenokeyboards/the_uni/usb_c/usb_c.c similarity index 100% rename from keyboards/the_uni/usb_c/usb_c.c rename to keyboards/stenokeyboards/the_uni/usb_c/usb_c.c diff --git a/keyboards/the_uni/usb_c/usb_c.h b/keyboards/stenokeyboards/the_uni/usb_c/usb_c.h similarity index 100% rename from keyboards/the_uni/usb_c/usb_c.h rename to keyboards/stenokeyboards/the_uni/usb_c/usb_c.h From d2761f8018b1af6874ce6454075c6d0cce8c0698 Mon Sep 17 00:00:00 2001 From: Peter Park Date: Wed, 14 Dec 2022 10:27:58 -0800 Subject: [PATCH 3/3] remove keymap changes --- .../the_uni/keymaps/utility_bar/keymap.c | 41 ------------------- 1 file changed, 41 deletions(-) delete mode 100644 keyboards/stenokeyboards/the_uni/keymaps/utility_bar/keymap.c diff --git a/keyboards/stenokeyboards/the_uni/keymaps/utility_bar/keymap.c b/keyboards/stenokeyboards/the_uni/keymaps/utility_bar/keymap.c deleted file mode 100644 index 2903d352b9e9..000000000000 --- a/keyboards/stenokeyboards/the_uni/keymaps/utility_bar/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* -Copyright 2022 Peter C. Park - -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 -#include "keymap_steno.h" - -enum uni_layers { - _PLOVER, - _UTILITY, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_PLOVER] = LAYOUT( - STN_S1, STN_TL, STN_PL, STN_HL, STN_ST1, STN_ST3, STN_FR, STN_PR, STN_LR, STN_TR, STN_DR , - STN_S2, STN_KL, STN_WL, STN_RL, STN_ST2, STN_ST4, STN_RR, STN_BR, STN_GR, STN_SR, STN_ZR , - MO(_UTILITY), STN_A, STN_O, STN_E, STN_U, STN_N2), - [_UTILITY] = LAYOUT( - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - KC_LSFT, KC_LCTL, KC_LALT, KC_LCMD, KC_SPC, KC_VOLD, KC_LEFT, KC_DOWN, KC_UP ,KC_RIGHT, KC_VOLU, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX), - -}; - - void matrix_init_user() { - steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT - }