Skip to content

Commit 83b8418

Browse files
jessel92zvecrwaffle87sigprof
authored
[Keyboard] Add Noodlepad_Micro (qmk#22703)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
1 parent 15ed59c commit 83b8418

File tree

8 files changed

+266
-0
lines changed

8 files changed

+266
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright 2023 The Mad Noodle(@the_mad_noodle)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
6+
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"manufacturer": "The Mad Noodle",
3+
"keyboard_name": "NoodlePad Micro",
4+
"maintainer": "the-mad-noodle",
5+
"url": "https://www.madnoodleprototypes.com/",
6+
"bootloader": "rp2040",
7+
"diode_direction": "ROW2COL",
8+
"features": {
9+
"bootmagic": true,
10+
"command": false,
11+
"console": false,
12+
"extrakey": true,
13+
"mousekey": true,
14+
"nkro": true,
15+
"rgblight": true,
16+
"encoder": true
17+
},
18+
"rgblight": {
19+
"hue_steps": 10,
20+
"led_count": 4,
21+
"sleep": true,
22+
"animations": {
23+
"breathing": true,
24+
"rainbow_mood": true,
25+
"rainbow_swirl": true,
26+
"snake": true,
27+
"knight": true,
28+
"christmas": true,
29+
"static_gradient": true,
30+
"rgb_test": true,
31+
"alternating": true,
32+
"twinkle": true
33+
}
34+
},
35+
"matrix_pins": {
36+
"cols": ["GP6", "GP7", "GP0"],
37+
"rows": ["GP26", "GP27", "GP28"]
38+
},
39+
"processor": "RP2040",
40+
"usb": {
41+
"device_version": "3.0.0",
42+
"pid": "0x0004",
43+
"vid": "0x6A6C"
44+
},
45+
"layouts": {
46+
"LAYOUT": {
47+
"layout": [
48+
{"matrix": [0, 2], "x": 2, "y": 0},
49+
{"matrix": [0, 0], "x": 0, "y": 0},
50+
{"matrix": [1, 2], "x": 2, "y": 1},
51+
{"matrix": [1, 1], "x": 1, "y": 1},
52+
{"matrix": [1, 0], "x": 0, "y": 1},
53+
{"matrix": [2, 2], "x": 2, "y": 2},
54+
{"matrix": [2, 1], "x": 1, "y": 2},
55+
{"matrix": [2, 0], "x": 0, "y": 2}
56+
]
57+
}
58+
},
59+
"ws2812": {
60+
"pin": "GP29",
61+
"driver": "vendor"
62+
},
63+
"encoder": {
64+
"rotary": [
65+
{ "pin_a": "GP2", "pin_b": "GP1" }
66+
{ "pin_a": "GP3", "pin_b": "GP4" }
67+
]
68+
69+
}
70+
71+
72+
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// Copyright 2023 The Mad Noodle(@the_mad_noodle)
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+
8+
/* LAYER 0
9+
* ,--ENC2-- --ENC1--.
10+
* | << | | >> |
11+
* |-------+-------+-------|
12+
* | STOP | PLAY | MEDIA |
13+
* |-------+-------+-------|
14+
* | CALC | MAIL | PC/FN |
15+
* `-----------------------'
16+
*/
17+
18+
[0] = LAYOUT(
19+
KC_MPRV, KC_MNXT,
20+
KC_MSTP, KC_MPLY, KC_MSEL,
21+
LT(2,KC_CALC), KC_MAIL, LT(1, KC_MYCM)
22+
),
23+
24+
25+
/* LAYER 1
26+
* ,--ENC2-- --ENC1--.
27+
* | MODE+ | | MODE- |
28+
* |-------+-------+-------|
29+
* |Bright-| Tog |Bright+|
30+
* |-------+-------+-------|
31+
* | PLAIN |BREATH | |
32+
* `-----------------------'
33+
*/
34+
35+
[1] = LAYOUT(
36+
RGB_MOD, RGB_RMOD,
37+
RGB_VAD, RGB_TOG, RGB_VAI,
38+
RGB_M_P, RGB_M_B, KC_TRNS
39+
),
40+
41+
42+
/* LAYER 2 (ENCODER)
43+
* ,--ENC2-- --ENC1--.
44+
* | | | |
45+
* |-------+-------+-------|
46+
* | | | |
47+
* |-------+-------+-------|
48+
* | | | |
49+
* `-----------------------'
50+
*/
51+
52+
[2] = LAYOUT(
53+
KC_TRNS, KC_TRNS,
54+
KC_TRNS, KC_TRNS, KC_TRNS,
55+
KC_TRNS, KC_TRNS, KC_TRNS
56+
)
57+
};
58+
59+
60+
/*Encoder Mapping*/
61+
//-----------------------(ENC1)---------------------------------(ENC2)-----------------
62+
#if defined(ENCODER_MAP_ENABLE)
63+
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
64+
[0] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
65+
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
66+
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) }
67+
};
68+
#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: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
// Copyright 2023 The Mad Noodle(@the_mad_noodle)
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+
8+
/* LAYER 0
9+
* ,--ENC2-- --ENC1--.
10+
* | << | | >> |
11+
* |-------+-------+-------|
12+
* | STOP | PLAY | MEDIA |
13+
* |-------+-------+-------|
14+
* | CALC | MY PC | TO(3) |
15+
* `-----------------------'
16+
*/
17+
18+
[0] = LAYOUT(
19+
KC_MPRV, KC_MNXT,
20+
KC_MSTP, KC_MPLY, KC_MSEL,
21+
KC_CALC, KC_MYCM, TO(3)
22+
),
23+
24+
25+
/* LAYER 1
26+
* ,--ENC2-- --ENC1--.
27+
* | MODE+ | | MODE- |
28+
* |-------+-------+-------|
29+
* |Bright-| Tog |Bright+|
30+
* |-------+-------+-------|
31+
* | PLAIN |BREATH | TO(0) |
32+
* `-----------------------'
33+
*/
34+
35+
[1] = LAYOUT(
36+
RGB_MOD, RGB_RMOD,
37+
RGB_VAD, RGB_TOG, RGB_VAI,
38+
RGB_M_P, RGB_M_B, TO(0)
39+
),
40+
41+
42+
/* LAYER 2
43+
* ,--ENC2-- --ENC1--.
44+
* | | | |
45+
* |-------+-------+-------|
46+
* | | | |
47+
* |-------+-------+-------|
48+
* | | | TO(0) |
49+
* `-----------------------'
50+
*/
51+
52+
[2] = LAYOUT(
53+
KC_TRNS, KC_TRNS,
54+
KC_TRNS, KC_TRNS, KC_TRNS,
55+
KC_TRNS, KC_TRNS, TO(0)
56+
),
57+
58+
/* LAYER 3
59+
* ,--ENC2-- --ENC1--.
60+
* | | | |
61+
* |-------+-------+-------|
62+
* | TO(1) | | TO(2) |
63+
* |-------+-------+-------|
64+
* | | | TO(0) |
65+
* `-----------------------'
66+
*/
67+
68+
[3] = LAYOUT(
69+
KC_TRNS, KC_TRNS,
70+
TO(1), KC_TRNS, TO(2),
71+
KC_TRNS, KC_TRNS, TO(0)
72+
)
73+
74+
};
75+
76+
77+
/*Encoder Mapping*/
78+
//-----------------------(ENC1)---------------------------------(ENC2)-----------------
79+
#if defined(ENCODER_MAP_ENABLE)
80+
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
81+
[0] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
82+
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
83+
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
84+
[3] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_DOWN, KC_UP) },
85+
86+
};
87+
#endif
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ENCODER_MAP_ENABLE = yes
2+
VIA_ENABLE = yes
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# NoodlePad [Micro]
2+
3+
![NoodlePad [Micro]](https://i.imgur.com/uRmVt3ah.jpg)
4+
5+
The NoodlePad [Micro] is a 6 key 2 encoder macro keypad designed using RP2040 chipset.
6+
7+
* Keyboard Maintainer: [The Mad Noodle](https://github.com/The-Mad-Noodle)
8+
* Hardware Supported: NoodlePad [Micro]
9+
* Hardware Availability: https://www.madnoodleprototypes.com/shop
10+
11+
Compile example for this keyboard (after setting up your build environment):
12+
13+
qmk compile -kb themadnoodle/noodlepad_micro -km default
14+
15+
Flashing example for this keyboard:
16+
17+
qmk flash -kb themadnoodle/noodlepad_micro -km default
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 & Flashing
22+
23+
24+
**Physical reset button**:
25+
26+
* Double press the button on the back, center, left of the PCB labeled "R" to enter the bootloader drive mode.
27+
28+
* If you have a pre-compiled .uf2 file, copy it into bootloader drive (RPI-RP2), board will reset automatically once file is copied sucessfully
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This file intentionally left blank
2+

0 commit comments

Comments
 (0)