Skip to content

Commit ba9642c

Browse files
authored
Add sector245/s245_streamdeck keyboard (#26013)
1 parent c2f7a5b commit ba9642c

4 files changed

Lines changed: 93 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"keyboard_name": "S245 Streamdeck",
3+
"manufacturer": "sector245",
4+
"maintainer": "sector245",
5+
"processor": "RP2040",
6+
"bootloader": "rp2040",
7+
"debounce": 20,
8+
"usb": {
9+
"vid": "0x5345",
10+
"pid": "0x0001",
11+
"device_version": "1.0.0"
12+
},
13+
"features": {
14+
"bootmagic": true,
15+
"extrakey": true,
16+
"encoder": true
17+
},
18+
"matrix_pins": {
19+
"direct": [
20+
["GP2", "GP3", "GP13"],
21+
["GP4", "GP5", "GP6"],
22+
["GP7", "GP8", "GP9"]
23+
]
24+
},
25+
"encoder": {
26+
"rotary": [
27+
{
28+
"pin_a": "GP10",
29+
"pin_b": "GP11",
30+
"resolution": 2
31+
}
32+
]
33+
},
34+
"community_layouts": ["ortho_3x3"],
35+
"layouts": {
36+
"LAYOUT_ortho_3x3": {
37+
"layout": [
38+
{"matrix": [0, 0], "x": 0, "y": 0},
39+
{"matrix": [0, 1], "x": 1, "y": 0},
40+
{"matrix": [0, 2], "x": 2, "y": 0, "encoder": 0},
41+
{"matrix": [1, 0], "x": 0, "y": 1},
42+
{"matrix": [1, 1], "x": 1, "y": 1},
43+
{"matrix": [1, 2], "x": 2, "y": 1},
44+
{"matrix": [2, 0], "x": 0, "y": 2},
45+
{"matrix": [2, 1], "x": 1, "y": 2},
46+
{"matrix": [2, 2], "x": 2, "y": 2}
47+
]
48+
}
49+
}
50+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Copyright 2025 sector245 (@sector245)
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_ortho_3x3(
8+
KC_A, KC_B, KC_C,
9+
KC_D, KC_E, KC_F,
10+
KC_G, KC_H, KC_I
11+
)
12+
};
13+
14+
#if defined(ENCODER_MAP_ENABLE)
15+
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
16+
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
17+
};
18+
#endif
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ENCODER_MAP_ENABLE = yes
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# S245 Streamdeck
2+
3+
A 3x3 macropad with rotary encoder.
4+
5+
* Keyboard Maintainer: [sector245](https://github.com/sinomau)
6+
* Hardware Supported: S245 Streamdeck PCB, RP2040
7+
8+
Make example for this keyboard (after setting up your build environment):
9+
10+
make handwired/sector245/s245:default
11+
12+
Flashing example for this keyboard:
13+
14+
make handwired/sector245/s245:default:flash
15+
16+
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).
17+
18+
## Bootloader
19+
20+
Enter the bootloader in 3 ways:
21+
22+
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (top left key) and plug in the keyboard
23+
* **Physical reset button**: Hold the BOOTSEL button on the Pico and plug in the keyboard
24+
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

0 commit comments

Comments
 (0)