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
20 changes: 20 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_32u4/config.h
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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
41 changes: 41 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_32u4/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"manufacturer": "Its TLeo",
"keyboard_name": "itstleo/handwired/ItsTleo9_32u4",
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
"maintainer": "Its TLeo",
"bootloader": "caterina",
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
"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": "",
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
"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/itstleo9_32u4/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
)
};
20 changes: 20 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/via/config.h
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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"]
]
}
}
21 changes: 21 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_32u4/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/itstleo9_32u4/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file intentionally left blank
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
VIA_ENABLE = yes
LTO_ENABLE = yes
20 changes: 20 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/config.h
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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"]
]
}
}
21 changes: 21 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_32u4/keymaps/vial/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
)
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file intentionally left blank
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
30 changes: 30 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_32u4/readme.md
Original file line number Diff line number Diff line change
@@ -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.
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved

* 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)
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved

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/itstleo9_32u4/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
20 changes: 20 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_rp2040/config.h
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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
41 changes: 41 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_rp2040/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"manufacturer": "Its TLeo",
"keyboard_name": "itstleo/handwired/ItsTleo9",
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
"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"
},
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 }
]
}
}
}
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
)
};
20 changes: 20 additions & 0 deletions keyboards/itstleo/itstleo9/itstleo9_rp2040/keymaps/via/config.h
ItsTLeo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -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
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"
]
]
}
}
Loading