Skip to content

Commit 177e461

Browse files
authored
[Keyboard] Add togkey pad & pad_plus (qmk#25217)
* Initial Commit for Adding TogKey Pad and TogKey Pad Plus to QMK * Added TogKey Pad default Keymap * Changed Pins for Encoder * added images to read me * Updated Read Me Pictures Links * Applied Suggested Changes and Formatting to keyboard.json * Applied suggested keycodes to keymap.c for togkey pad * Updated Hardware Availability Links in Readme * Set development board instead of seperate bootloader and processor. * Added pad_plus.c for oled. Added config.h for pad_plus. Applied Suggested Changes. * - Moved oled arrays outside of oled_task function. - Removed white spaces from pad_plus keymaps. - Made suggested changes to oled_task function. * Updated with Changes - Updated pad json. Removed extra features, remvoed rgb test from rgb animations. - Updated pad_plus functions - Updated Pad Plus Config file * Readded display defintion. * Corrected OLED resolution definition. * Applied Suggested Changes - Updated Copyright Information - Updated Layout Names - Updated TogKey Pad Layout * Applied Suggested Changes - Removed move layer function. - Repolaced with "TO" keycodes - Updated OLED images * Fixed Layout name in keyboard.json for togkey pad * - Updated Readme for both pad and pad plus. - Updated Oled pictures for pad plus. * - Added bootmagic and extrakey features to togkey pad keyboard.json.
1 parent b42191a commit 177e461

File tree

8 files changed

+951
-0
lines changed

8 files changed

+951
-0
lines changed

keyboards/togkey/pad/keyboard.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"manufacturer": "TogKey",
3+
"keyboard_name": "Pad",
4+
"maintainer": "togkey86",
5+
"development_board": "promicro_rp2040",
6+
"diode_direction": "COL2ROW",
7+
"features": {
8+
"bootmagic": true,
9+
"extrakey": true,
10+
"rgblight": true
11+
},
12+
"matrix_pins": {
13+
"cols": ["GP2", "GP3", "GP4"],
14+
"rows": ["GP5", "GP6"]
15+
},
16+
"rgblight": {
17+
"animations": {
18+
"alternating": true,
19+
"breathing": true,
20+
"christmas": true,
21+
"knight": true,
22+
"rainbow_mood": true,
23+
"rainbow_swirl": true,
24+
"snake": true,
25+
"static_gradient": true,
26+
"twinkle": true
27+
},
28+
"hue_steps": 10,
29+
"led_count": 5
30+
},
31+
"url": "https://togkey.com/products/togkey-pad",
32+
"usb": {
33+
"device_version": "1.0.0",
34+
"pid": "0x8686",
35+
"vid": "0xFEED"
36+
},
37+
"ws2812": {
38+
"driver": "vendor",
39+
"pin": "GP7"
40+
},
41+
"layouts": {
42+
"LAYOUT": {
43+
"layout": [
44+
{"matrix": [0, 0], "x": 0.5, "y": 0},
45+
{"matrix": [0, 1], "x": 1.5, "y": 0},
46+
{"matrix": [1, 0], "x": 0, "y": 1},
47+
{"matrix": [1, 1], "x": 1, "y": 1},
48+
{"matrix": [1, 2], "x": 2, "y": 1}
49+
]
50+
}
51+
}
52+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright 2025 TogKey
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#include QMK_KEYBOARD_H
5+
6+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7+
[0] = LAYOUT(
8+
KC_VOLD, KC_VOLU,
9+
KC_MPRV, KC_MPLY, KC_MNXT
10+
)
11+
};

