commit: 6510188138f74c3c2f20ff8fffd969b73923db54 parent 6f16349e93a2a0dcb62c331e36d02381fa184c60 Author: フィルターペーパー <76888457+filterpaper@users.noreply.github.com> Date: Sun, 24 Dec 2023 07:49:18 +0800 Refactor: move keyboards into kbdmania folder (#22714)Diffstat:
25 files changed, 83 insertions(+), 77 deletions(-)diff --git a/data/mappings/keyboard_aliases.hjson b/data/mappings/keyboard_aliases.hjson@@ -975,6 +975,12 @@ "keychron/q4": { "target": "keychron/q4/ansi/v1" } + "kmac": { + "target": "kbdmania/kmac" + } + "kmac_pad": { + "target": "kbdmania/kmac_pad" + } "kprepublic/bm40hsrgb": { "target": "kprepublic/bm40hsrgb/rev1" },diff --git a/keyboards/kmac/config.h b/keyboards/kbdmania/kmac/config.hdiff --git a/keyboards/kmac/info.json b/keyboards/kbdmania/kmac/info.jsondiff --git a/keyboards/kmac/keymaps/default/keymap.c b/keyboards/kbdmania/kmac/keymaps/default/keymap.cdiff --git a/keyboards/kmac/keymaps/default/readme.md b/keyboards/kbdmania/kmac/keymaps/default/readme.mddiff --git a/keyboards/kmac/keymaps/default_tkl_ansi/keymap.c b/keyboards/kbdmania/kmac/keymaps/default_tkl_ansi/keymap.cdiff --git a/keyboards/kmac/keymaps/default_tkl_ansi/readme.md b/keyboards/kbdmania/kmac/keymaps/default_tkl_ansi/readme.mddiff --git a/keyboards/kmac/keymaps/default_tkl_ansi_wkl/keymap.c b/keyboards/kbdmania/kmac/keymaps/default_tkl_ansi_wkl/keymap.cdiff --git a/keyboards/kmac/keymaps/default_tkl_ansi_wkl/readme.md b/keyboards/kbdmania/kmac/keymaps/default_tkl_ansi_wkl/readme.mddiff --git a/keyboards/kmac/keymaps/via/keymap.c b/keyboards/kbdmania/kmac/keymaps/via/keymap.cdiff --git a/keyboards/kmac/keymaps/via/rules.mk b/keyboards/kbdmania/kmac/keymaps/via/rules.mkdiff --git a/keyboards/kmac/kmac.c b/keyboards/kbdmania/kmac/kmac.cdiff --git a/keyboards/kmac/matrix.c b/keyboards/kbdmania/kmac/matrix.cdiff --git a/keyboards/kbdmania/kmac/readme.md b/keyboards/kbdmania/kmac/readme.md@@ -0,0 +1,21 @@ +# KMAC + +A Korean custom keyboard designed by Byungho Kim and the KBDMania community. + +Keyboard Maintainer: [Mathias Andersson](https://github.com/wraul) +Hardware Supported: KMAC & KMAC 2 +Hardware Availability: [KBDMania](http://www.kbdmania.net/xe/news/5232321) + +Make example for this keyboard (after setting up your build environment): + + make kbdmania/kmac: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). + +## Bootloader + +The PCB is hardwired to run the bootloader if the key at the `Caps Lock` position is held down when connecting the keyboard. + +## PCB versions + +The KMAC are available with two different PCB layouts, a winkey version and a winkeyless version. A default keymap are provided for each versions of the PCB.diff --git a/keyboards/kmac/rules.mk b/keyboards/kbdmania/kmac/rules.mkdiff --git a/keyboards/kmac_pad/config.h b/keyboards/kbdmania/kmac_pad/config.hdiff --git a/keyboards/kmac_pad/info.json b/keyboards/kbdmania/kmac_pad/info.jsondiff --git a/keyboards/kmac_pad/keymaps/default/keymap.c b/keyboards/kbdmania/kmac_pad/keymaps/default/keymap.cdiff --git a/keyboards/kmac_pad/keymaps/default/readme.md b/keyboards/kbdmania/kmac_pad/keymaps/default/readme.mddiff --git a/keyboards/kmac_pad/kmac_pad.c b/keyboards/kbdmania/kmac_pad/kmac_pad.cdiff --git a/keyboards/kmac_pad/matrix.c b/keyboards/kbdmania/kmac_pad/matrix.cdiff --git a/keyboards/kbdmania/kmac_pad/readme.md b/keyboards/kbdmania/kmac_pad/readme.md@@ -0,0 +1,56 @@ +# KMAC PAD + + + +KMAC PAD is a num pad keyboard. +It can be used independently, but can also be used by connecting with KMAC keyboard case. + +* Keyboard Maintainer: [talsu](https://github.com/talsu) +* Hardware Supported: KMAC PAD +* Hardware Availability: [KBDMania](http://www.kbdmania.net/xe/news/5232321) + +Make example for this keyboard (after setting up your build environment): + + make kbdmania/kmac_pad:default + +Flashing example for this keyboard: + + make kbdmania/kmac_pad: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). + +## Bootloader + +The PCB is hardwired to run the bootloader if the key at the `FN` position (the only key in first row) is held down when connecting the keyboard. + +## PCB + + + + +### Switch Pins + +The FN key in the `Row 0` is directly connected to the E2 pin. +The rest of the rows below that use MATRIX. (`Row 1 ~ Row 5`) +| Row | Pin | +|:-----:| ---------------------- | +| 0 | x (Not in Matrix) | +| 1 | D0 | +| 2 | D1 | +| 3 | D2 | +| 4 | D3 | +| 5 | D5 | + +| Column | Pin | +|:------:| --------------------- | +| 0 | C7 | +| 1 | C6 | +| 2 | B6 | +| 3 | B5 | + +### Backlight Pins + +There are 2 pins for backlight. + +The LED of the FN key uses pin `B3`. +All other keys are connected to the `B1` pin.diff --git a/keyboards/kmac_pad/rules.mk b/keyboards/kbdmania/kmac_pad/rules.mkdiff --git a/keyboards/kmac/readme.md b/keyboards/kmac/readme.md@@ -1,21 +0,0 @@ -# KMAC - -A Korean custom keyboard designed by Byungho Kim and the KBDMania community. - -Keyboard Maintainer: [Mathias Andersson](https://github.com/wraul) -Hardware Supported: KMAC & KMAC 2 -Hardware Availability: http://www.kbdmania.net/xe/news/5232321 - -Make example for this keyboard (after setting up your build environment): - - make kmac: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). - -## Bootloader - -The PCB is hardwired to run the bootloader if the key at the `Caps Lock` position is held down when connecting the keyboard. - -## PCB versions - -The KMAC are available with two different PCB layouts, a winkey version and a winkeyless version. A default keymap are provided for each versions of the PCB.diff --git a/keyboards/kmac_pad/readme.md b/keyboards/kmac_pad/readme.md@@ -1,56 +0,0 @@ -# KMAC PAD - - - -KMAC PAD is a num pad keyboard. -It can be used independently, but can also be used by connecting with KMAC keyboard case. - -* Keyboard Maintainer: [talsu](https://github.com/talsu) -* Hardware Supported: KMAC PAD -* Hardware Availability: http://www.kbdmania.net/xe/news/5232321 - -Make example for this keyboard (after setting up your build environment): - - make kmac_pad:default - -Flashing example for this keyboard: - - make kmac_pad: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). - -## Bootloader - -The PCB is hardwired to run the bootloader if the key at the `FN` position (the only key in first row) is held down when connecting the keyboard. - -## PCB - - - - -### Switch Pins - -The FN key in the `Row 0` is directly connected to the E2 pin. -The rest of the rows below that use MATRIX. (`Row 1 ~ Row 5`) -| Row | Pin | -|:-----:| ---------------------- | -| 0 | x (Not in Matrix) | -| 1 | D0 | -| 2 | D1 | -| 3 | D2 | -| 4 | D3 | -| 5 | D5 | - -| Column | Pin | -|:------:| --------------------- | -| 0 | C7 | -| 1 | C6 | -| 2 | B6 | -| 3 | B5 | - -### Backlight Pins - -There are 2 pins for backlight. - -The LED of the FN key uses pin `B3`. -All other keys are connected to the `B1` pin.