From 22b08dcd5305c25a5de2049841c0071bbd514787 Mon Sep 17 00:00:00 2001 From: Its TLeo Date: Thu, 6 Jul 2023 20:55:44 +0700 Subject: [PATCH 01/11] add itstleo9 --- .../itstleo/itstleo9/itstleo9_32u4/config.h | 20 +++++++++ .../itstleo/itstleo9/itstleo9_32u4/info.json | 41 +++++++++++++++++++ .../itstleo9_32u4/keymaps/default/keymap.c | 21 ++++++++++ .../itstleo9_32u4/keymaps/via/config.h | 20 +++++++++ .../keymaps/via/itstleo9_32u4.json | 16 ++++++++ .../itstleo9_32u4/keymaps/via/keymap.c | 21 ++++++++++ .../itstleo9_32u4/keymaps/via/rules.mk | 3 ++ .../itstleo9_32u4/keymaps/vial/config.h | 20 +++++++++ .../keymaps/vial/itstleo9_32u4.json | 16 ++++++++ .../itstleo9_32u4/keymaps/vial/keymap.c | 21 ++++++++++ .../itstleo9_32u4/keymaps/vial/rules.mk | 4 ++ .../itstleo/itstleo9/itstleo9_32u4/readme.md | 30 ++++++++++++++ .../itstleo/itstleo9/itstleo9_32u4/rules.mk | 1 + .../itstleo/itstleo9/itstleo9_rp2040/config.h | 20 +++++++++ .../itstleo9/itstleo9_rp2040/info.json | 41 +++++++++++++++++++ .../itstleo9_rp2040/keymaps/default/keymap.c | 21 ++++++++++ .../itstleo9_rp2040/keymaps/via/config.h | 20 +++++++++ .../keymaps/via/itstleo9_rp2040.json | 28 +++++++++++++ .../itstleo9_rp2040/keymaps/via/keymap.c | 21 ++++++++++ .../itstleo9_rp2040/keymaps/via/rules.mk | 3 ++ .../itstleo9_rp2040/keymaps/vial/config.h | 20 +++++++++ .../keymaps/vial/itstleo9_rp2040.json | 28 +++++++++++++ .../itstleo9_rp2040/keymaps/vial/keymap.c | 21 ++++++++++ .../itstleo9_rp2040/keymaps/vial/rules.mk | 4 ++ .../itstleo9/itstleo9_rp2040/readme.md | 34 +++++++++++++++ .../itstleo/itstleo9/itstleo9_rp2040/rules.mk | 1 + 26 files changed, 496 insertions(+) create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/config.h create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/info.json create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/default/keymap.c create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/keymap.c create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/rules.mk create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/readme.md create mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/rules.mk create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/itstleo9_rp2040.json create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/readme.md create mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/rules.mk diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/config.h b/keyboards/itstleo/itstleo9/itstleo9_32u4/config.h new file mode 100644 index 000000000000..6c18359eae56 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/config.h @@ -0,0 +1,20 @@ +// Copyright 2023 Its TLeo (@Its TLeo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/info.json b/keyboards/itstleo/itstleo9/itstleo9_32u4/info.json new file mode 100644 index 000000000000..cf38f2e4c9ea --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/info.json @@ -0,0 +1,41 @@ +{ + "manufacturer": "Its TLeo", + "keyboard_name": "itstleo/handwired/ItsTleo9_32u4", + "maintainer": "Its TLeo", + "bootloader": "caterina", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["D1", "D0", "D4"], + "rows": ["F4", "F5", "F6"] + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0001", + "vid": "0x4954" + }, + "layouts": { + "LAYOUT_ortho_3x3": { + "layout": [ + { "matrix": [0, 0], "x": 0, "y": 0 }, + { "matrix": [0, 1], "x": 1, "y": 0 }, + { "matrix": [0, 2], "x": 2, "y": 0 }, + { "matrix": [1, 0], "x": 0, "y": 1 }, + { "matrix": [1, 1], "x": 1, "y": 1 }, + { "matrix": [1, 2], "x": 2, "y": 1 }, + { "matrix": [2, 0], "x": 0, "y": 2 }, + { "matrix": [2, 1], "x": 1, "y": 2 }, + { "matrix": [2, 2], "x": 2, "y": 2 } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/default/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/default/keymap.c new file mode 100644 index 000000000000..ea111ba6fead --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/default/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┐ + * │ A │ B │ C │ + * ├───┼───┼───┤ + * │ D │ E │ F │ + * ├───┼───┼───┤ + * │ G │ H │ I │ + * └───┴───┴───┘ + */ + [0] = LAYOUT_ortho_3x3( + KC_A, KC_B, KC_C, + KC_D, KC_E, KC_F, + KC_G, KC_H, KC_I + ) +}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h new file mode 100644 index 000000000000..6c18359eae56 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h @@ -0,0 +1,20 @@ +// Copyright 2023 Its TLeo (@Its TLeo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json new file mode 100644 index 000000000000..09a26d6c2389 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json @@ -0,0 +1,16 @@ +{ + "name": "ItsTleo9", + "vendorId": "0x4954", + "productId": "0x0001", + "matrix": { + "rows": 3, + "cols": 3 + }, + "layouts": { + "keymap":[ + ["0,0","0,1","0,2"], +["1,0","1,1","1,2"], +["2,0","2,1","2,2"] + ] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/keymap.c new file mode 100644 index 000000000000..ea111ba6fead --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┐ + * │ A │ B │ C │ + * ├───┼───┼───┤ + * │ D │ E │ F │ + * ├───┼───┼───┤ + * │ G │ H │ I │ + * └───┴───┴───┘ + */ + [0] = LAYOUT_ortho_3x3( + KC_A, KC_B, KC_C, + KC_D, KC_E, KC_F, + KC_G, KC_H, KC_I + ) +}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/rules.mk new file mode 100644 index 000000000000..6fd32e118216 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/rules.mk @@ -0,0 +1,3 @@ +# This file intentionally left blank +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h new file mode 100644 index 000000000000..6c18359eae56 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h @@ -0,0 +1,20 @@ +// Copyright 2023 Its TLeo (@Its TLeo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json new file mode 100644 index 000000000000..09a26d6c2389 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json @@ -0,0 +1,16 @@ +{ + "name": "ItsTleo9", + "vendorId": "0x4954", + "productId": "0x0001", + "matrix": { + "rows": 3, + "cols": 3 + }, + "layouts": { + "keymap":[ + ["0,0","0,1","0,2"], +["1,0","1,1","1,2"], +["2,0","2,1","2,2"] + ] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c new file mode 100644 index 000000000000..ea111ba6fead --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┐ + * │ A │ B │ C │ + * ├───┼───┼───┤ + * │ D │ E │ F │ + * ├───┼───┼───┤ + * │ G │ H │ I │ + * └───┴───┴───┘ + */ + [0] = LAYOUT_ortho_3x3( + KC_A, KC_B, KC_C, + KC_D, KC_E, KC_F, + KC_G, KC_H, KC_I + ) +}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk new file mode 100644 index 000000000000..f7e009270003 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk @@ -0,0 +1,4 @@ +# This file intentionally left blank +VIA_ENABLE = yes +VIAL_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/readme.md b/keyboards/itstleo/itstleo9/itstleo9_32u4/readme.md new file mode 100644 index 000000000000..73b50eb30e30 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/readme.md @@ -0,0 +1,30 @@ +# itstleo/handwired/it9_32u4 + +This is my first handwire macropad project call itstleo9 or it9, using orthor 3x3 layout powered with 2 MCU are promicro ATmega32u4 and RasberryPi RP2040 for simple flash using QMK Toolbox and Drag&Drop file. Supported for Via and Vial keymap. + +* Keyboard Maintainer: [Its TLeo](https://github.com/Its TLeo) +* Hardware Supported: Promicro ATmega32u4 +* Hardware Availability: [Promicro](https://aliexpress.com/item/32888212119.html?spm=a2g0o.productlist.main.3.6e5ef70cdBVEF7&algo_pvid=fe4ec051-4a64-4e5d-810f-9984bfe852eb&aem_p4p_detail=2023070605140211214266150364960004273054&algo_exp_id=fe4ec051-4a64-4e5d-810f-9984bfe852eb-1&pdp_npi=3%40dis%21VND%21110929%2189788.0%21%21%214.67%21%21%402102160416886456429678477d07bc%2112000029855280287%21sea%21VN%210&curPageLogUid=FnJUdcJPhdXf&search_p4p_id=2023070605140211214266150364960004273054_2) + +Make example for this keyboard (after setting up your build environment): + + make itstleo/handwired/it9_32u4:default + +Flashing example for this keyboard: + + make itstleo/handwired/it9_32u4: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). Dont know how to make a handwire keyboard, check it out [SkottoKeebs handwire tutorial](https://www.youtube.com/watch?v=hjml-K-pV4E&pp=ygUTaGFuZHdpcmUgYSBtYWNyb3BhZA%3D%3D) + +## Matrix pin + +* **cols** : D1 , D0 , D4 +* **rows** : F4 , F5 , F6 + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_32u4/rules.mk new file mode 100644 index 000000000000..6e7633bfe015 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_32u4/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h b/keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h new file mode 100644 index 000000000000..6c18359eae56 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h @@ -0,0 +1,20 @@ +// Copyright 2023 Its TLeo (@Its TLeo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json b/keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json new file mode 100644 index 000000000000..d951aca538ef --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json @@ -0,0 +1,41 @@ +{ + "manufacturer": "Its TLeo", + "keyboard_name": "itstleo/handwired/ItsTleo9", + "maintainer": "Its TLeo", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["GP10", "GP11", "GP12"], + "rows": ["GP21", "GP20", "GP19"] + }, + "processor": "RP2040", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0001", + "vid": "0x4954" + }, + "layouts": { + "LAYOUT_ortho_3x3": { + "layout": [ + { "matrix": [0, 0], "x": 0, "y": 0 }, + { "matrix": [0, 1], "x": 1, "y": 0 }, + { "matrix": [0, 2], "x": 2, "y": 0 }, + { "matrix": [1, 0], "x": 0, "y": 1 }, + { "matrix": [1, 1], "x": 1, "y": 1 }, + { "matrix": [1, 2], "x": 2, "y": 1 }, + { "matrix": [2, 0], "x": 0, "y": 2 }, + { "matrix": [2, 1], "x": 1, "y": 2 }, + { "matrix": [2, 2], "x": 2, "y": 2 } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c new file mode 100644 index 000000000000..ea111ba6fead --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┐ + * │ A │ B │ C │ + * ├───┼───┼───┤ + * │ D │ E │ F │ + * ├───┼───┼───┤ + * │ G │ H │ I │ + * └───┴───┴───┘ + */ + [0] = LAYOUT_ortho_3x3( + KC_A, KC_B, KC_C, + KC_D, KC_E, KC_F, + KC_G, KC_H, KC_I + ) +}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h new file mode 100644 index 000000000000..6c18359eae56 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h @@ -0,0 +1,20 @@ +// Copyright 2023 Its TLeo (@Its TLeo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/itstleo9_rp2040.json b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/itstleo9_rp2040.json new file mode 100644 index 000000000000..3c4c3f2debc8 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/itstleo9_rp2040.json @@ -0,0 +1,28 @@ +{ + "name": "ItsTleo9", + "vendorId": "0x4954", + "productId": "0x0001", + "matrix": { + "rows": 3, + "cols": 3 + }, + "layouts": { + "keymap": [ + [ + "0,0", + "0,1", + "0,2" + ], + [ + "1,0", + "1,1", + "1,2" + ], + [ + "2,0", + "2,1", + "2,2" + ] + ] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c new file mode 100644 index 000000000000..ea111ba6fead --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┐ + * │ A │ B │ C │ + * ├───┼───┼───┤ + * │ D │ E │ F │ + * ├───┼───┼───┤ + * │ G │ H │ I │ + * └───┴───┴───┘ + */ + [0] = LAYOUT_ortho_3x3( + KC_A, KC_B, KC_C, + KC_D, KC_E, KC_F, + KC_G, KC_H, KC_I + ) +}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk new file mode 100644 index 000000000000..6fd32e118216 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk @@ -0,0 +1,3 @@ +# This file intentionally left blank +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h new file mode 100644 index 000000000000..6c18359eae56 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h @@ -0,0 +1,20 @@ +// Copyright 2023 Its TLeo (@Its TLeo) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json new file mode 100644 index 000000000000..3c4c3f2debc8 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json @@ -0,0 +1,28 @@ +{ + "name": "ItsTleo9", + "vendorId": "0x4954", + "productId": "0x0001", + "matrix": { + "rows": 3, + "cols": 3 + }, + "layouts": { + "keymap": [ + [ + "0,0", + "0,1", + "0,2" + ], + [ + "1,0", + "1,1", + "1,2" + ], + [ + "2,0", + "2,1", + "2,2" + ] + ] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c new file mode 100644 index 000000000000..ea111ba6fead --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c @@ -0,0 +1,21 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┐ + * │ A │ B │ C │ + * ├───┼───┼───┤ + * │ D │ E │ F │ + * ├───┼───┼───┤ + * │ G │ H │ I │ + * └───┴───┴───┘ + */ + [0] = LAYOUT_ortho_3x3( + KC_A, KC_B, KC_C, + KC_D, KC_E, KC_F, + KC_G, KC_H, KC_I + ) +}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk new file mode 100644 index 000000000000..f7e009270003 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk @@ -0,0 +1,4 @@ +# This file intentionally left blank +VIA_ENABLE = yes +VIAL_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/readme.md b/keyboards/itstleo/itstleo9/itstleo9_rp2040/readme.md new file mode 100644 index 000000000000..79d694b7cac9 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/readme.md @@ -0,0 +1,34 @@ +# itstleo/handwired/it9_rp2040 + +This is my first handwire macropad project call itstleo9 or it9, using orthor 3x3 layout powered with 2 MCU are promicro ATmega32u4 and RasberryPi RP2040 for simple flash using QMK Toolbox and Drag&Drop file. Supported for Via and Vial keymap. + +* Keyboard Maintainer: [ItsTLeo](https://github.com/ItsTLeo) +* Hardware Supported: RP2040 +* Hardware Availability: [RP2040](https://aliexpress.com/item/1005005616524430.html?gatewayAdapt=glo2vnm) + +Make example for this keyboard (after setting up your build environment): + + make itstleo/handwired/it9_rp2040:default + +Flashing example for this keyboard: + + make itstleo/handwired/it9_rp2040: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). Dont know how to make a handwire keyboard, check it out [SkottoKeebs handwire tutorial](https://www.youtube.com/watch?v=hjml-K-pV4E&pp=ygUTaGFuZHdpcmUgYSBtYWNyb3BhZA%3D%3D) + +## Matrix pin + +* **cols** : GP10 , GP11 , GP12 +* **rows** : GP21 , GP20 , GP19 + +## Firmware flash + +When entered the bootloader mode, drag the .uf2 firmware into bootloader folder, wait a little bit and its all set, start using our new macropad + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: **Hold boot button** and press **rst button** 2 time, when it's appear the folder of rp2040 you entered the bootloader mode +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_rp2040/rules.mk new file mode 100644 index 000000000000..6e7633bfe015 --- /dev/null +++ b/keyboards/itstleo/itstleo9/itstleo9_rp2040/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From a01c6a9e9d99e7949a0f3e7be25bdfd0da355e80 Mon Sep 17 00:00:00 2001 From: Its TLeo Date: Fri, 7 Jul 2023 00:26:39 +0700 Subject: [PATCH 02/11] fixed reviewer error about my firmware --- keyboards/itstleo/itstleo9/Promicro/info.json | 7 ++++ .../{itstleo9_32u4 => Promicro}/readme.md | 0 .../{itstleo9_32u4 => Promicro}/rules.mk | 0 keyboards/itstleo/itstleo9/RP2040/info.json | 9 ++++ .../{itstleo9_rp2040 => RP2040}/readme.md | 0 .../{itstleo9_rp2040 => RP2040}/rules.mk | 0 .../itstleo9/{itstleo9_32u4 => }/info.json | 8 +--- .../itstleo/itstleo9/itstleo9_32u4/config.h | 20 --------- .../itstleo9_32u4/keymaps/via/config.h | 20 --------- .../keymaps/via/itstleo9_32u4.json | 16 -------- .../itstleo9_32u4/keymaps/vial/config.h | 20 --------- .../keymaps/vial/itstleo9_32u4.json | 16 -------- .../itstleo9_32u4/keymaps/vial/keymap.c | 21 ---------- .../itstleo9_32u4/keymaps/vial/rules.mk | 4 -- .../itstleo/itstleo9/itstleo9_rp2040/config.h | 20 --------- .../itstleo9/itstleo9_rp2040/info.json | 41 ------------------- .../itstleo9_rp2040/keymaps/default/keymap.c | 21 ---------- .../itstleo9_rp2040/keymaps/via/config.h | 20 --------- .../itstleo9_rp2040/keymaps/via/keymap.c | 21 ---------- .../itstleo9_rp2040/keymaps/via/rules.mk | 3 -- .../itstleo9_rp2040/keymaps/vial/config.h | 20 --------- .../keymaps/vial/itstleo9_rp2040.json | 28 ------------- .../itstleo9_rp2040/keymaps/vial/keymap.c | 21 ---------- .../itstleo9_rp2040/keymaps/vial/rules.mk | 4 -- .../keymaps/default/keymap.c | 0 .../via/itstleo9.json} | 0 .../{itstleo9_32u4 => }/keymaps/via/keymap.c | 0 .../{itstleo9_32u4 => }/keymaps/via/rules.mk | 0 28 files changed, 17 insertions(+), 323 deletions(-) create mode 100644 keyboards/itstleo/itstleo9/Promicro/info.json rename keyboards/itstleo/itstleo9/{itstleo9_32u4 => Promicro}/readme.md (100%) rename keyboards/itstleo/itstleo9/{itstleo9_32u4 => Promicro}/rules.mk (100%) create mode 100644 keyboards/itstleo/itstleo9/RP2040/info.json rename keyboards/itstleo/itstleo9/{itstleo9_rp2040 => RP2040}/readme.md (100%) rename keyboards/itstleo/itstleo9/{itstleo9_rp2040 => RP2040}/rules.mk (100%) rename keyboards/itstleo/itstleo9/{itstleo9_32u4 => }/info.json (81%) delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/config.h delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c delete mode 100644 keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk rename keyboards/itstleo/itstleo9/{itstleo9_32u4 => }/keymaps/default/keymap.c (100%) rename keyboards/itstleo/itstleo9/{itstleo9_rp2040/keymaps/via/itstleo9_rp2040.json => keymaps/via/itstleo9.json} (100%) rename keyboards/itstleo/itstleo9/{itstleo9_32u4 => }/keymaps/via/keymap.c (100%) rename keyboards/itstleo/itstleo9/{itstleo9_32u4 => }/keymaps/via/rules.mk (100%) diff --git a/keyboards/itstleo/itstleo9/Promicro/info.json b/keyboards/itstleo/itstleo9/Promicro/info.json new file mode 100644 index 000000000000..4cbc1050c0c7 --- /dev/null +++ b/keyboards/itstleo/itstleo9/Promicro/info.json @@ -0,0 +1,7 @@ +{ + "development_board": "promicro", + "matrix_pins": { + "cols": ["D1", "D0", "D4"], + "rows": ["F4", "F5", "F6"] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/readme.md b/keyboards/itstleo/itstleo9/Promicro/readme.md similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_32u4/readme.md rename to keyboards/itstleo/itstleo9/Promicro/readme.md diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/rules.mk b/keyboards/itstleo/itstleo9/Promicro/rules.mk similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_32u4/rules.mk rename to keyboards/itstleo/itstleo9/Promicro/rules.mk diff --git a/keyboards/itstleo/itstleo9/RP2040/info.json b/keyboards/itstleo/itstleo9/RP2040/info.json new file mode 100644 index 000000000000..0272150df124 --- /dev/null +++ b/keyboards/itstleo/itstleo9/RP2040/info.json @@ -0,0 +1,9 @@ +{ + "bootloader": "rp2040", + "processor": "RP2040", + + "matrix_pins": { + "cols": ["GP10", "GP11", "GP12"], + "rows": ["GP21", "GP20", "GP19"] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/readme.md b/keyboards/itstleo/itstleo9/RP2040/readme.md similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_rp2040/readme.md rename to keyboards/itstleo/itstleo9/RP2040/readme.md diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/rules.mk b/keyboards/itstleo/itstleo9/RP2040/rules.mk similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_rp2040/rules.mk rename to keyboards/itstleo/itstleo9/RP2040/rules.mk diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/info.json b/keyboards/itstleo/itstleo9/info.json similarity index 81% rename from keyboards/itstleo/itstleo9/itstleo9_32u4/info.json rename to keyboards/itstleo/itstleo9/info.json index cf38f2e4c9ea..737487fb1d32 100644 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/info.json +++ b/keyboards/itstleo/itstleo9/info.json @@ -1,8 +1,7 @@ { "manufacturer": "Its TLeo", - "keyboard_name": "itstleo/handwired/ItsTleo9_32u4", + "keyboard_name": "ItsTleo9", "maintainer": "Its TLeo", - "bootloader": "caterina", "diode_direction": "COL2ROW", "features": { "bootmagic": true, @@ -12,11 +11,6 @@ "mousekey": true, "nkro": true }, - "matrix_pins": { - "cols": ["D1", "D0", "D4"], - "rows": ["F4", "F5", "F6"] - }, - "processor": "atmega32u4", "url": "", "usb": { "device_version": "1.0.0", diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/config.h b/keyboards/itstleo/itstleo9/itstleo9_32u4/config.h deleted file mode 100644 index 6c18359eae56..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 Its TLeo (@Its TLeo) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h deleted file mode 100644 index 6c18359eae56..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 Its TLeo (@Its TLeo) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json deleted file mode 100644 index 09a26d6c2389..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/itstleo9_32u4.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "ItsTleo9", - "vendorId": "0x4954", - "productId": "0x0001", - "matrix": { - "rows": 3, - "cols": 3 - }, - "layouts": { - "keymap":[ - ["0,0","0,1","0,2"], -["1,0","1,1","1,2"], -["2,0","2,1","2,2"] - ] - } -} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h deleted file mode 100644 index 6c18359eae56..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 Its TLeo (@Its TLeo) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json deleted file mode 100644 index 09a26d6c2389..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/itstleo9_32u4.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "ItsTleo9", - "vendorId": "0x4954", - "productId": "0x0001", - "matrix": { - "rows": 3, - "cols": 3 - }, - "layouts": { - "keymap":[ - ["0,0","0,1","0,2"], -["1,0","1,1","1,2"], -["2,0","2,1","2,2"] - ] - } -} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c deleted file mode 100644 index ea111ba6fead..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/keymap.c +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┐ - * │ A │ B │ C │ - * ├───┼───┼───┤ - * │ D │ E │ F │ - * ├───┼───┼───┤ - * │ G │ H │ I │ - * └───┴───┴───┘ - */ - [0] = LAYOUT_ortho_3x3( - KC_A, KC_B, KC_C, - KC_D, KC_E, KC_F, - KC_G, KC_H, KC_I - ) -}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk deleted file mode 100644 index f7e009270003..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes -VIAL_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h b/keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h deleted file mode 100644 index 6c18359eae56..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 Its TLeo (@Its TLeo) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json b/keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json deleted file mode 100644 index d951aca538ef..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "manufacturer": "Its TLeo", - "keyboard_name": "itstleo/handwired/ItsTleo9", - "maintainer": "Its TLeo", - "bootloader": "rp2040", - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "matrix_pins": { - "cols": ["GP10", "GP11", "GP12"], - "rows": ["GP21", "GP20", "GP19"] - }, - "processor": "RP2040", - "url": "", - "usb": { - "device_version": "1.0.0", - "pid": "0x0001", - "vid": "0x4954" - }, - "layouts": { - "LAYOUT_ortho_3x3": { - "layout": [ - { "matrix": [0, 0], "x": 0, "y": 0 }, - { "matrix": [0, 1], "x": 1, "y": 0 }, - { "matrix": [0, 2], "x": 2, "y": 0 }, - { "matrix": [1, 0], "x": 0, "y": 1 }, - { "matrix": [1, 1], "x": 1, "y": 1 }, - { "matrix": [1, 2], "x": 2, "y": 1 }, - { "matrix": [2, 0], "x": 0, "y": 2 }, - { "matrix": [2, 1], "x": 1, "y": 2 }, - { "matrix": [2, 2], "x": 2, "y": 2 } - ] - } - } -} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c deleted file mode 100644 index ea111ba6fead..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/default/keymap.c +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┐ - * │ A │ B │ C │ - * ├───┼───┼───┤ - * │ D │ E │ F │ - * ├───┼───┼───┤ - * │ G │ H │ I │ - * └───┴───┴───┘ - */ - [0] = LAYOUT_ortho_3x3( - KC_A, KC_B, KC_C, - KC_D, KC_E, KC_F, - KC_G, KC_H, KC_I - ) -}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h deleted file mode 100644 index 6c18359eae56..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 Its TLeo (@Its TLeo) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c deleted file mode 100644 index ea111ba6fead..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/keymap.c +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┐ - * │ A │ B │ C │ - * ├───┼───┼───┤ - * │ D │ E │ F │ - * ├───┼───┼───┤ - * │ G │ H │ I │ - * └───┴───┴───┘ - */ - [0] = LAYOUT_ortho_3x3( - KC_A, KC_B, KC_C, - KC_D, KC_E, KC_F, - KC_G, KC_H, KC_I - ) -}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk deleted file mode 100644 index 6fd32e118216..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h deleted file mode 100644 index 6c18359eae56..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2023 Its TLeo (@Its TLeo) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json deleted file mode 100644 index 3c4c3f2debc8..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/itstleo9_rp2040.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "ItsTleo9", - "vendorId": "0x4954", - "productId": "0x0001", - "matrix": { - "rows": 3, - "cols": 3 - }, - "layouts": { - "keymap": [ - [ - "0,0", - "0,1", - "0,2" - ], - [ - "1,0", - "1,1", - "1,2" - ], - [ - "2,0", - "2,1", - "2,2" - ] - ] - } -} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c deleted file mode 100644 index ea111ba6fead..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/keymap.c +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┐ - * │ A │ B │ C │ - * ├───┼───┼───┤ - * │ D │ E │ F │ - * ├───┼───┼───┤ - * │ G │ H │ I │ - * └───┴───┴───┘ - */ - [0] = LAYOUT_ortho_3x3( - KC_A, KC_B, KC_C, - KC_D, KC_E, KC_F, - KC_G, KC_H, KC_I - ) -}; diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk b/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk deleted file mode 100644 index f7e009270003..000000000000 --- a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/vial/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes -VIAL_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/default/keymap.c b/keyboards/itstleo/itstleo9/keymaps/default/keymap.c similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/default/keymap.c rename to keyboards/itstleo/itstleo9/keymaps/default/keymap.c diff --git a/keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/itstleo9_rp2040.json b/keyboards/itstleo/itstleo9/keymaps/via/itstleo9.json similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/itstleo9_rp2040.json rename to keyboards/itstleo/itstleo9/keymaps/via/itstleo9.json diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/keymap.c b/keyboards/itstleo/itstleo9/keymaps/via/keymap.c similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/keymap.c rename to keyboards/itstleo/itstleo9/keymaps/via/keymap.c diff --git a/keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/rules.mk b/keyboards/itstleo/itstleo9/keymaps/via/rules.mk similarity index 100% rename from keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/rules.mk rename to keyboards/itstleo/itstleo9/keymaps/via/rules.mk From 289f9c75385dff95cdbe6fc99e527de7aef45bd1 Mon Sep 17 00:00:00 2001 From: Its TLeo Date: Fri, 7 Jul 2023 00:33:15 +0700 Subject: [PATCH 03/11] update description of board --- keyboards/itstleo/itstleo9/Promicro/readme.md | 4 ++-- keyboards/itstleo/itstleo9/RP2040/readme.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/itstleo/itstleo9/Promicro/readme.md b/keyboards/itstleo/itstleo9/Promicro/readme.md index 73b50eb30e30..cdb2aefe4ebb 100644 --- a/keyboards/itstleo/itstleo9/Promicro/readme.md +++ b/keyboards/itstleo/itstleo9/Promicro/readme.md @@ -1,10 +1,10 @@ # itstleo/handwired/it9_32u4 -This is my first handwire macropad project call itstleo9 or it9, using orthor 3x3 layout powered with 2 MCU are promicro ATmega32u4 and RasberryPi RP2040 for simple flash using QMK Toolbox and Drag&Drop file. Supported for Via and Vial keymap. +Handwired 3x3 macropad built with Pro Micro compatible microcontrollers * Keyboard Maintainer: [Its TLeo](https://github.com/Its TLeo) * Hardware Supported: Promicro ATmega32u4 -* Hardware Availability: [Promicro](https://aliexpress.com/item/32888212119.html?spm=a2g0o.productlist.main.3.6e5ef70cdBVEF7&algo_pvid=fe4ec051-4a64-4e5d-810f-9984bfe852eb&aem_p4p_detail=2023070605140211214266150364960004273054&algo_exp_id=fe4ec051-4a64-4e5d-810f-9984bfe852eb-1&pdp_npi=3%40dis%21VND%21110929%2189788.0%21%21%214.67%21%21%402102160416886456429678477d07bc%2112000029855280287%21sea%21VN%210&curPageLogUid=FnJUdcJPhdXf&search_p4p_id=2023070605140211214266150364960004273054_2) +* Hardware Availability: [Promicro](https://aliexpress.com/item/32888212119.html) Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/itstleo/itstleo9/RP2040/readme.md b/keyboards/itstleo/itstleo9/RP2040/readme.md index 79d694b7cac9..0ea85ffd6489 100644 --- a/keyboards/itstleo/itstleo9/RP2040/readme.md +++ b/keyboards/itstleo/itstleo9/RP2040/readme.md @@ -1,6 +1,6 @@ # itstleo/handwired/it9_rp2040 -This is my first handwire macropad project call itstleo9 or it9, using orthor 3x3 layout powered with 2 MCU are promicro ATmega32u4 and RasberryPi RP2040 for simple flash using QMK Toolbox and Drag&Drop file. Supported for Via and Vial keymap. +Handwired 3x3 macropad built with Pro Micro compatible microcontrollers * Keyboard Maintainer: [ItsTLeo](https://github.com/ItsTLeo) * Hardware Supported: RP2040 From de2e30c6800679da7bc7572dee8cd3a96f7f7ce3 Mon Sep 17 00:00:00 2001 From: Its TLeo Date: Fri, 7 Jul 2023 06:19:03 +0700 Subject: [PATCH 04/11] add the comunity layout --- keyboards/itstleo/itstleo9/Promicro/readme.md | 30 ------------------- keyboards/itstleo/itstleo9/info.json | 1 + .../itstleo9/keymaps/via/itstleo9.json | 28 ----------------- .../itstleo/itstleo9/keymaps/via/rules.mk | 4 +-- .../itstleo/itstleo9/{RP2040 => }/readme.md | 28 ++++++++++++----- 5 files changed, 23 insertions(+), 68 deletions(-) delete mode 100644 keyboards/itstleo/itstleo9/Promicro/readme.md delete mode 100644 keyboards/itstleo/itstleo9/keymaps/via/itstleo9.json rename keyboards/itstleo/itstleo9/{RP2040 => }/readme.md (63%) diff --git a/keyboards/itstleo/itstleo9/Promicro/readme.md b/keyboards/itstleo/itstleo9/Promicro/readme.md deleted file mode 100644 index cdb2aefe4ebb..000000000000 --- a/keyboards/itstleo/itstleo9/Promicro/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -# itstleo/handwired/it9_32u4 - -Handwired 3x3 macropad built with Pro Micro compatible microcontrollers - -* Keyboard Maintainer: [Its TLeo](https://github.com/Its TLeo) -* Hardware Supported: Promicro ATmega32u4 -* Hardware Availability: [Promicro](https://aliexpress.com/item/32888212119.html) - -Make example for this keyboard (after setting up your build environment): - - make itstleo/handwired/it9_32u4:default - -Flashing example for this keyboard: - - make itstleo/handwired/it9_32u4: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). Dont know how to make a handwire keyboard, check it out [SkottoKeebs handwire tutorial](https://www.youtube.com/watch?v=hjml-K-pV4E&pp=ygUTaGFuZHdpcmUgYSBtYWNyb3BhZA%3D%3D) - -## Matrix pin - -* **cols** : D1 , D0 , D4 -* **rows** : F4 , F5 , F6 - -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/itstleo/itstleo9/info.json b/keyboards/itstleo/itstleo9/info.json index 737487fb1d32..ba9de4d774f3 100644 --- a/keyboards/itstleo/itstleo9/info.json +++ b/keyboards/itstleo/itstleo9/info.json @@ -17,6 +17,7 @@ "pid": "0x0001", "vid": "0x4954" }, + "community_layouts": ["ortho_3x3"], "layouts": { "LAYOUT_ortho_3x3": { "layout": [ diff --git a/keyboards/itstleo/itstleo9/keymaps/via/itstleo9.json b/keyboards/itstleo/itstleo9/keymaps/via/itstleo9.json deleted file mode 100644 index 3c4c3f2debc8..000000000000 --- a/keyboards/itstleo/itstleo9/keymaps/via/itstleo9.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "ItsTleo9", - "vendorId": "0x4954", - "productId": "0x0001", - "matrix": { - "rows": 3, - "cols": 3 - }, - "layouts": { - "keymap": [ - [ - "0,0", - "0,1", - "0,2" - ], - [ - "1,0", - "1,1", - "1,2" - ], - [ - "2,0", - "2,1", - "2,2" - ] - ] - } -} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/keymaps/via/rules.mk b/keyboards/itstleo/itstleo9/keymaps/via/rules.mk index 6fd32e118216..036bd6d1c3ec 100644 --- a/keyboards/itstleo/itstleo9/keymaps/via/rules.mk +++ b/keyboards/itstleo/itstleo9/keymaps/via/rules.mk @@ -1,3 +1 @@ -# This file intentionally left blank -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/RP2040/readme.md b/keyboards/itstleo/itstleo9/readme.md similarity index 63% rename from keyboards/itstleo/itstleo9/RP2040/readme.md rename to keyboards/itstleo/itstleo9/readme.md index 0ea85ffd6489..a5685615ef9e 100644 --- a/keyboards/itstleo/itstleo9/RP2040/readme.md +++ b/keyboards/itstleo/itstleo9/readme.md @@ -3,32 +3,46 @@ Handwired 3x3 macropad built with Pro Micro compatible microcontrollers * Keyboard Maintainer: [ItsTLeo](https://github.com/ItsTLeo) -* Hardware Supported: RP2040 -* Hardware Availability: [RP2040](https://aliexpress.com/item/1005005616524430.html?gatewayAdapt=glo2vnm) +* Hardware Supported: RP2040, Promicro ATmega32u4 +* Hardware Availability: [RP2040](https://aliexpress.com/item/1005005616524430.html?gatewayAdapt=glo2vnm), + [Promicro](https://aliexpress.com/item/32888212119.html) Make example for this keyboard (after setting up your build environment): - make itstleo/handwired/it9_rp2040:default + make itstleo/itstleo9:default Flashing example for this keyboard: - make itstleo/handwired/it9_rp2040:default:flash + make itstleo/itstleo9: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). Dont know how to make a handwire keyboard, check it out [SkottoKeebs handwire tutorial](https://www.youtube.com/watch?v=hjml-K-pV4E&pp=ygUTaGFuZHdpcmUgYSBtYWNyb3BhZA%3D%3D) -## Matrix pin +## Matrix pin (RP2040 ver) * **cols** : GP10 , GP11 , GP12 * **rows** : GP21 , GP20 , GP19 -## Firmware flash +## Matrix pin (Promicro ver) + +* **cols** : D1 , D0 , D4 +* **rows** : F4 , F5 , F6 + +## Firmware flash (for RP2040) When entered the bootloader mode, drag the .uf2 firmware into bootloader folder, wait a little bit and its all set, start using our new macropad -## Bootloader +## Bootloader RP2040 Enter the bootloader in 3 ways: * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard * **Physical reset button**: **Hold boot button** and press **rst button** 2 time, when it's appear the folder of rp2040 you entered the bootloader mode * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available + +## Bootloader Promicro + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available \ No newline at end of file From 7420e837fb2e13455f02cba25b9abaa53578f34e Mon Sep 17 00:00:00 2001 From: Its TLeo Date: Fri, 7 Jul 2023 07:31:40 +0700 Subject: [PATCH 05/11] remove 2 folder to fetch again with all lowercase name --- keyboards/itstleo/itstleo9/Promicro/info.json | 7 ------- keyboards/itstleo/itstleo9/Promicro/rules.mk | 1 - keyboards/itstleo/itstleo9/RP2040/info.json | 9 --------- keyboards/itstleo/itstleo9/RP2040/rules.mk | 1 - 4 files changed, 18 deletions(-) delete mode 100644 keyboards/itstleo/itstleo9/Promicro/info.json delete mode 100644 keyboards/itstleo/itstleo9/Promicro/rules.mk delete mode 100644 keyboards/itstleo/itstleo9/RP2040/info.json delete mode 100644 keyboards/itstleo/itstleo9/RP2040/rules.mk diff --git a/keyboards/itstleo/itstleo9/Promicro/info.json b/keyboards/itstleo/itstleo9/Promicro/info.json deleted file mode 100644 index 4cbc1050c0c7..000000000000 --- a/keyboards/itstleo/itstleo9/Promicro/info.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "development_board": "promicro", - "matrix_pins": { - "cols": ["D1", "D0", "D4"], - "rows": ["F4", "F5", "F6"] - } -} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/Promicro/rules.mk b/keyboards/itstleo/itstleo9/Promicro/rules.mk deleted file mode 100644 index 6e7633bfe015..000000000000 --- a/keyboards/itstleo/itstleo9/Promicro/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank diff --git a/keyboards/itstleo/itstleo9/RP2040/info.json b/keyboards/itstleo/itstleo9/RP2040/info.json deleted file mode 100644 index 0272150df124..000000000000 --- a/keyboards/itstleo/itstleo9/RP2040/info.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "bootloader": "rp2040", - "processor": "RP2040", - - "matrix_pins": { - "cols": ["GP10", "GP11", "GP12"], - "rows": ["GP21", "GP20", "GP19"] - } -} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/RP2040/rules.mk b/keyboards/itstleo/itstleo9/RP2040/rules.mk deleted file mode 100644 index 6e7633bfe015..000000000000 --- a/keyboards/itstleo/itstleo9/RP2040/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank From fd4fec43635dc3b9767c0204ac0abefe768f79ed Mon Sep 17 00:00:00 2001 From: Its TLeo Date: Fri, 7 Jul 2023 07:33:50 +0700 Subject: [PATCH 06/11] commit with lower case processor folder change for lint pass --- keyboards/itstleo/itstleo9/promicro/info.json | 7 +++++++ keyboards/itstleo/itstleo9/promicro/rules.mk | 1 + keyboards/itstleo/itstleo9/rp2040/info.json | 9 +++++++++ keyboards/itstleo/itstleo9/rp2040/rules.mk | 1 + 4 files changed, 18 insertions(+) create mode 100644 keyboards/itstleo/itstleo9/promicro/info.json create mode 100644 keyboards/itstleo/itstleo9/promicro/rules.mk create mode 100644 keyboards/itstleo/itstleo9/rp2040/info.json create mode 100644 keyboards/itstleo/itstleo9/rp2040/rules.mk diff --git a/keyboards/itstleo/itstleo9/promicro/info.json b/keyboards/itstleo/itstleo9/promicro/info.json new file mode 100644 index 000000000000..4cbc1050c0c7 --- /dev/null +++ b/keyboards/itstleo/itstleo9/promicro/info.json @@ -0,0 +1,7 @@ +{ + "development_board": "promicro", + "matrix_pins": { + "cols": ["D1", "D0", "D4"], + "rows": ["F4", "F5", "F6"] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/promicro/rules.mk b/keyboards/itstleo/itstleo9/promicro/rules.mk new file mode 100644 index 000000000000..6e7633bfe015 --- /dev/null +++ b/keyboards/itstleo/itstleo9/promicro/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/itstleo/itstleo9/rp2040/info.json b/keyboards/itstleo/itstleo9/rp2040/info.json new file mode 100644 index 000000000000..0272150df124 --- /dev/null +++ b/keyboards/itstleo/itstleo9/rp2040/info.json @@ -0,0 +1,9 @@ +{ + "bootloader": "rp2040", + "processor": "RP2040", + + "matrix_pins": { + "cols": ["GP10", "GP11", "GP12"], + "rows": ["GP21", "GP20", "GP19"] + } +} \ No newline at end of file diff --git a/keyboards/itstleo/itstleo9/rp2040/rules.mk b/keyboards/itstleo/itstleo9/rp2040/rules.mk new file mode 100644 index 000000000000..6e7633bfe015 --- /dev/null +++ b/keyboards/itstleo/itstleo9/rp2040/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From 1367e4764e57778eff0e87cd35d821c440ce906f Mon Sep 17 00:00:00 2001 From: Its TLeo Date: Fri, 7 Jul 2023 20:53:26 +0700 Subject: [PATCH 07/11] move itstleo9 to handwired --- keyboards/{itstleo => handwired}/itstleo9/info.json | 0 .../{itstleo => handwired}/itstleo9/keymaps/default/keymap.c | 0 keyboards/{itstleo => handwired}/itstleo9/keymaps/via/keymap.c | 0 keyboards/{itstleo => handwired}/itstleo9/keymaps/via/rules.mk | 0 keyboards/{itstleo => handwired}/itstleo9/promicro/info.json | 0 keyboards/{itstleo => handwired}/itstleo9/promicro/rules.mk | 0 keyboards/{itstleo => handwired}/itstleo9/readme.md | 0 keyboards/{itstleo => handwired}/itstleo9/rp2040/info.json | 0 keyboards/{itstleo => handwired}/itstleo9/rp2040/rules.mk | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename keyboards/{itstleo => handwired}/itstleo9/info.json (100%) rename keyboards/{itstleo => handwired}/itstleo9/keymaps/default/keymap.c (100%) rename keyboards/{itstleo => handwired}/itstleo9/keymaps/via/keymap.c (100%) rename keyboards/{itstleo => handwired}/itstleo9/keymaps/via/rules.mk (100%) rename keyboards/{itstleo => handwired}/itstleo9/promicro/info.json (100%) rename keyboards/{itstleo => handwired}/itstleo9/promicro/rules.mk (100%) rename keyboards/{itstleo => handwired}/itstleo9/readme.md (100%) rename keyboards/{itstleo => handwired}/itstleo9/rp2040/info.json (100%) rename keyboards/{itstleo => handwired}/itstleo9/rp2040/rules.mk (100%) diff --git a/keyboards/itstleo/itstleo9/info.json b/keyboards/handwired/itstleo9/info.json similarity index 100% rename from keyboards/itstleo/itstleo9/info.json rename to keyboards/handwired/itstleo9/info.json diff --git a/keyboards/itstleo/itstleo9/keymaps/default/keymap.c b/keyboards/handwired/itstleo9/keymaps/default/keymap.c similarity index 100% rename from keyboards/itstleo/itstleo9/keymaps/default/keymap.c rename to keyboards/handwired/itstleo9/keymaps/default/keymap.c diff --git a/keyboards/itstleo/itstleo9/keymaps/via/keymap.c b/keyboards/handwired/itstleo9/keymaps/via/keymap.c similarity index 100% rename from keyboards/itstleo/itstleo9/keymaps/via/keymap.c rename to keyboards/handwired/itstleo9/keymaps/via/keymap.c diff --git a/keyboards/itstleo/itstleo9/keymaps/via/rules.mk b/keyboards/handwired/itstleo9/keymaps/via/rules.mk similarity index 100% rename from keyboards/itstleo/itstleo9/keymaps/via/rules.mk rename to keyboards/handwired/itstleo9/keymaps/via/rules.mk diff --git a/keyboards/itstleo/itstleo9/promicro/info.json b/keyboards/handwired/itstleo9/promicro/info.json similarity index 100% rename from keyboards/itstleo/itstleo9/promicro/info.json rename to keyboards/handwired/itstleo9/promicro/info.json diff --git a/keyboards/itstleo/itstleo9/promicro/rules.mk b/keyboards/handwired/itstleo9/promicro/rules.mk similarity index 100% rename from keyboards/itstleo/itstleo9/promicro/rules.mk rename to keyboards/handwired/itstleo9/promicro/rules.mk diff --git a/keyboards/itstleo/itstleo9/readme.md b/keyboards/handwired/itstleo9/readme.md similarity index 100% rename from keyboards/itstleo/itstleo9/readme.md rename to keyboards/handwired/itstleo9/readme.md diff --git a/keyboards/itstleo/itstleo9/rp2040/info.json b/keyboards/handwired/itstleo9/rp2040/info.json similarity index 100% rename from keyboards/itstleo/itstleo9/rp2040/info.json rename to keyboards/handwired/itstleo9/rp2040/info.json diff --git a/keyboards/itstleo/itstleo9/rp2040/rules.mk b/keyboards/handwired/itstleo9/rp2040/rules.mk similarity index 100% rename from keyboards/itstleo/itstleo9/rp2040/rules.mk rename to keyboards/handwired/itstleo9/rp2040/rules.mk From 0ab0381821e296ab3f1570f62e39b2292aace75a Mon Sep 17 00:00:00 2001 From: Its TLeo <134472524+ItsTLeo@users.noreply.github.com> Date: Mon, 10 Jul 2023 13:08:37 +0700 Subject: [PATCH 08/11] Update keyboards/handwired/itstleo9/readme.md Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/handwired/itstleo9/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/handwired/itstleo9/readme.md b/keyboards/handwired/itstleo9/readme.md index a5685615ef9e..99359d7b02d5 100644 --- a/keyboards/handwired/itstleo9/readme.md +++ b/keyboards/handwired/itstleo9/readme.md @@ -1,4 +1,4 @@ -# itstleo/handwired/it9_rp2040 +# itstleo9 Handwired 3x3 macropad built with Pro Micro compatible microcontrollers From d07d526e831a0faa9fd3366bb8f9aa1c40add276 Mon Sep 17 00:00:00 2001 From: Its TLeo <134472524+ItsTLeo@users.noreply.github.com> Date: Mon, 10 Jul 2023 13:08:47 +0700 Subject: [PATCH 09/11] Update keyboards/handwired/itstleo9/readme.md Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/handwired/itstleo9/readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/keyboards/handwired/itstleo9/readme.md b/keyboards/handwired/itstleo9/readme.md index 99359d7b02d5..c8c5309e0c34 100644 --- a/keyboards/handwired/itstleo9/readme.md +++ b/keyboards/handwired/itstleo9/readme.md @@ -3,9 +3,8 @@ Handwired 3x3 macropad built with Pro Micro compatible microcontrollers * Keyboard Maintainer: [ItsTLeo](https://github.com/ItsTLeo) -* Hardware Supported: RP2040, Promicro ATmega32u4 -* Hardware Availability: [RP2040](https://aliexpress.com/item/1005005616524430.html?gatewayAdapt=glo2vnm), - [Promicro](https://aliexpress.com/item/32888212119.html) +* Hardware Supported: RP2040/ATmega32U4 Pro Micro +* Hardware Availability: [RP2040](https://aliexpress.com/item/1005005616524430.html), [ATmega32U4](https://aliexpress.com/item/32888212119.html) Make example for this keyboard (after setting up your build environment): From 9cfcfe5288b688c48f4140a956cfb8fbbebfeea6 Mon Sep 17 00:00:00 2001 From: Its TLeo <134472524+ItsTLeo@users.noreply.github.com> Date: Mon, 10 Jul 2023 13:08:55 +0700 Subject: [PATCH 10/11] Update keyboards/handwired/itstleo9/readme.md Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/handwired/itstleo9/readme.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/keyboards/handwired/itstleo9/readme.md b/keyboards/handwired/itstleo9/readme.md index c8c5309e0c34..97bd3c91fb7a 100644 --- a/keyboards/handwired/itstleo9/readme.md +++ b/keyboards/handwired/itstleo9/readme.md @@ -8,11 +8,13 @@ Handwired 3x3 macropad built with Pro Micro compatible microcontrollers Make example for this keyboard (after setting up your build environment): - make itstleo/itstleo9:default - + make handwired/itstleo9/promicro:default + make handwired/itstleo9/rp2040:default + Flashing example for this keyboard: - make itstleo/itstleo9:default:flash + make handwired/itstleo9/promicro:default:flash + make handwired/itstleo9/rp2040: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). Dont know how to make a handwire keyboard, check it out [SkottoKeebs handwire tutorial](https://www.youtube.com/watch?v=hjml-K-pV4E&pp=ygUTaGFuZHdpcmUgYSBtYWNyb3BhZA%3D%3D) From 73c80889bb5d0eff2b55ed91af29be35d46e42be Mon Sep 17 00:00:00 2001 From: Its TLeo <134472524+ItsTLeo@users.noreply.github.com> Date: Mon, 10 Jul 2023 13:09:06 +0700 Subject: [PATCH 11/11] Update keyboards/handwired/itstleo9/readme.md Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/handwired/itstleo9/readme.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/keyboards/handwired/itstleo9/readme.md b/keyboards/handwired/itstleo9/readme.md index 97bd3c91fb7a..233407b39317 100644 --- a/keyboards/handwired/itstleo9/readme.md +++ b/keyboards/handwired/itstleo9/readme.md @@ -28,22 +28,10 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to * **cols** : D1 , D0 , D4 * **rows** : F4 , F5 , F6 -## Firmware flash (for RP2040) - -When entered the bootloader mode, drag the .uf2 firmware into bootloader folder, wait a little bit and its all set, start using our new macropad - -## Bootloader RP2040 - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: **Hold boot button** and press **rst button** 2 time, when it's appear the folder of rp2040 you entered the bootloader mode -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available - -## Bootloader Promicro +## Bootloader Enter the bootloader in 3 ways: -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (top left key) and plug in the keyboard +* **Physical reset button**: Double-press reset button * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available \ No newline at end of file