keyboards/togkey/pad/readme.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# pad
2+
3+
![pad](https://i.imgur.com/KMS1btN.jpeg)
4+
5+
A simple 5-Key Macropad based off an RP2040 and custom PCB.
6+
7+
* Keyboard Maintainer: [Jon Henry](https://github.com/togkey86)
8+
* Hardware Supported: TogKey Pad PCB, RP2040 Pro Micro Development Board
9+
* Hardware Availability: (https://togkey.com)
10+
11+
Make example for this keyboard (after setting up your build environment):
12+
13+
make togkey/pad:default
14+
15+
Flashing example for this keyboard:
16+
17+
make togkey/pad:default:flash
18+
19+
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).
20+
21+
## Bootloader
22+
23+
Enter the bootloader in 3 ways:
24+
25+
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
26+
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
27+
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

keyboards/togkey/pad_plus/config.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Copyright 2025 TogKey
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
6+
//OLED
7+
#define OLED_DISPLAY_128X64
8+
#define I2C_DRIVER I2CD1
9+
#define I2C1_SDA_PIN GP2
10+
#define I2C1_SCL_PIN GP3
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"manufacturer": "TogKey",
3+
"keyboard_name": "Pad Plus",
4+
"maintainer": "togkey86",
5+
"development_board": "promicro_rp2040",
6+
"diode_direction": "COL2ROW",
7+
"encoder": {
8+
"rotary": [
9+
{"pin_a": "GP28", "pin_b": "GP29", "resolution": 2}
10+
]
11+
},
12+
"features": {
13+
"bootmagic": true,
14+
"encoder": true,
15+
"extrakey": true,
16+
"mousekey": true,
17+
"oled": true,
18+
"rgblight": true
19+
},
20+
"matrix_pins": {
21+
"cols": ["GP4", "GP5", "GP6"],
22+
"rows": ["GP26", "GP22", "GP20"]
23+
},
24+
25+
"rgblight": {
26+
"animations": {
27+
"alternating": true,
28+
"breathing": true,
29+
"christmas": true,
30+
"knight": true,
31+
"rainbow_mood": true,
32+
"rainbow_swirl": true,
33+
"snake": true,
34+
"static_gradient": true,
35+
"twinkle": true
36+
},
37+
"hue_steps": 10,
38+
"led_count": 3
39+
},
40+
"url": "https://togkey.com/products/togkey-pad-plus",
41+
"usb": {
42+
"device_version": "1.0.0",
43+
"pid": "0x8687",
44+
"vid": "0xFEED"
45+
},
46+
"ws2812": {
47+
"driver": "vendor",
48+
"pin": "GP27"
49+
},
50+
"layouts": {
51+
"LAYOUT": {
52+
"layout": [
53+
{"matrix": [0, 2], "x": 2, "y": 0},
54+
{"matrix": [1, 0], "x": 0, "y": 1},
55+
{"matrix": [1, 1], "x": 1, "y": 1},
56+
{"matrix": [1, 2], "x": 2, "y": 1},
57+
{"matrix": [2, 0], "x": 0, "y": 2},
58+
{"matrix": [2, 1], "x": 1, "y": 2},
59+
{"matrix": [2, 2], "x": 2, "y": 2}
60+
]
61+
}
62+
}
63+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Copyright 2025 TogKey
2+
// SPDX-License-Identifier: GPL-2.0-or-later6
3+
4+
#include QMK_KEYBOARD_H
5+
6+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7+
[0] = LAYOUT(
8+
TO(1),
9+
KC_VOLD, KC_MUTE, KC_VOLU,
10+
KC_MPRV, KC_MPLY, KC_MNXT
11+
),
12+
13+
[1] = LAYOUT(
14+
TO(2),
15+
KC_1, KC_2, KC_3,
16+
KC_4, KC_5, KC_6
17+
),
18+
19+
[2] = LAYOUT(
20+
TO(3),
21+
KC_A, KC_B, KC_C,
22+
KC_D, KC_E, KC_F
23+
),
24+
25+
[3] = LAYOUT(
26+
TO(0),
27+
KC_J, KC_K, KC_L,
28+
KC_M, KC_N, KC_O
29+
)
30+
};

0 commit comments

Comments
 (0)