summaryrefslogtreecommitdiff
path: root/keyboards/keebio/nyquist/rev4
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/nyquist/rev4')
-rw-r--r--keyboards/keebio/nyquist/rev4/config.h23
-rw-r--r--keyboards/keebio/nyquist/rev4/info.json315
-rw-r--r--keyboards/keebio/nyquist/rev4/rules.mk1
3 files changed, 339 insertions, 0 deletions
diff --git a/keyboards/keebio/nyquist/rev4/config.h b/keyboards/keebio/nyquist/rev4/config.h
new file mode 100644
index 0000000000..a1dc02997f
--- /dev/null
+++ b/keyboards/keebio/nyquist/rev4/config.h
@@ -0,0 +1,23 @@
+// Copyright 2023 Danny Nguyen (danny@keeb.io)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define SPLIT_HAND_PIN GP23
+#define USB_VBUS_PIN GP18
+#define SERIAL_USART_FULL_DUPLEX
+#define SERIAL_USART_TX_PIN GP8
+#define SERIAL_USART_RX_PIN GP9
+#define SERIAL_USART_PIN_SWAP
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
+#define I2C_DRIVER I2CD0
+#define I2C0_SDA_PIN GP4
+#define I2C0_SCL_PIN GP5
+
+// RGB Matrix
+#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
+#define RGB_MATRIX_LED_COUNT 72
+#define RGB_DISABLE_WHEN_USB_SUSPENDED
+#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/keebio/nyquist/rev4/info.json b/keyboards/keebio/nyquist/rev4/info.json
new file mode 100644
index 0000000000..1788f3427f
--- /dev/null
+++ b/keyboards/keebio/nyquist/rev4/info.json
@@ -0,0 +1,315 @@
+{
+ "keyboard_name": "Nyquist Rev. 4",
+ "usb": {
+ "pid": "0x4156",
+ "device_version": "4.0.0"
+ },
+ "processor": "RP2040",
+ "bootloader": "rp2040",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "mousekey": true,
+ "extrakey": true,
+ "rgb_matrix": true
+ },
+ "split": {
+ "enabled": true,
+ "encoder": {
+ "right": {
+ "rotary": [
+ {"pin_a": "GP1", "pin_b": "GP0" }
+ ]
+ }
+ },
+ "matrix_pins": {
+ "right":{
+ "cols": ["GP25", "GP29", "GP20", "GP11", "GP3", "GP2"],
+ "rows": ["GP24", "GP17", "GP15", "GP14", "GP12"]
+ }
+ },
+ "transport": {
+ "sync_matrix_state": 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_ortho_5x12": {
+ "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": [5, 0], "x": 7, "y": 0},
+ {"matrix": [5, 1], "x": 8, "y": 0},
+ {"matrix": [5, 2], "x": 9, "y": 0},
+ {"matrix": [5, 3], "x": 10, "y": 0},
+ {"matrix": [5, 4], "x": 11, "y": 0},
+ {"matrix": [5, 5], "x": 12, "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": [6, 0], "x": 7, "y": 1},
+ {"matrix": [6, 1], "x": 8, "y": 1},
+ {"matrix": [6, 2], "x": 9, "y": 1},
+ {"matrix": [6, 3], "x": 10, "y": 1},
+ {"matrix": [6, 4], "x": 11, "y": 1},
+ {"matrix": [6, 5], "x": 12, "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": [7, 0], "x": 7, "y": 2},
+ {"matrix": [7, 1], "x": 8, "y": 2},
+ {"matrix": [7, 2], "x": 9, "y": 2},
+ {"matrix": [7, 3], "x": 10, "y": 2},
+ {"matrix": [7, 4], "x": 11, "y": 2},
+ {"matrix": [7, 5], "x": 12, "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": [8, 0], "x": 7, "y": 3},
+ {"matrix": [8, 1], "x": 8, "y": 3},
+ {"matrix": [8, 2], "x": 9, "y": 3},
+ {"matrix": [8, 3], "x": 10, "y": 3},
+ {"matrix": [8, 4], "x": 11, "y": 3},
+ {"matrix": [8, 5], "x": 12, "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},
+
+ {"matrix": [9, 0], "x": 7, "y": 4},
+ {"matrix": [9, 1], "x": 8, "y": 4},
+ {"matrix": [9, 2], "x": 9, "y": 4},
+ {"matrix": [9, 3], "x": 10, "y": 4},
+ {"matrix": [9, 4], "x": 11, "y": 4},
+ {"matrix": [9, 5], "x": 12, "y": 4}
+ ]
+ },
+ "LAYOUT_ortho_4x12": {
+ "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": [5, 0], "x": 7, "y": 0},
+ {"matrix": [5, 1], "x": 8, "y": 0},
+ {"matrix": [5, 2], "x": 9, "y": 0},
+ {"matrix": [5, 3], "x": 10, "y": 0},
+ {"matrix": [5, 4], "x": 11, "y": 0},
+ {"matrix": [5, 5], "x": 12, "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": [6, 0], "x": 7, "y": 1},
+ {"matrix": [6, 1], "x": 8, "y": 1},
+ {"matrix": [6, 2], "x": 9, "y": 1},
+ {"matrix": [6, 3], "x": 10, "y": 1},
+ {"matrix": [6, 4], "x": 11, "y": 1},
+ {"matrix": [6, 5], "x": 12, "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": [7, 0], "x": 7, "y": 2},
+ {"matrix": [7, 1], "x": 8, "y": 2},
+ {"matrix": [7, 2], "x": 9, "y": 2},
+ {"matrix": [7, 3], "x": 10, "y": 2},
+ {"matrix": [7, 4], "x": 11, "y": 2},
+ {"matrix": [7, 5], "x": 12, "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": [8, 0], "x": 7, "y": 3},
+ {"matrix": [8, 1], "x": 8, "y": 3},
+ {"matrix": [8, 2], "x": 9, "y": 3},
+ {"matrix": [8, 3], "x": 10, "y": 3},
+ {"matrix": [8, 4], "x": 11, "y": 3},
+ {"matrix": [8, 5], "x": 12, "y": 3}
+ ]
+ }
+ },
+ "rgb_matrix": {
+ "driver": "WS2812",
+ "split_count": [36, 36],
+ "max_brightness": 120,
+ "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": 9, "y": 6 },
+ { "flags": 4, "matrix": [0, 1], "x": 28, "y": 6 },
+ { "flags": 4, "matrix": [0, 2], "x": 46, "y": 6 },
+ { "flags": 2, "x": 56, "y": 6 },
+ { "flags": 4, "matrix": [0, 3], "x": 65, "y": 6 },
+ { "flags": 4, "matrix": [0, 4], "x": 84, "y": 6 },
+ { "flags": 4, "matrix": [0, 5], "x": 102, "y": 6 },
+
+ { "flags": 4, "matrix": [1, 5], "x": 102, "y": 19 },
+ { "flags": 2, "x": 93, "y": 12 },
+ { "flags": 4, "matrix": [1, 4], "x": 84, "y": 19 },
+ { "flags": 4, "matrix": [1, 3], "x": 65, "y": 19 },
+ { "flags": 4, "matrix": [1, 2], "x": 46, "y": 19 },
+ { "flags": 4, "matrix": [1, 1], "x": 28, "y": 19 },
+ { "flags": 2, "x": 18, "y": 12 },
+ { "flags": 4, "matrix": [1, 0], "x": 9, "y": 19 },
+
+ { "flags": 4, "matrix": [2, 0], "x": 9, "y": 32 },
+ { "flags": 4, "matrix": [2, 1], "x": 28, "y": 32 },
+ { "flags": 4, "matrix": [2, 2], "x": 46, "y": 32 },
+ { "flags": 4, "matrix": [2, 3], "x": 65, "y": 32 },
+ { "flags": 4, "matrix": [2, 4], "x": 84, "y": 32 },
+ { "flags": 4, "matrix": [2, 5], "x": 102, "y": 32 },
+
+ { "flags": 4, "matrix": [3, 5], "x": 102, "y": 44 },
+ { "flags": 2, "x": 93, "y": 44 },
+ { "flags": 4, "matrix": [3, 4], "x": 84, "y": 44 },
+ { "flags": 4, "matrix": [3, 3], "x": 65, "y": 44 },
+ { "flags": 2, "x": 56, "y": 44 },
+ { "flags": 4, "matrix": [3, 2], "x": 46, "y": 44 },
+ { "flags": 4, "matrix": [3, 1], "x": 28, "y": 44 },
+ { "flags": 2, "x": 18, "y": 44 },
+ { "flags": 4, "matrix": [3, 0], "x": 9, "y": 44 },
+
+ { "flags": 4, "matrix": [4, 0], "x": 9, "y": 57 },
+ { "flags": 4, "matrix": [4, 1], "x": 28, "y": 57 },
+ { "flags": 4, "matrix": [4, 2], "x": 46, "y": 57 },
+ { "flags": 4, "matrix": [4, 3], "x": 65, "y": 57 },
+ { "flags": 4, "matrix": [4, 4], "x": 81, "y": 57 },
+ { "flags": 4, "matrix": [4, 5], "x": 105, "y": 57 },
+
+ { "flags": 4, "matrix": [5, 0], "x": 121, "y": 6 },
+ { "flags": 4, "matrix": [5, 1], "x": 140, "y": 6 },
+ { "flags": 4, "matrix": [5, 2], "x": 158, "y": 6 },
+ { "flags": 2, "x": 168, "y": 6 },
+ { "flags": 4, "matrix": [5, 3], "x": 177, "y": 6 },
+ { "flags": 4, "matrix": [5, 4], "x": 196, "y": 6 },
+ { "flags": 4, "matrix": [5, 5], "x": 214, "y": 6 },
+
+ { "flags": 4, "matrix": [6, 5], "x": 214, "y": 19 },
+ { "flags": 2, "x": 205, "y": 12 },
+ { "flags": 4, "matrix": [6, 4], "x": 196, "y": 19 },
+ { "flags": 4, "matrix": [6, 3], "x": 177, "y": 19 },
+ { "flags": 4, "matrix": [6, 2], "x": 158, "y": 19 },
+ { "flags": 4, "matrix": [6, 1], "x": 140, "y": 19 },
+ { "flags": 2, "x": 130, "y": 12 },
+ { "flags": 4, "matrix": [6, 0], "x": 121, "y": 19 },
+
+ { "flags": 4, "matrix": [7, 0], "x": 121, "y": 32 },
+ { "flags": 4, "matrix": [7, 1], "x": 140, "y": 32 },
+ { "flags": 4, "matrix": [7, 2], "x": 158, "y": 32 },
+ { "flags": 4, "matrix": [7, 3], "x": 177, "y": 32 },
+ { "flags": 4, "matrix": [7, 4], "x": 196, "y": 32 },
+ { "flags": 4, "matrix": [7, 5], "x": 214, "y": 32 },
+
+ { "flags": 4, "matrix": [8, 5], "x": 214, "y": 44 },
+ { "flags": 2, "x": 205, "y": 44 },
+ { "flags": 4, "matrix": [8, 4], "x": 196, "y": 44 },
+ { "flags": 4, "matrix": [8, 3], "x": 177, "y": 44 },
+ { "flags": 2, "x": 168, "y": 44 },
+ { "flags": 4, "matrix": [8, 2], "x": 158, "y": 44 },
+ { "flags": 4, "matrix": [8, 1], "x": 140, "y": 44 },
+ { "flags": 2, "x": 130, "y": 44 },
+ { "flags": 4, "matrix": [8, 0], "x": 121, "y": 44 },
+
+ { "flags": 4, "matrix": [9, 0], "x": 121, "y": 57 },
+ { "flags": 4, "matrix": [9, 1], "x": 140, "y": 57 },
+ { "flags": 4, "matrix": [9, 2], "x": 158, "y": 57 },
+ { "flags": 4, "matrix": [9, 3], "x": 177, "y": 57 },
+ { "flags": 4, "matrix": [9, 4], "x": 196, "y": 57 },
+ { "flags": 4, "matrix": [9, 5], "x": 214, "y": 57 }
+ ]
+ }
+}
diff --git a/keyboards/keebio/nyquist/rev4/rules.mk b/keyboards/keebio/nyquist/rev4/rules.mk
new file mode 100644
index 0000000000..161ec22b16
--- /dev/null
+++ b/keyboards/keebio/nyquist/rev4/rules.mk
@@ -0,0 +1 @@
+SERIAL_DRIVER = vendor