From f92456c27488c5b599a7c7f588c335214f05e2df Mon Sep 17 00:00:00 2001 From: HorrorTroll Date: Thu, 12 May 2022 12:51:37 +0700 Subject: [PATCH] [Keyboard] Move M63 RGB into maker folder (#17061) --- keyboards/horrortroll/chinese_pcb/readme.md | 1 - .../chinese_pcb => mss_studio}/m63_rgb/config.h | 12 +++++------- .../chinese_pcb => mss_studio}/m63_rgb/info.json | 0 .../m63_rgb/keymaps/default/keymap.c | 7 ++++--- .../m63_rgb/keymaps/default/readme.md | 0 .../m63_rgb/keymaps/via/config.h | 3 ++- .../m63_rgb/keymaps/via/keymap.c | 7 ++++--- .../m63_rgb/keymaps/via/readme.md | 0 .../m63_rgb/keymaps/via/rules.mk | 0 .../chinese_pcb => mss_studio}/m63_rgb/m63_rgb.c | 3 ++- .../chinese_pcb => mss_studio}/m63_rgb/m63_rgb.h | 3 ++- .../chinese_pcb => mss_studio}/m63_rgb/readme.md | 6 +++--- .../chinese_pcb => mss_studio}/m63_rgb/rules.mk | 0 13 files changed, 22 insertions(+), 20 deletions(-) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/config.h (94%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/info.json (100%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/keymaps/default/keymap.c (98%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/keymaps/default/readme.md (100%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/keymaps/via/config.h (89%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/keymaps/via/keymap.c (98%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/keymaps/via/readme.md (100%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/keymaps/via/rules.mk (100%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/m63_rgb.c (96%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/m63_rgb.h (97%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/readme.md (79%) rename keyboards/{horrortroll/chinese_pcb => mss_studio}/m63_rgb/rules.mk (100%) diff --git a/keyboards/horrortroll/chinese_pcb/readme.md b/keyboards/horrortroll/chinese_pcb/readme.md index 3ed2a7c71ba4..cb73d8a43bf7 100644 --- a/keyboards/horrortroll/chinese_pcb/readme.md +++ b/keyboards/horrortroll/chinese_pcb/readme.md @@ -10,6 +10,5 @@ This is a folder for collection code of Chinese PCB, where they only sold one-ti | ------------- | ------------- | ------------- | ------- | ------------------------ | ---- | ----- | | Black E6.5 | Atmega32U4 | 68 Keys (65%) | No | Backlight & RGB Lighting | No | No | | Devil68 Pro | Atmega32U4 | 68 Keys (65%) | Yes | RGB Matrix | No | No | - | M63 RGB | STM32F072CBU6 | 63 Keys (60%) | Yes | RGB Matrix | No | No | | | | | | | | | diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/config.h b/keyboards/mss_studio/m63_rgb/config.h similarity index 94% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/config.h rename to keyboards/mss_studio/m63_rgb/config.h index 4c126bb3f3e2..ad5fbfa1c315 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/config.h +++ b/keyboards/mss_studio/m63_rgb/config.h @@ -1,4 +1,5 @@ -/* Copyright 2021 HorrorTroll +/* Copyright 2021 Mss Studio + * Copyright 2022 HorrorTroll * * 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 @@ -19,10 +20,10 @@ #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0x7516 -#define PRODUCT_ID 0x6002 +#define VENDOR_ID 0x4D4B +#define PRODUCT_ID 0x6063 #define DEVICE_VER 0x0001 -#define MANUFACTURER HorrorTroll +#define MANUFACTURER Mss Studio #define PRODUCT M63 RGB /* key matrix size */ @@ -33,9 +34,6 @@ #define MATRIX_ROW_PINS { B3, B4, A0, A2, A3 } #define MATRIX_COL_PINS { B0, B1, B2, B10, A7, A6, A5, A4, B5, B6, A1, B7, B8, B9 } -#define BOOTMAGIC_LITE_ROW 3 -#define BOOTMAGIC_LITE_COLUMN 5 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/info.json b/keyboards/mss_studio/m63_rgb/info.json similarity index 100% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/info.json rename to keyboards/mss_studio/m63_rgb/info.json diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/default/keymap.c b/keyboards/mss_studio/m63_rgb/keymaps/default/keymap.c similarity index 98% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/default/keymap.c rename to keyboards/mss_studio/m63_rgb/keymaps/default/keymap.c index 8f421c22f576..713b1288eb59 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/default/keymap.c +++ b/keyboards/mss_studio/m63_rgb/keymaps/default/keymap.c @@ -1,4 +1,5 @@ -/* Copyright 2021 HorrorTroll +/* Copyright 2021 Mss Studio + * Copyright 2022 HorrorTroll * * 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 @@ -27,8 +28,8 @@ // entirely and just use numbers. enum layer_names { - _BASE = 0, - _FN = 1 + _BASE, + _FN, }; enum user_rgb_mode { diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/default/readme.md b/keyboards/mss_studio/m63_rgb/keymaps/default/readme.md similarity index 100% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/default/readme.md rename to keyboards/mss_studio/m63_rgb/keymaps/default/readme.md diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/config.h b/keyboards/mss_studio/m63_rgb/keymaps/via/config.h similarity index 89% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/config.h rename to keyboards/mss_studio/m63_rgb/keymaps/via/config.h index fe6aa8c1f751..db20f3b87bbd 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/config.h +++ b/keyboards/mss_studio/m63_rgb/keymaps/via/config.h @@ -1,4 +1,5 @@ -/* Copyright 2021 HorrorTroll +/* Copyright 2021 Mss Studio + * Copyright 2022 HorrorTroll * * 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/horrortroll/chinese_pcb/m63_rgb/keymaps/via/keymap.c b/keyboards/mss_studio/m63_rgb/keymaps/via/keymap.c similarity index 98% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/keymap.c rename to keyboards/mss_studio/m63_rgb/keymaps/via/keymap.c index 8f421c22f576..713b1288eb59 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/keymap.c +++ b/keyboards/mss_studio/m63_rgb/keymaps/via/keymap.c @@ -1,4 +1,5 @@ -/* Copyright 2021 HorrorTroll +/* Copyright 2021 Mss Studio + * Copyright 2022 HorrorTroll * * 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 @@ -27,8 +28,8 @@ // entirely and just use numbers. enum layer_names { - _BASE = 0, - _FN = 1 + _BASE, + _FN, }; enum user_rgb_mode { diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/readme.md b/keyboards/mss_studio/m63_rgb/keymaps/via/readme.md similarity index 100% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/readme.md rename to keyboards/mss_studio/m63_rgb/keymaps/via/readme.md diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/rules.mk b/keyboards/mss_studio/m63_rgb/keymaps/via/rules.mk similarity index 100% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/keymaps/via/rules.mk rename to keyboards/mss_studio/m63_rgb/keymaps/via/rules.mk diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/m63_rgb.c b/keyboards/mss_studio/m63_rgb/m63_rgb.c similarity index 96% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/m63_rgb.c rename to keyboards/mss_studio/m63_rgb/m63_rgb.c index ef1eabddf8b3..dd071849b551 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/m63_rgb.c +++ b/keyboards/mss_studio/m63_rgb/m63_rgb.c @@ -1,4 +1,5 @@ -/* Copyright 2021 HorrorTroll +/* Copyright 2021 Mss Studio + * Copyright 2022 HorrorTroll * * 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/horrortroll/chinese_pcb/m63_rgb/m63_rgb.h b/keyboards/mss_studio/m63_rgb/m63_rgb.h similarity index 97% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/m63_rgb.h rename to keyboards/mss_studio/m63_rgb/m63_rgb.h index b2461758e2a8..19f7c7b167de 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/m63_rgb.h +++ b/keyboards/mss_studio/m63_rgb/m63_rgb.h @@ -1,4 +1,5 @@ -/* Copyright 2021 HorrorTroll +/* Copyright 2021 Mss Studio + * Copyright 2022 HorrorTroll * * 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/horrortroll/chinese_pcb/m63_rgb/readme.md b/keyboards/mss_studio/m63_rgb/readme.md similarity index 79% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/readme.md rename to keyboards/mss_studio/m63_rgb/readme.md index 7ec01047b1cc..942b7a60a6e6 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/readme.md +++ b/keyboards/mss_studio/m63_rgb/readme.md @@ -7,11 +7,11 @@ Support STM32F072CBU6 keyboard. Make example for this keyboard (after setting up your build environment): - make horrortroll/chinese_pcb/m63_rgb:default + make mss_studio/m63_rgb:default Flashing example for this keyboard: - make horrortroll/chinese_pcb/m63_rgb:default:flash + make mss_studio/m63_rgb: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). @@ -19,6 +19,6 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to Enter the bootloader in 3 ways: -* **Bootmagic reset**: Hold down the key at (3,5) in the matrix (B key) and plug in the keyboard +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (Esc key) and plug in the keyboard * **Physical reset button**: Press and hold the button on the back of the PCB, then plug in the keyboard * **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/rules.mk b/keyboards/mss_studio/m63_rgb/rules.mk similarity index 100% rename from keyboards/horrortroll/chinese_pcb/m63_rgb/rules.mk rename to keyboards/mss_studio/m63_rgb/rules.mk