From 3c65898b480508d0dbc94f36368b833c9f6d7635 Mon Sep 17 00:00:00 2001 From: gezhaoyou Date: Mon, 15 May 2023 15:50:16 +0800 Subject: [PATCH 1/7] [Keyboard] Add soda/mango --- keyboards/soda/mango/config.h | 16 ++++ keyboards/soda/mango/info.json | 76 +++++++++++++++++++ keyboards/soda/mango/keymaps/default/keymap.c | 32 ++++++++ keyboards/soda/mango/keymaps/via/keymap.c | 33 ++++++++ keyboards/soda/mango/keymaps/via/rules.mk | 1 + keyboards/soda/mango/mango.c | 18 +++++ keyboards/soda/mango/mango.h | 21 +++++ keyboards/soda/mango/mcuconf.h | 23 ++++++ keyboards/soda/mango/readme.md | 29 +++++++ keyboards/soda/mango/rules.mk | 1 + 10 files changed, 250 insertions(+) create mode 100644 keyboards/soda/mango/config.h create mode 100644 keyboards/soda/mango/info.json create mode 100755 keyboards/soda/mango/keymaps/default/keymap.c create mode 100755 keyboards/soda/mango/keymaps/via/keymap.c create mode 100644 keyboards/soda/mango/keymaps/via/rules.mk create mode 100644 keyboards/soda/mango/mango.c create mode 100644 keyboards/soda/mango/mango.h create mode 100644 keyboards/soda/mango/mcuconf.h create mode 100644 keyboards/soda/mango/readme.md create mode 100644 keyboards/soda/mango/rules.mk diff --git a/keyboards/soda/mango/config.h b/keyboards/soda/mango/config.h new file mode 100644 index 000000000000..aa944c7f5cde --- /dev/null +++ b/keyboards/soda/mango/config.h @@ -0,0 +1,16 @@ +/* +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 . +*/ + +#pragma once diff --git a/keyboards/soda/mango/info.json b/keyboards/soda/mango/info.json new file mode 100644 index 000000000000..1c697e1782f1 --- /dev/null +++ b/keyboards/soda/mango/info.json @@ -0,0 +1,76 @@ +{ + "manufacturer": "Soda", + "keyboard_name": "Mango", + "url": "https://github.com/gezhaoyou", + "maintainer": "JeayoKeh", + "diode_direction": "ROW2COL", + "processor": "STM32F072", + "bootloader": "stm32-dfu", + "matrix_pins": { + "cols": ["A6", "A5", "A4", "A3"], + "rows": ["B10", "B2", "B1", "B0", "A7"] + }, + "usb": { + "device_version": "1.0.0", + "force_nkro": true, + "vid": "0x3A54", + "pid": "0x4F5D" + }, + "layouts": { + "LAYOUT": { + "layout": [ + { + "matrix": [0, 0], "x": 3.25, "y": 1.5 + }, + { + "matrix": [0, 1], "x": 4.25, "y": 1.5 + }, + { + "matrix": [0, 2], "x": 5.25, "y": 1.5 + }, + { + "matrix": [0, 3], "x": 6.25, "y": 1.5 + }, + { + "matrix": [1, 0], "x": 3.25, "y": 2.5 + }, + { + "matrix": [1, 1], "x": 4.25, "y": 2.5 + }, + { + "matrix": [1, 2], "x": 5.25, "y": 2.5 + }, + { + "matrix": [2, 0], "x": 3.25, "y": 3.5 + }, + { + "matrix": [2, 1], "x": 4.25, "y": 3.5 + }, + { + "matrix": [2, 2], "x": 5.25, "y": 3.5 + }, + { + "matrix": [2, 3], "x": 6.25, "y": 2.5, "h": 2 + }, + { + "matrix": [3, 0], "x": 3.25, "y": 4.5 + }, + { + "matrix": [3, 1], "x": 4.25, "y": 4.5 + }, + { + "matrix": [3, 2], "x": 5.25, "y": 4.5 + }, + { + "matrix": [4, 0], "x": 3.25, "y": 5.5, "w": 2 + }, + { + "matrix": [4, 1], "x": 5.25, "y": 5.5 + }, + { + "matrix": [4, 2], "x": 6.25, "y": 5.5, "h": 2 + } + ] + } + } +} diff --git a/keyboards/soda/mango/keymaps/default/keymap.c b/keyboards/soda/mango/keymaps/default/keymap.c new file mode 100755 index 000000000000..91e7e28d04ad --- /dev/null +++ b/keyboards/soda/mango/keymaps/default/keymap.c @@ -0,0 +1,32 @@ +/* +Copyright 2012,2013 gezhaoyou + +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( + KC_NUM_LOCK, KC_PSLS, KC_PAST, LT(1, KC_PMNS), + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT), + [1] = LAYOUT( + KC_TRNS, KC_CALCULATOR, KC_BSPC, KC_TRNS, + RGB_MODE_FORWARD, RGB_VAI, RGB_HUI, + RGB_SPD, RGB_TOG, RGB_SPI, QK_BOOTLOADER, + RGB_MODE_REVERSE, RGB_VAD, RGB_HUD, + KC_TRNS, KC_TRNS, QK_CLEAR_EEPROM), +}; \ No newline at end of file diff --git a/keyboards/soda/mango/keymaps/via/keymap.c b/keyboards/soda/mango/keymaps/via/keymap.c new file mode 100755 index 000000000000..51d9134851d4 --- /dev/null +++ b/keyboards/soda/mango/keymaps/via/keymap.c @@ -0,0 +1,33 @@ +/* +Copyright 2012,2013 gezhaoyou + +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( + KC_NUM_LOCK, KC_PSLS, KC_PAST, LT(1, KC_PMNS), + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT), + [1] = LAYOUT( + KC_TRNS, KC_CALCULATOR, KC_BSPC, KC_TRNS, + RGB_MODE_FORWARD, RGB_VAI, RGB_HUI, + RGB_SPD, RGB_TOG, RGB_SPI, QK_BOOTLOADER, + RGB_MODE_REVERSE, RGB_VAD, RGB_HUD, + KC_TRNS, KC_TRNS, QK_CLEAR_EEPROM), +}; + diff --git a/keyboards/soda/mango/keymaps/via/rules.mk b/keyboards/soda/mango/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/soda/mango/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/soda/mango/mango.c b/keyboards/soda/mango/mango.c new file mode 100644 index 000000000000..ae23a273ff83 --- /dev/null +++ b/keyboards/soda/mango/mango.c @@ -0,0 +1,18 @@ +/* +Copyright 2015 Álvaro "Gondolindrim" Volpato + +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 "mango.h" \ No newline at end of file diff --git a/keyboards/soda/mango/mango.h b/keyboards/soda/mango/mango.h new file mode 100644 index 000000000000..989119185f85 --- /dev/null +++ b/keyboards/soda/mango/mango.h @@ -0,0 +1,21 @@ +/* +Copyright 2015 Álvaro "Gondolindrim" Volpato + +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 . +*/ + +#pragma once + +#include "quantum.h" + diff --git a/keyboards/soda/mango/mcuconf.h b/keyboards/soda/mango/mcuconf.h new file mode 100644 index 000000000000..033c89fa82fe --- /dev/null +++ b/keyboards/soda/mango/mcuconf.h @@ -0,0 +1,23 @@ +/* Copyright 2020 QMK + * + * 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 . + */ + +#pragma once + +#include_next + +#undef STM32_I2C_USE_DMA +#define STM32_I2C_USE_DMA FALSE + diff --git a/keyboards/soda/mango/readme.md b/keyboards/soda/mango/readme.md new file mode 100644 index 000000000000..7787298714af --- /dev/null +++ b/keyboards/soda/mango/readme.md @@ -0,0 +1,29 @@ +# mango-17 + +A customizable 17 keyboard, support both HOTSWAP and SOLDER. + +* Keyboard Maintainer: [gezhaoyou](https://github.com/gezhaoyou) +* Hardware Supported: [gezhaoyou](https://github.com/gezhaoyou) + +Make example for this keyboard (after setting up your build environment): + +**default**: + +```shell +qmk compile -kb soda/mango -km default +``` + +**via:** + +```shell +qmk compile -kb soda/mango -km via +``` + +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button: [boot] first, then press button: [reset] on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available + +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/soda/mango/rules.mk b/keyboards/soda/mango/rules.mk new file mode 100644 index 000000000000..7ff128fa692e --- /dev/null +++ b/keyboards/soda/mango/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file From ed4dfb52ea2189ca91aad0793931c49016d218fb Mon Sep 17 00:00:00 2001 From: gezhaoyou Date: Fri, 2 Jun 2023 09:25:00 +0800 Subject: [PATCH 2/7] update keyboard soda/mango --- keyboards/soda/mango/config.h | 16 -------- keyboards/soda/mango/info.json | 72 +++++++++------------------------- keyboards/soda/mango/mango.c | 2 +- keyboards/soda/mango/mango.h | 21 ---------- 4 files changed, 20 insertions(+), 91 deletions(-) delete mode 100644 keyboards/soda/mango/config.h delete mode 100644 keyboards/soda/mango/mango.h diff --git a/keyboards/soda/mango/config.h b/keyboards/soda/mango/config.h deleted file mode 100644 index aa944c7f5cde..000000000000 --- a/keyboards/soda/mango/config.h +++ /dev/null @@ -1,16 +0,0 @@ -/* -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 . -*/ - -#pragma once diff --git a/keyboards/soda/mango/info.json b/keyboards/soda/mango/info.json index 1c697e1782f1..153f74ffc60e 100644 --- a/keyboards/soda/mango/info.json +++ b/keyboards/soda/mango/info.json @@ -18,59 +18,25 @@ }, "layouts": { "LAYOUT": { - "layout": [ - { - "matrix": [0, 0], "x": 3.25, "y": 1.5 - }, - { - "matrix": [0, 1], "x": 4.25, "y": 1.5 - }, - { - "matrix": [0, 2], "x": 5.25, "y": 1.5 - }, - { - "matrix": [0, 3], "x": 6.25, "y": 1.5 - }, - { - "matrix": [1, 0], "x": 3.25, "y": 2.5 - }, - { - "matrix": [1, 1], "x": 4.25, "y": 2.5 - }, - { - "matrix": [1, 2], "x": 5.25, "y": 2.5 - }, - { - "matrix": [2, 0], "x": 3.25, "y": 3.5 - }, - { - "matrix": [2, 1], "x": 4.25, "y": 3.5 - }, - { - "matrix": [2, 2], "x": 5.25, "y": 3.5 - }, - { - "matrix": [2, 3], "x": 6.25, "y": 2.5, "h": 2 - }, - { - "matrix": [3, 0], "x": 3.25, "y": 4.5 - }, - { - "matrix": [3, 1], "x": 4.25, "y": 4.5 - }, - { - "matrix": [3, 2], "x": 5.25, "y": 4.5 - }, - { - "matrix": [4, 0], "x": 3.25, "y": 5.5, "w": 2 - }, - { - "matrix": [4, 1], "x": 5.25, "y": 5.5 - }, - { - "matrix": [4, 2], "x": 6.25, "y": 5.5, "h": 2 - } - ] + "layout": [ + {"label": "Num Lock", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "/", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "*", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "-", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "7", "matrix": [1, 0], "x": 0, "y": 1}, + {"label": "8", "matrix": [1, 1], "x": 1, "y": 1}, + {"label": "9", "matrix": [1, 2], "x": 2, "y": 1}, + {"label": "4", "matrix": [2, 0], "x": 0, "y": 2}, + {"label": "5", "matrix": [2, 1], "x": 1, "y": 2}, + {"label": "6", "matrix": [2, 2], "x": 2, "y": 2}, + {"h": 2, "label": "+", "matrix": [1, 3], "x": 3, "y": 1}, + {"label": "1", "matrix": [3, 0], "x": 0, "y": 3}, + {"label": "2", "matrix": [3, 1], "x": 1, "y": 3}, + {"label": "3", "matrix": [3, 2], "x": 2, "y": 3}, + {"label": "0", "matrix": [4, 0], "w": 2, "x": 0, "y": 4}, + {"label": ".", "matrix": [4, 2], "x": 2, "y": 4}, + {"h": 2, "label": "Enter", "matrix": [3, 3], "x": 3, "y": 3} + ] } } } diff --git a/keyboards/soda/mango/mango.c b/keyboards/soda/mango/mango.c index ae23a273ff83..2ab91542048b 100644 --- a/keyboards/soda/mango/mango.c +++ b/keyboards/soda/mango/mango.c @@ -15,4 +15,4 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "mango.h" \ No newline at end of file +#include "quantum.h" diff --git a/keyboards/soda/mango/mango.h b/keyboards/soda/mango/mango.h deleted file mode 100644 index 989119185f85..000000000000 --- a/keyboards/soda/mango/mango.h +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2015 Álvaro "Gondolindrim" Volpato - -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 . -*/ - -#pragma once - -#include "quantum.h" - From c7c9683e5e873f58bd424f641409a17e9a87b437 Mon Sep 17 00:00:00 2001 From: gezhaoyou Date: Sat, 3 Jun 2023 08:56:15 +0800 Subject: [PATCH 3/7] update keyboard soda/mango --- keyboards/soda/mango/info.json | 3 ++- keyboards/soda/mango/keymaps/default/keymap.c | 4 ++-- keyboards/soda/mango/keymaps/via/keymap.c | 4 ++-- keyboards/soda/mango/mango.c | 18 --------------- keyboards/soda/mango/mcuconf.h | 23 ------------------- 5 files changed, 6 insertions(+), 46 deletions(-) delete mode 100644 keyboards/soda/mango/mango.c delete mode 100644 keyboards/soda/mango/mcuconf.h diff --git a/keyboards/soda/mango/info.json b/keyboards/soda/mango/info.json index 153f74ffc60e..ab1ce755f6dc 100644 --- a/keyboards/soda/mango/info.json +++ b/keyboards/soda/mango/info.json @@ -16,8 +16,9 @@ "vid": "0x3A54", "pid": "0x4F5D" }, + "community_layouts": ["numpad_5x4"], "layouts": { - "LAYOUT": { + "LAYOUT_numpad_5x4": { "layout": [ {"label": "Num Lock", "matrix": [0, 0], "x": 0, "y": 0}, {"label": "/", "matrix": [0, 1], "x": 1, "y": 0}, diff --git a/keyboards/soda/mango/keymaps/default/keymap.c b/keyboards/soda/mango/keymaps/default/keymap.c index 91e7e28d04ad..7497c8751431 100755 --- a/keyboards/soda/mango/keymaps/default/keymap.c +++ b/keyboards/soda/mango/keymaps/default/keymap.c @@ -17,13 +17,13 @@ along with this program. If not, see . #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( + [0] = LAYOUT_numpad_5x4( KC_NUM_LOCK, KC_PSLS, KC_PAST, LT(1, KC_PMNS), KC_P7, KC_P8, KC_P9, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_P1, KC_P2, KC_P3, KC_P0, KC_PDOT, KC_PENT), - [1] = LAYOUT( + [1] = LAYOUT_numpad_5x4( KC_TRNS, KC_CALCULATOR, KC_BSPC, KC_TRNS, RGB_MODE_FORWARD, RGB_VAI, RGB_HUI, RGB_SPD, RGB_TOG, RGB_SPI, QK_BOOTLOADER, diff --git a/keyboards/soda/mango/keymaps/via/keymap.c b/keyboards/soda/mango/keymaps/via/keymap.c index 51d9134851d4..059598a68094 100755 --- a/keyboards/soda/mango/keymaps/via/keymap.c +++ b/keyboards/soda/mango/keymaps/via/keymap.c @@ -17,13 +17,13 @@ along with this program. If not, see . #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( + [0] = LAYOUT_numpad_5x4( KC_NUM_LOCK, KC_PSLS, KC_PAST, LT(1, KC_PMNS), KC_P7, KC_P8, KC_P9, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_P1, KC_P2, KC_P3, KC_P0, KC_PDOT, KC_PENT), - [1] = LAYOUT( + [1] = LAYOUT_numpad_5x4( KC_TRNS, KC_CALCULATOR, KC_BSPC, KC_TRNS, RGB_MODE_FORWARD, RGB_VAI, RGB_HUI, RGB_SPD, RGB_TOG, RGB_SPI, QK_BOOTLOADER, diff --git a/keyboards/soda/mango/mango.c b/keyboards/soda/mango/mango.c deleted file mode 100644 index 2ab91542048b..000000000000 --- a/keyboards/soda/mango/mango.c +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2015 Álvaro "Gondolindrim" Volpato - -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 "quantum.h" diff --git a/keyboards/soda/mango/mcuconf.h b/keyboards/soda/mango/mcuconf.h deleted file mode 100644 index 033c89fa82fe..000000000000 --- a/keyboards/soda/mango/mcuconf.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 . - */ - -#pragma once - -#include_next - -#undef STM32_I2C_USE_DMA -#define STM32_I2C_USE_DMA FALSE - From 69a1ae92e466b0fa9b1549950aae2bed93e7368f Mon Sep 17 00:00:00 2001 From: Jeayo Keh Date: Sat, 3 Jun 2023 17:48:01 +0800 Subject: [PATCH 4/7] Update keyboards/soda/mango/readme.md Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/soda/mango/readme.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/keyboards/soda/mango/readme.md b/keyboards/soda/mango/readme.md index 7787298714af..98ab66b02059 100644 --- a/keyboards/soda/mango/readme.md +++ b/keyboards/soda/mango/readme.md @@ -7,17 +7,13 @@ A customizable 17 keyboard, support both HOTSWAP and SOLDER. Make example for this keyboard (after setting up your build environment): -**default**: +Make example for this keyboard (after setting up your build environment): -```shell -qmk compile -kb soda/mango -km default -``` + make soda/mango:default -**via:** +Flashing example for this keyboard: -```shell -qmk compile -kb soda/mango -km via -``` + make soda/mango:default:flash ## Bootloader From 5870be55131523f84ce9ce1a0becbb375ea3193f Mon Sep 17 00:00:00 2001 From: Jeayo Keh Date: Sun, 4 Jun 2023 09:34:22 +0800 Subject: [PATCH 5/7] Update keyboards/soda/mango/readme.md Co-authored-by: Joel Challis --- keyboards/soda/mango/readme.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/soda/mango/readme.md b/keyboards/soda/mango/readme.md index 98ab66b02059..818c04029415 100644 --- a/keyboards/soda/mango/readme.md +++ b/keyboards/soda/mango/readme.md @@ -5,8 +5,6 @@ A customizable 17 keyboard, support both HOTSWAP and SOLDER. * Keyboard Maintainer: [gezhaoyou](https://github.com/gezhaoyou) * Hardware Supported: [gezhaoyou](https://github.com/gezhaoyou) -Make example for this keyboard (after setting up your build environment): - Make example for this keyboard (after setting up your build environment): make soda/mango:default From f62f4e4f587dbf9f8f40c9529b09babaa18d51f5 Mon Sep 17 00:00:00 2001 From: Jeayo Keh Date: Sun, 4 Jun 2023 09:34:33 +0800 Subject: [PATCH 6/7] Update keyboards/soda/mango/readme.md Co-authored-by: Joel Challis --- keyboards/soda/mango/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/soda/mango/readme.md b/keyboards/soda/mango/readme.md index 818c04029415..1a1eb6bccc8c 100644 --- a/keyboards/soda/mango/readme.md +++ b/keyboards/soda/mango/readme.md @@ -13,11 +13,11 @@ Flashing example for this keyboard: make soda/mango: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 Enter the bootloader in 2 ways: * **Physical reset button**: Briefly press the button: [boot] first, then press button: [reset] on the back of the PCB * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available - -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). From b908dd9bd328ecc6635646db5ae250d46709804d Mon Sep 17 00:00:00 2001 From: Jeayo Keh Date: Sun, 4 Jun 2023 09:35:01 +0800 Subject: [PATCH 7/7] Update keyboards/soda/mango/info.json Co-authored-by: Joel Challis --- keyboards/soda/mango/info.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/keyboards/soda/mango/info.json b/keyboards/soda/mango/info.json index ab1ce755f6dc..a2b3d4b0e09d 100644 --- a/keyboards/soda/mango/info.json +++ b/keyboards/soda/mango/info.json @@ -16,6 +16,12 @@ "vid": "0x3A54", "pid": "0x4F5D" }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "community_layouts": ["numpad_5x4"], "layouts": { "LAYOUT_numpad_5x4": {