Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Keyboard Noodlepad_Micro #22703

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b791282
Added Keyboard Noodlepad_Micro
jessel92 Dec 18, 2023
aa85077
Update keyboards/themadnoodle/noodlepad_micro/keymaps/via/rules.mk
jessel92 Dec 18, 2023
358c0b2
Update keyboards/themadnoodle/noodlepad_micro/keymaps/default/rules.mk
jessel92 Dec 18, 2023
1dc717a
Update keyboards/themadnoodle/noodlepad_micro/keymaps/default/keymap.c
jessel92 Dec 18, 2023
5e7cd77
Update keyboards/themadnoodle/noodlepad_micro/keymaps/default/keymap.c
jessel92 Dec 18, 2023
16781a6
Update keyboards/themadnoodle/noodlepad_micro/info.json
jessel92 Dec 18, 2023
9ae636d
Update keyboards/themadnoodle/noodlepad_micro/config.h
jessel92 Dec 18, 2023
20d0174
Update keyboards/themadnoodle/noodlepad_micro/info.json
jessel92 Dec 18, 2023
3276b83
Update keyboards/themadnoodle/noodlepad_micro/info.json
jessel92 Dec 18, 2023
32ee157
Update keyboards/themadnoodle/noodlepad_micro/keymaps/default/keymap.c
jessel92 Dec 18, 2023
77e33ad
Update keyboards/themadnoodle/noodlepad_micro/keymaps/via/keymap.c
jessel92 Dec 18, 2023
c3a86fd
Update keyboards/themadnoodle/noodlepad_micro/info.json
jessel92 Dec 18, 2023
351e2e5
Update keyboards/themadnoodle/noodlepad_micro/info.json
jessel92 Dec 18, 2023
346cafa
Update keyboards/themadnoodle/noodlepad_micro/keymaps/via/rules.mk
jessel92 Dec 18, 2023
3e17664
Readme image re-hosted
jessel92 Dec 19, 2023
3215e0b
Merge branch 'master' into Add-keyboard-themadnoodle/noodlepad-micro
jessel92 Dec 19, 2023
80211f4
Update keyboards/themadnoodle/noodlepad_micro/readme.md
jessel92 Dec 19, 2023
c9143ec
Update keyboards/themadnoodle/noodlepad_micro/readme.md
jessel92 Dec 19, 2023
19af5f0
Update keyboards/themadnoodle/noodlepad_micro/readme.md
jessel92 Dec 19, 2023
2154b4f
Update keyboards/themadnoodle/noodlepad_micro/readme.md
jessel92 Dec 19, 2023
18fee97
Update keyboards/themadnoodle/noodlepad_micro/readme.md
jessel92 Dec 19, 2023
584e76b
Merge branch 'master' into Add-keyboard-themadnoodle/noodlepad-micro
jessel92 Dec 19, 2023
a5a105f
Merge branch 'master' into Add-keyboard-themadnoodle/noodlepad-micro
jessel92 Dec 21, 2023
165eafb
Merge branch 'master' into Add-keyboard-themadnoodle/noodlepad-micro
jessel92 Dec 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions keyboards/themadnoodle/noodlepad_micro/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2023 The Mad Noodle(@the_mad_noodle)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT


/* RGB BackLight */
#define WS2812_PIO_USE_PIO1
#define WS2812_DI_PIN GP29

/*RGB Defaults*/
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5
/* See info.json for more RGB settings*/
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
70 changes: 70 additions & 0 deletions keyboards/themadnoodle/noodlepad_micro/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"manufacturer": "The Mad Noodle",
"keyboard_name": "NoodlePad Micro",
"maintainer": "the-mad-noodle",
"url": "https://www.madnoodleprototypes.com/",
"bootloader": "rp2040",
"diode_direction": "ROW2COL",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
},
"rgblight": {
"hue_steps": 10,
"led_count": 4,
"sleep": true,
"animations": {
"breathing": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"snake": true,
"knight": true,
"christmas": true,
"static_gradient": true,
"rgb_test": true,
"alternating": true,
"twinkle": true
}
},
"matrix_pins": {
"cols": ["GP6", "GP7", "GP0"],
"rows": ["GP26", "GP27", "GP28"]
},
"processor": "RP2040",
"usb": {
"device_version": "3.0.0",
"pid": "0x0004",
"vid": "0x6A6C"
},
"layouts": {
"LAYOUT_ortho_3x3": {
"layout": [
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 0], "x": 0, "y": 2}
]
}
},

jessel92 marked this conversation as resolved.
Show resolved Hide resolved
"encoder": {
"enabled": true,
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
"rotary": [
{ "pin_a": "GP2", "pin_b": "GP1", "resolution": 4 }
{ "pin_a": "GP3", "pin_b": "GP4", "resolution": 4 }
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
]

}


}
87 changes: 87 additions & 0 deletions keyboards/themadnoodle/noodlepad_micro/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
// Copyright 2023 The Mad Noodle(@the_mad_noodle)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/* LAYER 0
* ,--ENC2-- --ENC1--.
* | << | | >> |
* |-------+-------+-------|
* | STOP | PLAY | MEDIA |
* |-------+-------+-------|
* | CALC | MAIL | PC/FN |
* `-----------------------'
*/

[0] = LAYOUT_ortho_3x3(
KC_MPRV, KC_TRNS, KC_MNXT,
KC_MSTP, KC_MPLY, KC_MSEL,
LT(2,KC_CALC), KC_MAIL, LT(1, KC_MYCM)
),


/* LAYER 1
* ,--ENC2-- --ENC1--.
* | MODE+ | | MODE- |
* |-------+-------+-------|
* |Bright-| Tog |Bright+|
* |-------+-------+-------|
* | PLAIN |BREATH | |
* `-----------------------'
*/

[1] = LAYOUT_ortho_3x3(
RGB_MOD, KC_TRNS, RGB_RMOD,
RGB_VAD, RGB_TOG, RGB_VAI,
RGB_M_P, RGB_M_B, KC_TRNS
),


/* LAYER 2 (ENCODER)
* ,--ENC2-- --ENC1--.
* | | | |
* |-------+-------+-------|
* | | | |
* |-------+-------+-------|
* | | | |
* `-----------------------'
*/

[2] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS,
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
),

/* LAYER 3 (ENCODER)
* ,--ENC2-- --ENC1--.
* | | | |
* |-------+-------+-------|
* | | | |
* |-------+-------+-------|
* | | | |
* `-----------------------'
*/

[3] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS
)

jessel92 marked this conversation as resolved.
Show resolved Hide resolved
};


/*Encoder Mapping*/
//-----------------------(ENC1)---------------------------------(ENC2)-----------------
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[3] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_DOWN, KC_UP) },

jessel92 marked this conversation as resolved.
Show resolved Hide resolved
};
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file is used to override the default rules.mk file
WS2812_DRIVER = vendor
RGBLIGHT_DRIVER = ws2812
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
ENCODER_MAP_ENABLE = yes
87 changes: 87 additions & 0 deletions keyboards/themadnoodle/noodlepad_micro/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
// Copyright 2023 The Mad Noodle(@the_mad_noodle)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/* LAYER 0
* ,--ENC2-- --ENC1--.
* | << | | >> |
* |-------+-------+-------|
* | STOP | PLAY | MEDIA |
* |-------+-------+-------|
* | CALC | MY PC | TO(3) |
* `-----------------------'
*/

[0] = LAYOUT_ortho_3x3(
KC_MPRV, KC_TRNS, KC_MNXT,
KC_MSTP, KC_MPLY, KC_MSEL,
KC_CALC, KC_MYCM, TO(3)
),


/* LAYER 1
* ,--ENC2-- --ENC1--.
* | MODE+ | | MODE- |
* |-------+-------+-------|
* |Bright-| Tog |Bright+|
* |-------+-------+-------|
* | PLAIN |BREATH | TO(0) |
* `-----------------------'
*/

[1] = LAYOUT_ortho_3x3(
RGB_MOD, KC_TRNS, RGB_RMOD,
RGB_VAD, RGB_TOG, RGB_VAI,
RGB_M_P, RGB_M_B, TO(0)
),


/* LAYER 2
* ,--ENC2-- --ENC1--.
* | | | |
* |-------+-------+-------|
* | | | |
* |-------+-------+-------|
* | | | TO(0) |
* `-----------------------'
*/

[2] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, TO(0)
),

/* LAYER 3
* ,--ENC2-- --ENC1--.
* | | | |
* |-------+-------+-------|
* | TO(1) | | TO(2) |
* |-------+-------+-------|
* | | | TO(0) |
* `-----------------------'
*/

[3] = LAYOUT_ortho_3x3(
KC_TRNS, KC_TRNS, KC_TRNS,
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
TO(1), KC_TRNS, TO(2),
KC_TRNS, KC_TRNS, TO(0)
)

};


/*Encoder Mapping*/
//-----------------------(ENC1)---------------------------------(ENC2)-----------------
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
[2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
[3] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT), ENCODER_CCW_CW(KC_DOWN, KC_UP) },

};
#endif
5 changes: 5 additions & 0 deletions keyboards/themadnoodle/noodlepad_micro/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file is used to override the default rules.mk file
WS2812_DRIVER = vendor
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
RGBLIGHT_DRIVER = ws2812
jessel92 marked this conversation as resolved.
Show resolved Hide resolved
ENCODER_MAP_ENABLE = yes
VIA_ENABLE = yes
30 changes: 30 additions & 0 deletions keyboards/themadnoodle/noodlepad_micro/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# NoodlePad [Micro]

![NoodPad[Mircro]](https://static.wixstatic.com/media/59d0ff_a93e3066685e4273b4c628e702ba981d~mv2.jpg)
jessel92 marked this conversation as resolved.
Show resolved Hide resolved

The Noodlepad [Micro] is a 6 key 2 encoder macro keypad designed using RP2040 chipset
jessel92 marked this conversation as resolved.
Show resolved Hide resolved

* Keyboard Maintainer: [The Mad Noodle](https://github.com/The-Mad-Noodle)
* Hardware Supported: NoodlePad [Micro]
* Hardware Availability: https://www.madnoodleprototypes.com/shop

This folder is set as default in the parent rules.mk - it will build firmware compatible with the RP2040 Community Edition. See [here](https://docs.qmk.fm/#/platformdev_rp2040?id=rp2040_ce) for a list.

jessel92 marked this conversation as resolved.
Show resolved Hide resolved
Compile example for this keyboard (after setting up your build environment):

qmk compile -kb themadnoodle/noodlepad/micro -km default
jessel92 marked this conversation as resolved.
Show resolved Hide resolved

Flashing example for this keyboard:

qmk flash -kb themadnoodle/noodlepad/micro -km default
jessel92 marked this conversation as resolved.
Show resolved Hide resolved

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 & Flashing


**Physical reset button**:

* Double press the button on the back, center, left of the PCB labeled "R" to enter the bootloader drive mode.

* If you have a pre-compiled .uf2 file, copy it into bootloader drive (RPI-RP2), board will reset automatically once file is copied sucessfully
2 changes: 2 additions & 0 deletions keyboards/themadnoodle/noodlepad_micro/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file intentionally left blank