From 36ddb567cc21944b6bdc76807ca08c3b44978dc5 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Mon, 14 Mar 2022 22:00:57 -0600 Subject: [PATCH] [Keyboard] Fix mechlovin/kay65 (#16653) --- keyboards/mechlovin/kay65/{rev1 => }/config.h | 0 keyboards/mechlovin/kay65/{rev1 => }/info.json | 0 keyboards/mechlovin/kay65/{rev1/rev1.c => kay65.c} | 4 ++-- keyboards/mechlovin/kay65/{rev1/rev1.h => kay65.h} | 0 .../mechlovin/kay65/{rev1 => }/keymaps/default/keymap.c | 6 +++--- .../mechlovin/kay65/{rev1 => }/keymaps/default/readme.md | 0 keyboards/mechlovin/kay65/{rev1 => }/keymaps/via/keymap.c | 4 ++-- keyboards/mechlovin/kay65/{rev1 => }/keymaps/via/readme.md | 0 keyboards/mechlovin/kay65/{rev1 => }/keymaps/via/rules.mk | 0 keyboards/mechlovin/kay65/{rev1 => }/readme.md | 4 ++-- keyboards/mechlovin/kay65/{rev1 => }/rules.mk | 0 11 files changed, 9 insertions(+), 9 deletions(-) rename keyboards/mechlovin/kay65/{rev1 => }/config.h (100%) rename keyboards/mechlovin/kay65/{rev1 => }/info.json (100%) rename keyboards/mechlovin/kay65/{rev1/rev1.c => kay65.c} (97%) rename keyboards/mechlovin/kay65/{rev1/rev1.h => kay65.h} (100%) rename keyboards/mechlovin/kay65/{rev1 => }/keymaps/default/keymap.c (96%) rename keyboards/mechlovin/kay65/{rev1 => }/keymaps/default/readme.md (100%) rename keyboards/mechlovin/kay65/{rev1 => }/keymaps/via/keymap.c (99%) rename keyboards/mechlovin/kay65/{rev1 => }/keymaps/via/readme.md (100%) rename keyboards/mechlovin/kay65/{rev1 => }/keymaps/via/rules.mk (100%) rename keyboards/mechlovin/kay65/{rev1 => }/readme.md (92%) rename keyboards/mechlovin/kay65/{rev1 => }/rules.mk (100%) diff --git a/keyboards/mechlovin/kay65/rev1/config.h b/keyboards/mechlovin/kay65/config.h similarity index 100% rename from keyboards/mechlovin/kay65/rev1/config.h rename to keyboards/mechlovin/kay65/config.h diff --git a/keyboards/mechlovin/kay65/rev1/info.json b/keyboards/mechlovin/kay65/info.json similarity index 100% rename from keyboards/mechlovin/kay65/rev1/info.json rename to keyboards/mechlovin/kay65/info.json diff --git a/keyboards/mechlovin/kay65/rev1/rev1.c b/keyboards/mechlovin/kay65/kay65.c similarity index 97% rename from keyboards/mechlovin/kay65/rev1/rev1.c rename to keyboards/mechlovin/kay65/kay65.c index bc894a96e1..abc6a7f8d4 100644 --- a/keyboards/mechlovin/kay65/rev1/rev1.c +++ b/keyboards/mechlovin/kay65/kay65.c @@ -15,11 +15,11 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "rev1.h" +#include "kay65.h" void keyboard_pre_init_user(void) { // Call the keyboard pre init code. // Set our LED pins as output setPinOutput(D7); -} \ No newline at end of file +} diff --git a/keyboards/mechlovin/kay65/rev1/rev1.h b/keyboards/mechlovin/kay65/kay65.h similarity index 100% rename from keyboards/mechlovin/kay65/rev1/rev1.h rename to keyboards/mechlovin/kay65/kay65.h diff --git a/keyboards/mechlovin/kay65/rev1/keymaps/default/keymap.c b/keyboards/mechlovin/kay65/keymaps/default/keymap.c similarity index 96% rename from keyboards/mechlovin/kay65/rev1/keymaps/default/keymap.c rename to keyboards/mechlovin/kay65/keymaps/default/keymap.c index 1607eee4fd..cc7cdc44fa 100644 --- a/keyboards/mechlovin/kay65/rev1/keymaps/default/keymap.c +++ b/keyboards/mechlovin/kay65/keymaps/default/keymap.c @@ -18,8 +18,8 @@ along with this program. If not, see . #include QMK_KEYBOARD_H enum my_keycodes { - LOGO_LED_ON = USER00, - LOGO_LED_OFF = USER01 + LOGO_LED_ON = SAFE_RANGE, + LOGO_LED_OFF }; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { @@ -47,6 +47,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } break; } - return true; + return true; }; diff --git a/keyboards/mechlovin/kay65/rev1/keymaps/default/readme.md b/keyboards/mechlovin/kay65/keymaps/default/readme.md similarity index 100% rename from keyboards/mechlovin/kay65/rev1/keymaps/default/readme.md rename to keyboards/mechlovin/kay65/keymaps/default/readme.md diff --git a/keyboards/mechlovin/kay65/rev1/keymaps/via/keymap.c b/keyboards/mechlovin/kay65/keymaps/via/keymap.c similarity index 99% rename from keyboards/mechlovin/kay65/rev1/keymaps/via/keymap.c rename to keyboards/mechlovin/kay65/keymaps/via/keymap.c index c2bdbf219f..02e1b8578d 100644 --- a/keyboards/mechlovin/kay65/rev1/keymaps/via/keymap.c +++ b/keyboards/mechlovin/kay65/keymaps/via/keymap.c @@ -68,5 +68,5 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } break; } - return true; -}; \ No newline at end of file + return true; +}; diff --git a/keyboards/mechlovin/kay65/rev1/keymaps/via/readme.md b/keyboards/mechlovin/kay65/keymaps/via/readme.md similarity index 100% rename from keyboards/mechlovin/kay65/rev1/keymaps/via/readme.md rename to keyboards/mechlovin/kay65/keymaps/via/readme.md diff --git a/keyboards/mechlovin/kay65/rev1/keymaps/via/rules.mk b/keyboards/mechlovin/kay65/keymaps/via/rules.mk similarity index 100% rename from keyboards/mechlovin/kay65/rev1/keymaps/via/rules.mk rename to keyboards/mechlovin/kay65/keymaps/via/rules.mk diff --git a/keyboards/mechlovin/kay65/rev1/readme.md b/keyboards/mechlovin/kay65/readme.md similarity index 92% rename from keyboards/mechlovin/kay65/rev1/readme.md rename to keyboards/mechlovin/kay65/readme.md index dfa454d370..768ce12aa7 100644 --- a/keyboards/mechlovin/kay65/rev1/readme.md +++ b/keyboards/mechlovin/kay65/readme.md @@ -10,11 +10,11 @@ A 65% PCB with centered USB, RGB underglow and top right LED. Make example for this keyboard (after setting up your build environment): - make mechlovin/kay65/rev1:default + make mechlovin/kay65:default Flashing example for this keyboard: - make mechlovin/kay65/rev1:default:flash + make mechlovin/kay65:default:flash 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/mechlovin/kay65/rev1/rules.mk b/keyboards/mechlovin/kay65/rules.mk similarity index 100% rename from keyboards/mechlovin/kay65/rev1/rules.mk rename to keyboards/mechlovin/kay65/rules.mk