mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
[Keyboard] Add pocketpad (#20229)
Co-authored-by: jack <0x6a73@protonmail.com>
This commit is contained in:
parent
d0e0b9e583
commit
b5d0c44690
56
keyboards/butterkeebs/pocketpad/info.json
Normal file
56
keyboards/butterkeebs/pocketpad/info.json
Normal file
|
@ -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
keyboards/butterkeebs/pocketpad/keymaps/default/keymap.c
Normal file
14
keyboards/butterkeebs/pocketpad/keymaps/default/keymap.c
Normal file
|
@ -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)
|
||||
};
|
27
keyboards/butterkeebs/pocketpad/readme.md
Normal file
27
keyboards/butterkeebs/pocketpad/readme.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# PocketPad
|
||||
|
||||
![PocketPad](https://tinyurl.com/2hffvnvb)
|
||||
|
||||
*The PocketPad is a tiny 18 key macropad/numpad using 6mm tactile switches.*
|
||||
|
||||
* Keyboard Maintainer: [ButterKeebs](https://github.com/butterkeebs)
|
||||
* Hardware Supported: *Supports current V1.0.0 PocketPad PCB and Elite C / pin compatible MCU boards.*
|
||||
* Hardware Availability: *Currently not for sale*
|
||||
|
||||
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 [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. (Not available on Revision 1.0.0 PCB)
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
1
keyboards/butterkeebs/pocketpad/rules.mk
Normal file
1
keyboards/butterkeebs/pocketpad/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
# This file intentionally blank
|
Loading…
Reference in a new issue