From a4c5a02b80ae8e6da5a7108e9308d6a9decffb8c Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 11:01:44 +0300 Subject: [PATCH 1/8] Add enmepad3x4 keyboard --- keyboards/enmeseoz/enmepad3x4/keyboard.json | 58 +++++++++++++++++++ .../enmepad3x4/keymaps/default/keymap.c | 25 ++++++++ keyboards/enmeseoz/enmepad3x4/readme.md | 21 +++++++ 3 files changed, 104 insertions(+) create mode 100644 keyboards/enmeseoz/enmepad3x4/keyboard.json create mode 100644 keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c create mode 100644 keyboards/enmeseoz/enmepad3x4/readme.md diff --git a/keyboards/enmeseoz/enmepad3x4/keyboard.json b/keyboards/enmeseoz/enmepad3x4/keyboard.json new file mode 100644 index 00000000000..d30656bd87c --- /dev/null +++ b/keyboards/enmeseoz/enmepad3x4/keyboard.json @@ -0,0 +1,58 @@ +{ + "url": "", + "manufacturer": "ENMESEOZ", + "maintainer": "ENMESEOZ", + "keyboard_name": "ENMEPAD", + "usb": + { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0xFEED" + }, + "bootloader": "rp2040", + "processor": "RP2040", + "debounce": 5, + "diode_direction": "COL2ROW", + "matrix": + { + "rows": 4, + "cols": 4 + }, + "matrix_pins": + { + "rows": ["GP3", "GP4", "GP5"], + "cols": ["GP26", "GP27", "GP28", "GP29"] + }, + "features": + { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": true + }, + "layouts": + { + "LAYOUT_3x4": + { + "layout": + [ + {"x": 0, "y": 0, "matrix": [0, 0] }, + {"x": 1, "y": 0, "matrix": [0, 1] }, + {"x": 2, "y": 0, "matrix": [0, 2] }, + {"x": 3, "y": 0, "matrix": [0, 3] }, + + {"x": 0, "y": 1, "matrix": [1, 0] }, + {"x": 1, "y": 1, "matrix": [1, 1] }, + {"x": 2, "y": 1, "matrix": [1, 2] }, + {"x": 3, "y": 1, "matrix": [1, 3] }, + + {"x": 0, "y": 2, "matrix": [2, 0] }, + {"x": 1, "y": 2, "matrix": [2, 1] }, + {"x": 2, "y": 2, "matrix": [2, 2] }, + {"x": 3, "y": 2, "matrix": [2, 3] } + ] + } + } +} diff --git a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c new file mode 100644 index 00000000000..d9de94e7d3c --- /dev/null +++ b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c @@ -0,0 +1,25 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + LAYOUT_3x4( // Use LAYOUT_3x4 instead of LAYOUT + KC_0, KC_1, KC_4, KC_7, + KC_ENT, KC_2, KC_5, KC_8, + MO(1), KC_3, KC_6, KC_9 + ), + LAYOUT_3x4( // Same here + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + LAYOUT_3x4( // Same here + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + LAYOUT_3x4( // Same here + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/enmeseoz/enmepad3x4/readme.md b/keyboards/enmeseoz/enmepad3x4/readme.md new file mode 100644 index 00000000000..d39302abcdc --- /dev/null +++ b/keyboards/enmeseoz/enmepad3x4/readme.md @@ -0,0 +1,21 @@ +# ENMEPAD 3x4 + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [bkchqaeh](https://github.com/bkchqaeh) +* Hardware Supported: *rp2040* +* Hardware Availability: *Not available* + +Make example for this keyboard (after setting up your build environment): + + make enmeseoz/enmepad3x4:default + +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 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 bb53593b65a71f45d0431d9105b40c5472a8bcf0 Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 11:06:54 +0300 Subject: [PATCH 2/8] Update keymap.c --- keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c index d9de94e7d3c..2216d0f624c 100644 --- a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c +++ b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c @@ -2,22 +2,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - LAYOUT_3x4( // Use LAYOUT_3x4 instead of LAYOUT + LAYOUT_3x4( KC_0, KC_1, KC_4, KC_7, KC_ENT, KC_2, KC_5, KC_8, MO(1), KC_3, KC_6, KC_9 ), - LAYOUT_3x4( // Same here + LAYOUT_3x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - LAYOUT_3x4( // Same here + LAYOUT_3x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), - LAYOUT_3x4( // Same here + LAYOUT_3x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS From a7774ff8bc2974562ae36b792adbde3fc8a13040 Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 11:27:40 +0300 Subject: [PATCH 3/8] Bugfix for: keymap.c, readme.md --- .../enmeseoz/enmepad3x4/keymaps/default/keymap.c | 16 ++++++++++++++++ keyboards/enmeseoz/enmepad3x4/readme.md | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c index 2216d0f624c..10afb448619 100644 --- a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c +++ b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c @@ -1,3 +1,19 @@ +/* Copyright 2025 ENMESEOZ + * + * 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] = { diff --git a/keyboards/enmeseoz/enmepad3x4/readme.md b/keyboards/enmeseoz/enmepad3x4/readme.md index d39302abcdc..828527e65b9 100644 --- a/keyboards/enmeseoz/enmepad3x4/readme.md +++ b/keyboards/enmeseoz/enmepad3x4/readme.md @@ -1,6 +1,6 @@ # ENMEPAD 3x4 -*A short description of the keyboard/project* +ENMEPAD3x4 a compact macropad controlled with rp2040. * Keyboard Maintainer: [bkchqaeh](https://github.com/bkchqaeh) * Hardware Supported: *rp2040* From 4910dbd00b1b05694d780e39904007227f94cc17 Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 12:37:19 +0300 Subject: [PATCH 4/8] Requested changes --- keyboards/enmeseoz/enmepad3x4/keyboard.json | 80 ++++++++----------- .../enmepad3x4/keymaps/default/keymap.c | 10 --- keyboards/enmeseoz/enmepad3x4/readme.md | 4 + 3 files changed, 37 insertions(+), 57 deletions(-) diff --git a/keyboards/enmeseoz/enmepad3x4/keyboard.json b/keyboards/enmeseoz/enmepad3x4/keyboard.json index d30656bd87c..8cd086f4e51 100644 --- a/keyboards/enmeseoz/enmepad3x4/keyboard.json +++ b/keyboards/enmeseoz/enmepad3x4/keyboard.json @@ -1,57 +1,43 @@ { - "url": "", "manufacturer": "ENMESEOZ", - "maintainer": "ENMESEOZ", "keyboard_name": "ENMEPAD", - "usb": - { + "maintainer": "ENMESEOZ", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "nkro": true + }, + "matrix": { + "cols": 4, + "rows": 4 + }, + "matrix_pins": { + "cols": ["GP26", "GP27", "GP28", "GP29"], + "rows": ["GP3", "GP4", "GP5"] + }, + "processor": "RP2040", + "url": "https://github.com/bkchqaeh/qmk_firmware/tree/master/keyboards/enmeseoz/enmepad3x4", + "usb": { "device_version": "1.0.0", "pid": "0x0000", "vid": "0xFEED" }, - "bootloader": "rp2040", - "processor": "RP2040", - "debounce": 5, - "diode_direction": "COL2ROW", - "matrix": - { - "rows": 4, - "cols": 4 - }, - "matrix_pins": - { - "rows": ["GP3", "GP4", "GP5"], - "cols": ["GP26", "GP27", "GP28", "GP29"] - }, - "features": - { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": false, - "mousekey": false, - "nkro": true - }, - "layouts": - { - "LAYOUT_3x4": - { - "layout": - [ - {"x": 0, "y": 0, "matrix": [0, 0] }, - {"x": 1, "y": 0, "matrix": [0, 1] }, - {"x": 2, "y": 0, "matrix": [0, 2] }, - {"x": 3, "y": 0, "matrix": [0, 3] }, - - {"x": 0, "y": 1, "matrix": [1, 0] }, - {"x": 1, "y": 1, "matrix": [1, 1] }, - {"x": 2, "y": 1, "matrix": [1, 2] }, - {"x": 3, "y": 1, "matrix": [1, 3] }, - - {"x": 0, "y": 2, "matrix": [2, 0] }, - {"x": 1, "y": 2, "matrix": [2, 1] }, - {"x": 2, "y": 2, "matrix": [2, 2] }, - {"x": 3, "y": 2, "matrix": [2, 3] } + "layouts": { + "LAYOUT_3x4": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2} ] } } diff --git a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c index 10afb448619..b7fadb30958 100644 --- a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c +++ b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c @@ -18,16 +18,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - LAYOUT_3x4( - KC_0, KC_1, KC_4, KC_7, - KC_ENT, KC_2, KC_5, KC_8, - MO(1), KC_3, KC_6, KC_9 - ), - LAYOUT_3x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), LAYOUT_3x4( KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, diff --git a/keyboards/enmeseoz/enmepad3x4/readme.md b/keyboards/enmeseoz/enmepad3x4/readme.md index 828527e65b9..dd7391daac7 100644 --- a/keyboards/enmeseoz/enmepad3x4/readme.md +++ b/keyboards/enmeseoz/enmepad3x4/readme.md @@ -10,6 +10,10 @@ Make example for this keyboard (after setting up your build environment): make enmeseoz/enmepad3x4:default +Flashing example for this keyboard: + + make enmeseoz/enmepad3x4: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 From eadfd3a46d3d37b861f6cc4649cd06d51198bc86 Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 13:39:06 +0300 Subject: [PATCH 5/8] Requested changes --- keyboards/enmeseoz/enmepad3x4/keyboard.json | 4 ---- keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/keyboards/enmeseoz/enmepad3x4/keyboard.json b/keyboards/enmeseoz/enmepad3x4/keyboard.json index 8cd086f4e51..4d98e33cf42 100644 --- a/keyboards/enmeseoz/enmepad3x4/keyboard.json +++ b/keyboards/enmeseoz/enmepad3x4/keyboard.json @@ -8,10 +8,6 @@ "bootmagic": true, "nkro": true }, - "matrix": { - "cols": 4, - "rows": 4 - }, "matrix_pins": { "cols": ["GP26", "GP27", "GP28", "GP29"], "rows": ["GP3", "GP4", "GP5"] diff --git a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c index b7fadb30958..97a5ba4a1a6 100644 --- a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c +++ b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c @@ -19,12 +19,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { LAYOUT_3x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + KC_0, KC_1, KC_4, KC_7, + KC_ENT, KC_2, KC_5, KC_8, + MO(1), KC_3, KC_6, KC_9 ), LAYOUT_3x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ) From 208107960dc75649a2bde945a95976a58a492a53 Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 13:43:08 +0300 Subject: [PATCH 6/8] Quick fix --- keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c index 97a5ba4a1a6..41008365b24 100644 --- a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c +++ b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c @@ -19,9 +19,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { LAYOUT_3x4( - KC_0, KC_1, KC_4, KC_7, - KC_ENT, KC_2, KC_5, KC_8, - MO(1), KC_3, KC_6, KC_9 + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), LAYOUT_3x4( QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, From ea6e5971922d5eb84f1e8746ea84d6b2a24a20e4 Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 13:50:49 +0300 Subject: [PATCH 7/8] Quick fix 2 --- keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c index 41008365b24..0f6fd6b3028 100644 --- a/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c +++ b/keyboards/enmeseoz/enmepad3x4/keymaps/default/keymap.c @@ -19,9 +19,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { LAYOUT_3x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + KC_0, KC_1, KC_4, KC_7, + KC_ENT, KC_2, KC_5, KC_8, + MO(1), KC_3, KC_6, KC_9 ), LAYOUT_3x4( QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, From 46aa105e2aad79001675ad011079f12835ac78c4 Mon Sep 17 00:00:00 2001 From: bkchqaeh Date: Mon, 30 Jun 2025 13:55:04 +0300 Subject: [PATCH 8/8] Quick fix 3 --- keyboards/enmeseoz/enmepad3x4/keyboard.json | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/enmeseoz/enmepad3x4/keyboard.json b/keyboards/enmeseoz/enmepad3x4/keyboard.json index 4d98e33cf42..50fccf9d8cf 100644 --- a/keyboards/enmeseoz/enmepad3x4/keyboard.json +++ b/keyboards/enmeseoz/enmepad3x4/keyboard.json @@ -13,7 +13,6 @@ "rows": ["GP3", "GP4", "GP5"] }, "processor": "RP2040", - "url": "https://github.com/bkchqaeh/qmk_firmware/tree/master/keyboards/enmeseoz/enmepad3x4", "usb": { "device_version": "1.0.0", "pid": "0x0000",