Skip to content

Commit 80612c8

Browse files
djreischwaffle87drashna
authored
Added Keyboard LumPy27 (#24967)
Co-authored-by: jack <jack@pngu.org> Co-authored-by: Drashna Jaelre <drashna@live.com>
1 parent af141d1 commit 80612c8

3 files changed

Lines changed: 160 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"manufacturer": "djreisch",
3+
"keyboard_name": "LumPy27",
4+
"maintainer": "djreisch",
5+
"board": "GENERIC_RP_RP2040",
6+
"bootloader": "rp2040",
7+
"diode_direction": "COL2ROW",
8+
"features": {
9+
"bootmagic": true,
10+
"extrakey": true,
11+
"mousekey": true
12+
},
13+
"matrix_pins": {
14+
"cols": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5"],
15+
"rows": ["GP14", "GP15", "GP16", "GP17", "GP18"]
16+
},
17+
"processor": "RP2040",
18+
"usb": {
19+
"device_version": "1.0.0",
20+
"pid": "0x2326",
21+
"vid": "0xFEED"
22+
},
23+
"layouts": {
24+
"LAYOUT": {
25+
"layout": [
26+
{"matrix": [0, 0], "x": 0, "y": 0},
27+
{"matrix": [0, 1], "x": 1, "y": 0},
28+
{"matrix": [0, 2], "x": 2, "y": 0},
29+
{"matrix": [0, 3], "x": 3, "y": 0},
30+
{"matrix": [0, 4], "x": 4, "y": 0},
31+
{"matrix": [0, 5], "x": 5, "y": 0},
32+
{"matrix": [1, 0], "x": 0, "y": 1},
33+
{"matrix": [1, 1], "x": 1, "y": 1},
34+
{"matrix": [1, 2], "x": 2, "y": 1},
35+
{"matrix": [1, 3], "x": 3, "y": 1},
36+
{"matrix": [1, 4], "x": 4, "y": 1},
37+
{"matrix": [1, 5], "x": 5, "y": 1},
38+
{"matrix": [2, 1], "x": 1, "y": 2},
39+
{"matrix": [2, 2], "x": 2, "y": 2},
40+
{"matrix": [2, 3], "x": 3, "y": 2},
41+
{"matrix": [2, 4], "x": 4, "y": 2},
42+
{"matrix": [2, 5], "x": 5, "y": 2},
43+
{"matrix": [3, 0], "x": 0, "y": 3},
44+
{"matrix": [3, 1], "x": 1, "y": 3},
45+
{"matrix": [3, 2], "x": 2, "y": 3},
46+
{"matrix": [3, 3], "x": 3, "y": 3},
47+
{"matrix": [3, 4], "x": 4, "y": 3},
48+
{"matrix": [3, 5], "x": 5, "y": 3},
49+
{"matrix": [4, 3], "x": 3, "y": 4},
50+
{"matrix": [4, 4], "x": 4, "y": 4},
51+
{"matrix": [4, 5], "x": 5, "y": 4}
52+
]
53+
}
54+
}
55+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
/* Copyright 2024 Daniel Reisch (djreisch)
2+
*
3+
* This program is free software: you can redistribute it and/or modify
4+
* it under the terms of the GNU General Public License as published by
5+
* the Free Software Foundation, either version 2 of the License, or
6+
* (at your option) any later version.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* You should have received a copy of the GNU General Public License
14+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
16+
17+
#include QMK_KEYBOARD_H
18+
19+
enum custom_keycodes { MACRO_GG = QK_USER };
20+
21+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
22+
/*
23+
Main
24+
,-----------------------------------------.
25+
| ESC | 1 | 2 | 3 | 4 | 5 |
26+
|------+------+------+------+------+------|
27+
| Tab | G | Q | W | E | R |
28+
|------+------+------+------+------+------|
29+
| LSHIFT | A | S | D | F |
30+
|------+------+------+------+------+------|
31+
| LCTL | B | Z | X | C | V |-------|
32+
`-----------------------------------------/ /
33+
| LAlt | FN | / Space /
34+
| | |/ /
35+
`---------------------'
36+
*/
37+
[0] = LAYOUT(KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5,
38+
KC_TAB, KC_G, KC_Q, KC_W, KC_E, KC_R,
39+
KC_LSFT, KC_A, KC_S, KC_D, KC_F,
40+
KC_LCTL, KC_B, KC_Z, KC_X, KC_C, KC_V,
41+
KC_LALT, MO(1), KC_SPACE),
42+
43+
/*
44+
Alt
45+
,-----------------------------------------.
46+
| ESC | 0 | 9 | 8 | 7 | 6 |
47+
|------+------+------+------+------+------|
48+
| F1 | F2 | F3 | F4 | F5 | F6 |
49+
|------+------+------+------+------+------|
50+
| LSHIFT | A | S | Y | H |
51+
|------+------+------+------+------+------|
52+
| LCTL | B | Z | X | C | M |-------|
53+
`-----------------------------------------/ /
54+
| LAlt | FN | / Enter /
55+
| | |/ /
56+
`---------------------'
57+
*/
58+
[1] = LAYOUT(KC_ESC, KC_0, KC_9, KC_8, KC_7, KC_6,
59+
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6,
60+
KC_LSFT, KC_A, KC_S, KC_Y, KC_H,
61+
KC_LCTL, MACRO_GG, KC_Z, KC_X, KC_C, KC_M,
62+
KC_LALT, KC_TRNS, KC_ENTER)
63+
};
64+
65+
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
66+
switch (keycode) {
67+
case MACRO_GG:
68+
if (record->event.pressed) {
69+
// when keycode MACRO_GG is pressed, press shift+enter, send string "gg" and press enter
70+
SEND_STRING(SS_DOWN(X_LSFT) SS_DELAY(10) SS_TAP(X_ENTER) SS_UP(X_LSFT) "gg" SS_TAP(X_ENTER));
71+
}
72+
break;
73+
}
74+
75+
return true;
76+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# LumPy27
2+
3+
The Lightweight User-Modifiable Pi/Python keyboard is a 26-key ergonomic gaming keyboard running on an RP2040. Originally designed to run CircuitPython and KMK, since QMK supports the RP2040 bootloader this is now an additional option for firmware.
4+
5+
Q: Why is it named the LumPy27 even though it has 26 keys?
6+
7+
A: When originally designing the PCB and coming up with a name, I miscounted the switches. With the name emblazoned on the silkscreen I figured it sounded better than LumPy26.
8+
9+
Q: Why are the keys in the wrong place?
10+
11+
A: For certain games I found it easier instead of remapping them to just change where they are. That's why keys like B and G are not in the right spots.
12+
13+
* Keyboard Maintainer: [djreisch](https://github.com/djreisch)
14+
* Hardware Availability: [DuckyDebug.org](https://duckydebug.org/products/lumpy27-ergonomic-gaming-keyboard)
15+
16+
qmk compile example for this keyboard (after setting up your build environment):
17+
18+
qmk compile -kb djreisch/lumpy27 -km default
19+
20+
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).
21+
22+
## Bootloader
23+
24+
Enter the bootloader in 2 ways:
25+
26+
* **Bootloader Reset**: Hold down the bootload button and press the reset button
27+
* **Bootloader Power On**: Hold down the bootloader button and plug in the keyboard
28+
29+

0 commit comments

Comments
 (0)