Skip to content

Add bad_numpad #25136

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions keyboards/handwired/bad_numpad/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

/* size of virtual matrix */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
52 changes: 52 additions & 0 deletions keyboards/handwired/bad_numpad/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"manufacturer": "LucaFrankfurt",
"keyboard_name": "bad_numpad",
"maintainer": "LucaFrankfurt",
"development_board": "promicro",
"bootloader": "atmel-dfu",
Comment on lines +5 to +6
Copy link
Member

@zvecr zvecr Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either this is a pro micro and bootloader should be removed (which matches readme content)

Suggested change
"development_board": "promicro",
"bootloader": "atmel-dfu",
"development_board": "promicro",

or it should be updated to use the elite_c development board defaults

"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
Comment on lines +10 to +11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"command": false,
"console": false,

"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["D1", "D0", "D4", "C6"],
"rows": ["D7", "E6", "B4", "B5", "B6"]
},
"url": "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"url": "",

"usb": {
"device_version": "1.0.0",
"pid": "0x0001",
"vid": "0x7675"
},
"layouts": {
"LAYOUT": {
Comment on lines +26 to +27
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"layouts": {
"LAYOUT": {
"community_layouts": ["ortho_5x4"],
"layouts": {
"LAYOUT_ortho_5x4": {

"layout": [
{"label": "K00","matrix": [0, 0], "x": 0, "y": 0},
{"label": "K01","matrix": [0, 1], "x": 1, "y": 0},
{"label": "K02","matrix": [0, 2], "x": 2, "y": 0},
{"label": "K03","matrix": [0, 3], "x": 3, "y": 0},
{"label": "K10","matrix": [1, 0], "x": 0, "y": 1},
{"label": "K11","matrix": [1, 1], "x": 1, "y": 1},
{"label": "K12","matrix": [1, 2], "x": 2, "y": 1},
{"label": "K13","matrix": [1, 3], "x": 3, "y": 1},
{"label": "K20","matrix": [2, 0], "x": 0, "y": 2},
{"label": "K21","matrix": [2, 1], "x": 1, "y": 2},
{"label": "K22","matrix": [2, 2], "x": 2, "y": 2},
{"label": "K23","matrix": [2, 3], "x": 3, "y": 2},
{"label": "K30","matrix": [3, 0], "x": 0, "y": 3},
{"label": "K31","matrix": [3, 1], "x": 1, "y": 3},
{"label": "K32","matrix": [3, 2], "x": 2, "y": 3},
{"label": "K33","matrix": [3, 3], "x": 3, "y": 3},
{"label": "K40","matrix": [4, 0], "x": 0, "y": 4},
{"label": "K41","matrix": [4, 1], "x": 1, "y": 4},
{"label": "K42","matrix": [4, 2], "x": 2, "y": 4},
{"label": "K43","matrix": [4, 3], "x": 3, "y": 4}
]
}
}
}
14 changes: 14 additions & 0 deletions keyboards/handwired/bad_numpad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[0] = LAYOUT(
[0] = LAYOUT_ortho_5x4(

KC_A, KC_B, KC_C, KC_D,
KC_D, KC_E, KC_F, KC_G,
KC_H, KC_I, KC_J, KC_K,
KC_L, KC_M, KC_N, KC_O,
KC_P, KC_Q, KC_R, KC_S
)
};
27 changes: 27 additions & 0 deletions keyboards/handwired/bad_numpad/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# handwired/bad_numpad

![handwired/bad_numpad](imgur.com image replace me!)

*A short description of the keyboard/project*
Comment on lines +3 to +5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These need to be filled out


* Keyboard Maintainer: [LucaFrankfurt](https://github.com/LucaFrankfurt)
* Hardware Supported: handwired, Micro Pro
* Hardware Availability: [*Pro Micro Aliexpress*](https://de.aliexpress.com/item/1005006742987619.html?spm=a2g0o.order_list.order_list_main.11.1bd65c5fNnE3iV&gatewayAdapt=glo2deu)

Make example for this keyboard (after setting up your build environment):

make handwired/bad_numpad:default

Flashing example for this keyboard:

make handwired/bad_numpad: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

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
Empty file.
Loading