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 pocketpad #20229

Merged
merged 16 commits into from
Apr 2, 2023
Merged
Show file tree
Hide file tree
Changes from 15 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
56 changes: 56 additions & 0 deletions keyboards/butterkeebs/pocketpad/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"manufacturer": "ButterKeebs",
"keyboard_name": "PocketPad",
"maintainer": "qmk",
"diode_direction": "ROW2COL",

"usb": {
"device_version": "1.0.0",
"pid": "0x1475",
"vid": "0xFEED"
},

"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["F1", "C7", "D5", "B7"],
"rows": ["F7", "F6", "F5", "F4", "B1"]
},

"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"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]},

{"x": 0, "y": 3, "matrix": [3,0]},
{"x": 1, "y": 3, "matrix": [3,1]},
{"x": 2, "y": 3, "matrix": [3,2]},
{"x": 3, "y": 3, "matrix": [3,3]},

{"x": 0, "y": 4, "matrix": [4,0]},
{"x": 1, "y": 4, "matrix": [4,1]}
]
}
}
}
14 changes: 14 additions & 0 deletions keyboards/butterkeebs/pocketpad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// ButterKeebs <butterkeebs@github>
// SPDX-License-Identifier: GPL-2.0+

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

LAYOUT(
KC_NUM_LOCK, KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_MINUS,
KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_PLUS,
KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_ENTER,
KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_DOT,
KC_F, KC_KP_0)
};
28 changes: 28 additions & 0 deletions keyboards/butterkeebs/pocketpad/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<h1> PocketPad </h1>
butterkeebs marked this conversation as resolved.
Show resolved Hide resolved


The PocketPad is a small 18 key macropad with a numpad like layout that takes inspiration from the PocketType.

Keyboard Maintainer: ButterKeebs </br >
Hardware Supported: ATMega32u4 based Elite-C pin compatible MCUs. 6mm square TH switches (link here soon) </br >
Hardware Availability: Links to storefront when available </br > </br >
Make example for this keyboard (after setting up your build environment):

```
make butterkeebs/pocketpad:default
```

Flashing example for this keyboard:

```
make butterkeebs/pocketpad:default:flash
```

See the <a href="https://docs.qmk.fm/#/getting_started_build_tools">build environment setup</a> and the <a href="https://github.com/qmk/qmk_firmware/blob/master/data/templates/keyboard/readme.md#:~:text=setup%20and%20the-,make%20instructions,-for%20more%20information">make instructions</a> for more information. Brand new to QMK? Start with our <a href="https://docs.qmk.fm/#/newbs)"> Complete Newbs Guide. </a>

Bootloader </br >
Enter the bootloader in 3 ways:

Physical reset button: Briefly press the button on the back of the PCB, if using PCB version 1, then hold a screwdriver to the third pin down on the right side of the MCU.

Keycode in layout: Press the key mapped to QK_BOOT if it is available
1 change: 1 addition & 0 deletions keyboards/butterkeebs/pocketpad/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally blank