summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIts TLeo <134472524+ItsTLeo@users.noreply.github.com>2023-07-11 11:16:19 +0700
committerGitHub <noreply@github.com>2023-07-10 21:16:19 -0700
commitfbe44c062196fc757d2137d4d05405f401d0e7b5 (patch)
tree174a0baccc3ad885ceca2932ab383a59f8edfafc
parent4d92aff2aeed79f6b0c792a5b75744c5dc1049cd (diff)
[Keyboard] add itstleo9 (#21460)
Co-authored-by: jack <0x6a73@protonmail.com>
-rw-r--r--keyboards/handwired/itstleo9/info.json36
-rw-r--r--keyboards/handwired/itstleo9/keymaps/default/keymap.c21
-rw-r--r--keyboards/handwired/itstleo9/keymaps/via/keymap.c21
-rw-r--r--keyboards/handwired/itstleo9/keymaps/via/rules.mk1
-rw-r--r--keyboards/handwired/itstleo9/promicro/info.json7
-rw-r--r--keyboards/handwired/itstleo9/promicro/rules.mk1
-rw-r--r--keyboards/handwired/itstleo9/readme.md37
-rw-r--r--keyboards/handwired/itstleo9/rp2040/info.json9
-rw-r--r--keyboards/handwired/itstleo9/rp2040/rules.mk1
9 files changed, 134 insertions, 0 deletions
diff --git a/keyboards/handwired/itstleo9/info.json b/keyboards/handwired/itstleo9/info.json
new file mode 100644
index 0000000000..ba9de4d774
--- /dev/null
+++ b/keyboards/handwired/itstleo9/info.json
@@ -0,0 +1,36 @@
+{
+ "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"
+ },
+ "community_layouts": ["ortho_3x3"],
+ "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/handwired/itstleo9/keymaps/default/keymap.c b/keyboards/handwired/itstleo9/keymaps/default/keymap.c
new file mode 100644
index 0000000000..ea111ba6fe
--- /dev/null
+++ b/keyboards/handwired/itstleo9/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/handwired/itstleo9/keymaps/via/keymap.c b/keyboards/handwired/itstleo9/keymaps/via/keymap.c
new file mode 100644
index 0000000000..ea111ba6fe
--- /dev/null
+++ b/keyboards/handwired/itstleo9/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/handwired/itstleo9/keymaps/via/rules.mk b/keyboards/handwired/itstleo9/keymaps/via/rules.mk
new file mode 100644
index 0000000000..036bd6d1c3
--- /dev/null
+++ b/keyboards/handwired/itstleo9/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/handwired/itstleo9/promicro/info.json b/keyboards/handwired/itstleo9/promicro/info.json
new file mode 100644
index 0000000000..4cbc1050c0
--- /dev/null
+++ b/keyboards/handwired/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/handwired/itstleo9/promicro/rules.mk b/keyboards/handwired/itstleo9/promicro/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/handwired/itstleo9/promicro/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank
diff --git a/keyboards/handwired/itstleo9/readme.md b/keyboards/handwired/itstleo9/readme.md
new file mode 100644
index 0000000000..233407b393
--- /dev/null
+++ b/keyboards/handwired/itstleo9/readme.md
@@ -0,0 +1,37 @@
+# itstleo9
+
+Handwired 3x3 macropad built with Pro Micro compatible microcontrollers
+
+* Keyboard Maintainer: [ItsTLeo](https://github.com/ItsTLeo)
+* 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):
+
+ make handwired/itstleo9/promicro:default
+ make handwired/itstleo9/rp2040:default
+
+Flashing example for this keyboard:
+
+ 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)
+
+## Matrix pin (RP2040 ver)
+
+* **cols** : GP10 , GP11 , GP12
+* **rows** : GP21 , GP20 , GP19
+
+## Matrix pin (Promicro ver)
+
+* **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 (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
diff --git a/keyboards/handwired/itstleo9/rp2040/info.json b/keyboards/handwired/itstleo9/rp2040/info.json
new file mode 100644
index 0000000000..0272150df1
--- /dev/null
+++ b/keyboards/handwired/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/handwired/itstleo9/rp2040/rules.mk b/keyboards/handwired/itstleo9/rp2040/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/handwired/itstleo9/rp2040/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank