Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] add itstleo9 #21460

Merged
merged 11 commits into from
Jul 11, 2023
7 changes: 7 additions & 0 deletions keyboards/itstleo/itstleo9/Promicro/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"development_board": "promicro",
"matrix_pins": {
"cols": ["D1", "D0", "D4"],
"rows": ["F4", "F5", "F6"]
}
}
30 changes: 30 additions & 0 deletions keyboards/itstleo/itstleo9/Promicro/readme.md
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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
1 change: 1 addition & 0 deletions keyboards/itstleo/itstleo9/Promicro/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
9 changes: 9 additions & 0 deletions keyboards/itstleo/itstleo9/RP2040/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"bootloader": "rp2040",
"processor": "RP2040",

"matrix_pins": {
"cols": ["GP10", "GP11", "GP12"],
"rows": ["GP21", "GP20", "GP19"]
}
}
34 changes: 34 additions & 0 deletions keyboards/itstleo/itstleo9/RP2040/readme.md
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# itstleo/handwired/it9_rp2040

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)

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
1 change: 1 addition & 0 deletions keyboards/itstleo/itstleo9/RP2040/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
35 changes: 35 additions & 0 deletions keyboards/itstleo/itstleo9/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"manufacturer": "Its TLeo",
"keyboard_name": "ItsTleo9",
"maintainer": "Its TLeo",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0001",
"vid": "0x4954"
},
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
"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 }
]
}
}
}
21 changes: 21 additions & 0 deletions keyboards/itstleo/itstleo9/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};
28 changes: 28 additions & 0 deletions keyboards/itstleo/itstleo9/keymaps/via/itstleo9.json
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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"
]
]
}
}
21 changes: 21 additions & 0 deletions keyboards/itstleo/itstleo9/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};
3 changes: 3 additions & 0 deletions keyboards/itstleo/itstleo9/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file intentionally left blank
VIA_ENABLE = yes
LTO_ENABLE = yes
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved