forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keyboard] Noodlepad Additions and Updates (qmk#22701)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
- Loading branch information
Showing
14 changed files
with
299 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Copyright 2023 Jesse Leventhal (@The=Mad-Noodle) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,52 @@ | ||
{ | ||
"keyboard_name": "Noodle Pad v1", | ||
"manufacturer": "The Mad Noodle", | ||
"url": "instagram.com/the_mad_noodle", | ||
"maintainer": "The-Mad-Noodle", | ||
"usb": { | ||
"vid": "0xFEED", | ||
"pid": "0x1701", | ||
"device_version": "0.0.1" | ||
}, | ||
"matrix_pins": { | ||
"cols": ["B4", "B5", "B6"], | ||
"rows": ["D4", "D6", "D7"] | ||
}, | ||
"diode_direction": "ROW2COL", | ||
"encoder": { | ||
"rotary": [ | ||
{"pin_a": "D0", "pin_b": "D1"} | ||
] | ||
}, | ||
"rgblight": { | ||
"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 | ||
} | ||
}, | ||
"ws2812": { | ||
"pin": "B7" | ||
}, | ||
"processor": "atmega32u4", | ||
"bootloader": "atmel-dfu", | ||
"layouts": { | ||
"LAYOUT_ortho_3x3": { | ||
"layout": [ | ||
{"matrix": [0, 0], "x": 0, "y": 0}, | ||
{"matrix": [0, 1], "x": 1, "y": 0}, | ||
{"matrix": [0, 2], "x": 2, "y": 0}, | ||
"manufacturer": "The Mad Noodle", | ||
"keyboard_name": "NoodlePad", | ||
"maintainer": "The-Mad-Noodle", | ||
"url": "https://www.madnoodleprototypes.com/", | ||
"bootloader": "atmel-dfu", | ||
"processor": "atmega32u4", | ||
"diode_direction": "ROW2COL", | ||
"features": { | ||
"bootmagic": true, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true, | ||
"rgblight": true, | ||
"encoder": true | ||
}, | ||
"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 | ||
} | ||
}, | ||
"layouts": { | ||
"LAYOUT_ortho_3x3": { | ||
"layout": [ | ||
{"x":0, "y":0, "matrix": [0,0]}, | ||
{"label":"Encoder", "x":1, "y":0, "matrix": [0,1]}, | ||
{"x":2, "y":0, "matrix": [0,2]}, | ||
{"x":0, "y":1, "matrix": [1,0]}, | ||
{"x":1, "y":1, "matrix": [1,1]}, | ||
{"x":2, "y":1, "matrix": [1,2]}, | ||
{"x":0, "y":2, "matrix": [2,0]}, | ||
{"x":1, "y":2, "matrix": [2,1]}, | ||
{"x":2, "y":2, "matrix": [2,2]} | ||
] | ||
} | ||
}, | ||
|
||
{"matrix": [1, 0], "x": 0, "y": 1}, | ||
{"matrix": [1, 1], "x": 1, "y": 1}, | ||
{"matrix": [1, 2], "x": 2, "y": 1}, | ||
|
||
{"matrix": [2, 0], "x": 0, "y": 2}, | ||
{"matrix": [2, 1], "x": 1, "y": 2}, | ||
{"matrix": [2, 2], "x": 2, "y": 2} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
// 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 | ||
* ,-------|ENCODER|-------. | ||
* | << | MUTE | >> | | ||
* |-------+-------+-------| | ||
* | STOP | PLAY | MEDIA | | ||
* |-------+-------+-------| | ||
* | CALC | MY PC | TO(3) | | ||
* `-----------------------' | ||
*/ | ||
|
||
[0] = LAYOUT_ortho_3x3( | ||
KC_MPRV, KC_MUTE, KC_MNXT, | ||
KC_MSTP, KC_MPLY, KC_MSEL, | ||
KC_CALC, KC_MYCM, TO(3) | ||
), | ||
|
||
|
||
/* LAYER 1 | ||
* ,-------|ENCODER|-------. | ||
* | MODE+ |RGB TOG| MODE- | | ||
* |-------+-------+-------| | ||
* |Bright-| PLAIN |Bright+| | ||
* |-------+-------+-------| | ||
* | SWIRL |BREATH | TO(0) | | ||
* `-----------------------' | ||
*/ | ||
|
||
[1] = LAYOUT_ortho_3x3( | ||
RGB_MOD, RGB_TOG, RGB_RMOD, | ||
RGB_VAD, RGB_M_P, RGB_VAI, | ||
RGB_M_SW, RGB_M_B, TO(0) | ||
), | ||
|
||
|
||
/* LAYER 2 | ||
* ,-------|ENCODER|-------. | ||
* | | | | | ||
* |-------+-------+-------| | ||
* | | | | | ||
* |-------+-------+-------| | ||
* | | | 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 | ||
* ,-------|ENCODER|-------. | ||
* | | | | | ||
* |-------+-------+-------| | ||
* | TO(1) | | TO(2) | | ||
* |-------+-------+-------| | ||
* | | | TO(0) | | ||
* `-----------------------' | ||
*/ | ||
|
||
[3] = LAYOUT_ortho_3x3( | ||
KC_TRNS, KC_TRNS, KC_TRNS, | ||
TO(1), KC_TRNS, TO(2), | ||
KC_TRNS, KC_TRNS, TO(0) | ||
) | ||
|
||
}; | ||
|
||
/*Encoder Mapping*/ | ||
#if defined(ENCODER_MAP_ENABLE) | ||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)}, | ||
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI)}, | ||
[2] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI)}, | ||
[3] = { ENCODER_CCW_CW(KC_UP, KC_DOWN)}, | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ENCODER_MAP_ENABLE = yes | ||
VIA_ENABLE = yes |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
# Build Options | ||
# change yes to no to disable | ||
# | ||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
MOUSEKEY_ENABLE = yes # Mouse keys | ||
EXTRAKEY_ENABLE = yes # Audio control and System control | ||
CONSOLE_ENABLE = no # Console for debug | ||
COMMAND_ENABLE = no # Commands for debug and configuration | ||
NKRO_ENABLE = yes # Enable N-Key Rollover | ||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
AUDIO_ENABLE = no # Audio output | ||
UNICODE_ENABLE = yes # Unicode | ||
ENCODER_ENABLE = yes | ||
# Default folder for noodlepad | ||
DEFAULT_FOLDER = themadnoodle/noodlepad/v1 | ||
|
Oops, something went wrong.