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

Add Nyquistpad #21578

Merged
merged 8 commits into from
Jul 25, 2023
Merged
Changes from 4 commits
Commits
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
13 changes: 13 additions & 0 deletions keyboards/keebio/nyquistpad/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2023 Danny Nguyen ([email protected])
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U

// RGB Matrix
#define RGB_MATRIX_LED_COUNT 36
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
160 changes: 160 additions & 0 deletions keyboards/keebio/nyquistpad/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
{
"manufacturer": "Keebio",
"url": "https://keeb.io",
"maintainer": "nooges",
"keyboard_name": "Nyquistpad",
"usb": {
"vid": "0xCB10",
"pid": "0x1356",
"device_version": "1.0.0"
},
"processor": "RP2040",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"extrakey": true,
"mousekey": true,
"rgb_matrix": true
},
"matrix_pins": {
"cols": ["GP29", "GP22", "GP0", "GP3", "GP11", "GP6"],
"rows": ["GP2", "GP1", "GP17", "GP25", "GP24"]
},
"encoder": {
"enabled": true,
"rotary": [
{"pin_a": "GP26", "pin_b": "GP27" }
]
},
"ws2812": {
"driver": "vendor",
"pin": "GP28"
},

"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1},
{"matrix": [1, 5], "x": 5, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2},
{"matrix": [2, 5], "x": 5, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3},
{"matrix": [3, 4], "x": 4, "y": 3},
{"matrix": [3, 5], "x": 5, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4},
{"matrix": [4, 1], "x": 1, "y": 4},
{"matrix": [4, 2], "x": 2, "y": 4},
{"matrix": [4, 3], "x": 3, "y": 4},
{"matrix": [4, 4], "x": 4, "y": 4},
{"matrix": [4, 5], "x": 5, "y": 4}
]
}
},
"rgb_matrix": {
"driver": "WS2812",
"animations": {
"alphas_mods": true,
"gradient_up_down": true,
"gradient_left_right": true,
"breathing": true,
"band_sat": true,
"band_val": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"rainbow_moving_chevron": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_fractal": true,
"pixel_flow": true,
"pixel_rain": true,
"typing_heatmap": true,
"digital_rain": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_wide": true,
"solid_reactive_multiwide": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_nexus": true,
"solid_reactive_multinexus": true,
"splash": true,
"multisplash": true,
"solid_splash": true,
"solid_multisplash": true
},
"layout": [
{ "flags": 4, "matrix": [0, 0], "x": 18, "y": 6 },
{ "flags": 4, "matrix": [0, 1], "x": 56, "y": 6 },
{ "flags": 4, "matrix": [0, 2], "x": 92, "y": 6 },
{ "flags": 2, "x": 112, "y": 6 },
{ "flags": 4, "matrix": [0, 3], "x": 130, "y": 6 },
{ "flags": 4, "matrix": [0, 4], "x": 168, "y": 6 },
{ "flags": 4, "matrix": [0, 5], "x": 204, "y": 6 },

{ "flags": 4, "matrix": [1, 5], "x": 204, "y": 19 },
{ "flags": 2, "x": 186, "y": 12 },
{ "flags": 4, "matrix": [1, 4], "x": 168, "y": 19 },
{ "flags": 4, "matrix": [1, 3], "x": 130, "y": 19 },
{ "flags": 4, "matrix": [1, 2], "x": 92, "y": 19 },
{ "flags": 4, "matrix": [1, 1], "x": 56, "y": 19 },
{ "flags": 2, "x": 36, "y": 12 },
{ "flags": 4, "matrix": [1, 0], "x": 18, "y": 19 },

{ "flags": 4, "matrix": [2, 0], "x": 18, "y": 32 },
{ "flags": 4, "matrix": [2, 1], "x": 56, "y": 32 },
{ "flags": 4, "matrix": [2, 2], "x": 92, "y": 32 },
{ "flags": 4, "matrix": [2, 3], "x": 130, "y": 32 },
{ "flags": 4, "matrix": [2, 4], "x": 168, "y": 32 },
{ "flags": 4, "matrix": [2, 5], "x": 204, "y": 32 },

{ "flags": 4, "matrix": [3, 5], "x": 204, "y": 44 },
{ "flags": 2, "x": 186, "y": 44 },
{ "flags": 4, "matrix": [3, 4], "x": 168, "y": 44 },
{ "flags": 4, "matrix": [3, 3], "x": 130, "y": 44 },
{ "flags": 2, "x": 112, "y": 44 },
{ "flags": 4, "matrix": [3, 2], "x": 92, "y": 44 },
{ "flags": 4, "matrix": [3, 1], "x": 56, "y": 44 },
{ "flags": 2, "x": 36, "y": 44 },
{ "flags": 4, "matrix": [3, 0], "x": 18, "y": 44 },

{ "flags": 4, "matrix": [4, 0], "x": 18, "y": 57 },
{ "flags": 4, "matrix": [4, 1], "x": 56, "y": 57 },
{ "flags": 4, "matrix": [4, 2], "x": 92, "y": 57 },
{ "flags": 4, "matrix": [4, 3], "x": 130, "y": 57 },
{ "flags": 4, "matrix": [4, 4], "x": 192, "y": 57 },
{ "flags": 4, "matrix": [4, 5], "x": 210, "y": 57 }
]
}
}
30 changes: 30 additions & 0 deletions keyboards/keebio/nyquistpad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright 2023 Danny Nguyen ([email protected])
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

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

[0] = LAYOUT(
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
MO(2), KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC
),
[1] = LAYOUT(
RGB_MOD, _______, _______, _______, _______, _______,
_______, _______, KC_UP, _______, KC_VOLU, KC_PGUP,
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_PGDN,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),
[2] = LAYOUT(
KC_F6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
)

};
30 changes: 30 additions & 0 deletions keyboards/keebio/nyquistpad/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Copyright 2023 Danny Nguyen ([email protected])
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

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

[0] = LAYOUT(
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
MO(2), KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC
),
[1] = LAYOUT(
RGB_MOD, _______, _______, _______, _______, _______,
_______, _______, KC_UP, _______, KC_VOLU, KC_PGUP,
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_PGDN,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),
[2] = LAYOUT(
KC_F6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
)

};
2 changes: 2 additions & 0 deletions keyboards/keebio/nyquistpad/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
14 changes: 14 additions & 0 deletions keyboards/keebio/nyquistpad/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Nyquistpad
==========

A 5x6 macropad keyboard based off of a prototype Nyquist PCB.

Keyboard Maintainer: Keebio
Hardware Supported: Nyquistpad PCB
Hardware Availability: [Keebio](https://keeb.io)

Make example for this keyboard (after setting up your build environment):

make keebio/nyquistpad:default

See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
1 change: 1 addition & 0 deletions keyboards/keebio/nyquistpad/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank