[Keyboard] Add Quefrency LM Rev. 1 (#25692)

* Initial WIP commit

* Update right half pins

* Update RGB matrix and layout

* Enable more RGB animations

* Update license headers

* Cleanup keymap and RGB

* Move handedness pin definition, cleanup RGB defines

* Adjust keymap
This commit is contained in:
Danny 2025-10-05 16:46:15 -04:00 committed by GitHub
parent 7aed244aae
commit eae39d37c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 447 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{
"manufacturer": "Keebio",
"url": "https://keeb.io",
"maintainer": "nooges",
"usb": {
"vid": "0xCB10"
},
"features": {
"bootmagic": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"split": {
"enabled": true
},
"build": {
"lto": true
}
}

View file

@ -0,0 +1,21 @@
// Copyright 2025 Keebio (@keebio)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_65xt(
KC_F1, KC_F2, QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME,
KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
KC_F9, KC_F10, KC_LCTL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_65xt(
RM_HUEU, RM_HUED, KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
RM_SATU, RM_SATD, RM_TOGG, RM_NEXT, KC_UP, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END,
RM_VALU, RM_VALD, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
RM_SPDU, RM_SPDD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View file

@ -0,0 +1,27 @@
# Quefrency LM
A split 65XT staggered low-profile keyboard made and sold by Keebio. [More info at Keebio](https://keeb.io).
* Keyboard Maintainer: [Bakingpy/nooges](https://github.com/nooges)
* Hardware Availability: [Keebio](https://keeb.io/)
Make example for this keyboard (after setting up your build environment):
make keebio/quefrency_lm/rev1:default
Example of flashing this keyboard:
make keebio/quefrency_lm/rev1:default:flash
Handedness detection is already hardwired onto the PCB, so no need to deal with `EE_HANDS` or flashing .eep files.
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
Enter the bootloader in one of these ways:
* **Physical reset button**: Press and hold the button on the back of the PCB for at least 2 seconds and let go, or double-press the button
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
A build guide for this keyboard can be found here: [Keebio Build Guides](https://docs.keeb.io)

View file

@ -0,0 +1,23 @@
// Copyright 2025 Keebio (@keebio)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/* Defines for the split keyboard setup */
#define SERIAL_USART_DRIVER SD3 // USART 3
#define SERIAL_USART_TX_PIN B10
#define SERIAL_USART_RX_PIN B11
#define SERIAL_USART_TX_PAL_MODE 7
#define SERIAL_USART_RX_PAL_MODE 7
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_PIN_SWAP
#define USB_VBUS_PIN C6
/* Defines for the RGB matrix */
#define WS2812_PWM_DRIVER PWMD3
#define WS2812_PWM_CHANNEL 4
#define WS2812_PWM_PAL_MODE 10
#define WS2812_DMA_STREAM STM32_DMA1_STREAM2
#define WS2812_DMA_CHANNEL 2
#define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM3_UP

View file

@ -0,0 +1,10 @@
// Copyright 2025 Keebio (@keebio)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define HAL_USE_SERIAL TRUE
#define HAL_USE_PWM TRUE
#include_next <halconf.h>

View file

@ -0,0 +1,320 @@
{
"manufacturer": "Keebio",
"keyboard_name": "Quefrency LM Rev. 1",
"maintainer": "nooges",
"bootloader": "stm32-dfu",
"bootmagic": {
"matrix": [0, 2]
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"rgb_matrix": true
},
"matrix_pins": {
"cols": ["B13", "B14", "B2", "F0", "C10", "B6", "C13", "C14", "C15"],
"rows": ["B4", "C11", "B12", "B5", "F1"]
},
"processor": "STM32G431",
"rgb_matrix": {
"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,
"flower_blooming": 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,
"starlight": true,
"starlight_smooth": true,
"starlight_dual_hue": true,
"starlight_dual_sat": true,
"riverflow": true
},
"driver": "ws2812",
"layout": [
{ "matrix": [0, 8], "x": 103, "y": 4, "flags": 4 },
{ "x": 97, "y": 8, "flags": 2 },
{ "matrix": [0, 7], "x": 91, "y": 4, "flags": 4 },
{ "matrix": [0, 6], "x": 79, "y": 4, "flags": 4 },
{ "x": 73, "y": 0, "flags": 2 },
{ "matrix": [0, 5], "x": 67, "y": 4, "flags": 4 },
{ "matrix": [0, 4], "x": 54, "y": 4, "flags": 4 },
{ "matrix": [0, 3], "x": 42, "y": 4, "flags": 4 },
{ "matrix": [0, 2], "x": 30, "y": 4, "flags": 4 },
{ "x": 27, "y": 19, "flags": 2 },
{ "matrix": [1, 2], "x": 33, "y": 19, "flags": 4 },
{ "matrix": [1, 3], "x": 48, "y": 19, "flags": 4 },
{ "matrix": [1, 4], "x": 61, "y": 19, "flags": 4 },
{ "matrix": [1, 5], "x": 73, "y": 19, "flags": 4 },
{ "matrix": [1, 6], "x": 85, "y": 19, "flags": 4 },
{ "matrix": [1, 7], "x": 97, "y": 19, "flags": 4 },
{ "matrix": [2, 7], "x": 100, "y": 34, "flags": 4 },
{ "matrix": [2, 6], "x": 88, "y": 34, "flags": 4 },
{ "matrix": [2, 5], "x": 76, "y": 34, "flags": 4 },
{ "matrix": [2, 4], "x": 64, "y": 34, "flags": 4 },
{ "matrix": [2, 3], "x": 51, "y": 34, "flags": 4 },
{ "matrix": [2, 2], "x": 35, "y": 34, "flags": 4 },
{ "matrix": [3, 2], "x": 38, "y": 49, "flags": 4 },
{ "matrix": [3, 4], "x": 58, "y": 49, "flags": 4 },
{ "matrix": [3, 5], "x": 70, "y": 49, "flags": 4 },
{ "matrix": [3, 6], "x": 82, "y": 49, "flags": 4 },
{ "matrix": [3, 7], "x": 94, "y": 49, "flags": 4 },
{ "x": 100, "y": 45, "flags": 2 },
{ "matrix": [3, 8], "x": 106, "y": 49, "flags": 4 },
{ "matrix": [4, 7], "x": 98, "y": 64, "flags": 4 },
{ "x": 85, "y": 64, "flags": 2 },
{ "matrix": [4, 5], "x": 77, "y": 64, "flags": 4 },
{ "matrix": [4, 4], "x": 62, "y": 64, "flags": 4 },
{ "matrix": [4, 3], "x": 47, "y": 64, "flags": 4 },
{ "x": 39, "y": 60, "flags": 4 },
{ "matrix": [4, 2], "x": 32, "y": 64, "flags": 4 },
{ "matrix": [4, 1], "x": 12, "y": 64, "flags": 4 },
{ "x": 6, "y": 60, "flags": 2 },
{ "matrix": [4, 0], "x": 0, "y": 64, "flags": 4 },
{ "matrix": [3, 0], "x": 0, "y": 49, "flags": 4 },
{ "matrix": [3, 1], "x": 12, "y": 49, "flags": 4 },
{ "matrix": [2, 1], "x": 12, "y": 34, "flags": 4 },
{ "matrix": [2, 0], "x": 0, "y": 34, "flags": 4 },
{ "matrix": [1, 0], "x": 0, "y": 19, "flags": 4 },
{ "matrix": [1, 1], "x": 12, "y": 19, "flags": 4 },
{ "matrix": [0, 1], "x": 12, "y": 4, "flags": 4 },
{ "x": 6, "y": 0, "flags": 2 },
{ "matrix": [0, 0], "x": 0, "y": 4, "flags": 4 },
{ "matrix": [5, 0], "x": 127, "y": 4, "flags": 4 },
{ "x": 127, "y": 11, "flags": 2 },
{ "matrix": [5, 1], "x": 139, "y": 4, "flags": 4 },
{ "matrix": [5, 2], "x": 151, "y": 4, "flags": 4 },
{ "x": 157, "y": 0, "flags": 2 },
{ "matrix": [5, 3], "x": 163, "y": 4, "flags": 4 },
{ "matrix": [5, 4], "x": 176, "y": 4, "flags": 4 },
{ "x": 182, "y": 0, "flags": 2 },
{ "matrix": [5, 5], "x": 188, "y": 4, "flags": 4 },
{ "matrix": [5, 7], "x": 206, "y": 4, "flags": 4 },
{ "x": 218, "y": 0, "flags": 2 },
{ "matrix": [5, 8], "x": 224, "y": 4, "flags": 4 },
{ "matrix": [6, 8], "x": 224, "y": 19, "flags": 4 },
{ "matrix": [6, 7], "x": 209, "y": 19, "flags": 4 },
{ "matrix": [6, 6], "x": 194, "y": 19, "flags": 4 },
{ "matrix": [6, 5], "x": 182, "y": 19, "flags": 4 },
{ "matrix": [6, 4], "x": 170, "y": 19, "flags": 4 },
{ "matrix": [6, 3], "x": 157, "y": 19, "flags": 4 },
{ "matrix": [6, 2], "x": 145, "y": 19, "flags": 4 },
{ "matrix": [6, 1], "x": 133, "y": 19, "flags": 4 },
{ "matrix": [6, 0], "x": 121, "y": 19, "flags": 4 },
{ "matrix": [7, 0], "x": 124, "y": 34, "flags": 4 },
{ "matrix": [7, 1], "x": 136, "y": 34, "flags": 4 },
{ "matrix": [7, 2], "x": 148, "y": 34, "flags": 4 },
{ "matrix": [7, 3], "x": 160, "y": 34, "flags": 4 },
{ "matrix": [7, 4], "x": 173, "y": 34, "flags": 4 },
{ "matrix": [7, 5], "x": 185, "y": 34, "flags": 4 },
{ "matrix": [7, 7], "x": 204, "y": 34, "flags": 4 },
{ "matrix": [7, 8], "x": 224, "y": 34, "flags": 4 },
{ "matrix": [8, 8], "x": 224, "y": 49, "flags": 4 },
{ "matrix": [8, 7], "x": 212, "y": 49, "flags": 4 },
{ "matrix": [8, 6], "x": 195, "y": 49, "flags": 4 },
{ "matrix": [8, 4], "x": 179, "y": 49, "flags": 4 },
{ "matrix": [8, 3], "x": 166, "y": 49, "flags": 4 },
{ "matrix": [8, 2], "x": 154, "y": 49, "flags": 4 },
{ "matrix": [8, 1], "x": 142, "y": 49, "flags": 4 },
{ "matrix": [8, 0], "x": 130, "y": 49, "flags": 4 },
{ "x": 127, "y": 64, "flags": 2 },
{ "matrix": [9, 1], "x": 141, "y": 64, "flags": 4 },
{ "x": 157, "y": 64, "flags": 2 },
{ "matrix": [9, 2], "x": 163, "y": 64, "flags": 4 },
{ "matrix": [9, 3], "x": 176, "y": 64, "flags": 4 },
{ "matrix": [9, 4], "x": 188, "y": 64, "flags": 4 },
{ "x": 194, "y": 64, "flags": 2 },
{ "matrix": [9, 6], "x": 200, "y": 64, "flags": 4 },
{ "matrix": [9, 7], "x": 212, "y": 64, "flags": 4 },
{ "x": 218, "y": 64, "flags": 2 },
{ "matrix": [9, 8], "x": 224, "y": 64, "flags": 4 }
],
"max_brightness": 120,
"sleep": true,
"split_count": [48, 48]
},
"split": {
"bootmagic": {
"matrix": [5, 8]
},
"enabled": true,
"handedness": {
"pin": "A0"
},
"matrix_pins": {
"right": {
"cols": ["B2", "A15", "A2", "A1", "A4", "B15", "B6", "C13", "C14"],
"rows": ["B12", "B13", "B14", "B5", "F1"]
}
},
"serial": {
"driver": "usart"
},
"transport": {
"sync": {
"matrix_state": true
}
}
},
"url": "https://keeb.io",
"usb": {
"device_version": "1.0.0",
"pid": "0x1657",
"vid": "0xCB10"
},
"ws2812": {
"driver": "pwm",
"pin": "B7"
},
"layouts": {
"LAYOUT_65xt": {
"layout": [
{"label": "F1", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "F2", "matrix": [0, 1], "x": 1, "y": 0},
{"label": "Esc", "matrix": [0, 2], "x": 2.25, "y": 0},
{"label": "1", "matrix": [0, 3], "x": 3.25, "y": 0},
{"label": "2", "matrix": [0, 4], "x": 4.25, "y": 0},
{"label": "3", "matrix": [0, 5], "x": 5.25, "y": 0},
{"label": "4", "matrix": [0, 6], "x": 6.25, "y": 0},
{"label": "5", "matrix": [0, 7], "x": 7.25, "y": 0},
{"label": "6", "matrix": [0, 8], "x": 8.25, "y": 0},
{"label": "7", "matrix": [5, 0], "x": 10.25, "y": 0},
{"label": "8", "matrix": [5, 1], "x": 11.25, "y": 0},
{"label": "9", "matrix": [5, 2], "x": 12.25, "y": 0},
{"label": "0", "matrix": [5, 3], "x": 13.25, "y": 0},
{"label": "-", "matrix": [5, 4], "x": 14.25, "y": 0},
{"label": "=", "matrix": [5, 5], "x": 15.25, "y": 0},
{"label": "Bksp", "matrix": [5, 7], "x": 16.25, "y": 0, "w": 2},
{"label": "Del", "matrix": [5, 8], "x": 18.25, "y": 0},
{"label": "F3", "matrix": [1, 0], "x": 0, "y": 1},
{"label": "F4", "matrix": [1, 1], "x": 1, "y": 1},
{"label": "Tab", "matrix": [1, 2], "x": 2.25, "y": 1, "w": 1.5},
{"label": "Q", "matrix": [1, 3], "x": 3.75, "y": 1},
{"label": "W", "matrix": [1, 4], "x": 4.75, "y": 1},
{"label": "E", "matrix": [1, 5], "x": 5.75, "y": 1},
{"label": "R", "matrix": [1, 6], "x": 6.75, "y": 1},
{"label": "T", "matrix": [1, 7], "x": 7.75, "y": 1},
{"label": "Y", "matrix": [6, 0], "x": 9.75, "y": 1},
{"label": "U", "matrix": [6, 1], "x": 10.75, "y": 1},
{"label": "I", "matrix": [6, 2], "x": 11.75, "y": 1},
{"label": "O", "matrix": [6, 3], "x": 12.75, "y": 1},
{"label": "P", "matrix": [6, 4], "x": 13.75, "y": 1},
{"label": "{", "matrix": [6, 5], "x": 14.75, "y": 1},
{"label": "}", "matrix": [6, 6], "x": 15.75, "y": 1},
{"label": "|", "matrix": [6, 7], "x": 16.75, "y": 1, "w": 1.5},
{"label": "Home", "matrix": [6, 8], "x": 18.25, "y": 1},
{"label": "F5", "matrix": [2, 0], "x": 0, "y": 2},
{"label": "F6", "matrix": [2, 1], "x": 1, "y": 2},
{"label": "Caps Lock", "matrix": [2, 2], "x": 2.25, "y": 2, "w": 1.75},
{"label": "A", "matrix": [2, 3], "x": 4, "y": 2},
{"label": "S", "matrix": [2, 4], "x": 5, "y": 2},
{"label": "D", "matrix": [2, 5], "x": 6, "y": 2},
{"label": "F", "matrix": [2, 6], "x": 7, "y": 2},
{"label": "G", "matrix": [2, 7], "x": 8, "y": 2},
{"label": "H", "matrix": [7, 0], "x": 10, "y": 2},
{"label": "J", "matrix": [7, 1], "x": 11, "y": 2},
{"label": "K", "matrix": [7, 2], "x": 12, "y": 2},
{"label": "L", "matrix": [7, 3], "x": 13, "y": 2},
{"label": ":", "matrix": [7, 4], "x": 14, "y": 2},
{"label": "\"", "matrix": [7, 5], "x": 15, "y": 2},
{"label": "Enter", "matrix": [7, 7], "x": 16, "y": 2, "w": 2.25},
{"label": "PgUp", "matrix": [7, 8], "x": 18.25, "y": 2},
{"label": "F7", "matrix": [3, 0], "x": 0, "y": 3},
{"label": "F8", "matrix": [3, 1], "x": 1, "y": 3},
{"label": "Shift", "matrix": [3, 2], "x": 2.25, "y": 3, "w": 2.25},
{"label": "Z", "matrix": [3, 4], "x": 4.5, "y": 3},
{"label": "X", "matrix": [3, 5], "x": 5.5, "y": 3},
{"label": "C", "matrix": [3, 6], "x": 6.5, "y": 3},
{"label": "V", "matrix": [3, 7], "x": 7.5, "y": 3},
{"label": "B", "matrix": [3, 8], "x": 8.5, "y": 3},
{"label": "N", "matrix": [8, 0], "x": 10.5, "y": 3},
{"label": "M", "matrix": [8, 1], "x": 11.5, "y": 3},
{"label": ",", "matrix": [8, 2], "x": 12.5, "y": 3},
{"label": ".", "matrix": [8, 3], "x": 13.5, "y": 3},
{"label": "/", "matrix": [8, 4], "x": 14.5, "y": 3},
{"label": "Shift", "matrix": [8, 6], "x": 15.5, "y": 3, "w": 1.75},
{"label": "Up", "matrix": [8, 7], "x": 17.25, "y": 3},
{"label": "PgDn", "matrix": [8, 8], "x": 18.25, "y": 3},
{"label": "F9", "matrix": [4, 0], "x": 0, "y": 4},
{"label": "F10", "matrix": [4, 1], "x": 1, "y": 4},
{"label": "Ctrl", "matrix": [4, 2], "x": 2.25, "y": 4, "w": 1.25},
{"label": "Win", "matrix": [4, 3], "x": 3.5, "y": 4, "w": 1.25},
{"label": "Alt", "matrix": [4, 4], "x": 4.75, "y": 4, "w": 1.25},
{"label": "Fn", "matrix": [4, 5], "x": 6, "y": 4, "w": 1.25},
{"label": "Space", "matrix": [4, 7], "x": 7.25, "y": 4, "w": 2.25},
{"label": "Space", "matrix": [9, 1], "x": 10.5, "y": 4, "w": 2.75},
{"label": "Alt", "matrix": [9, 2], "x": 13.25, "y": 4},
{"label": "Fn", "matrix": [9, 3], "x": 14.25, "y": 4},
{"label": "Ctrl", "matrix": [9, 4], "x": 15.25, "y": 4},
{"label": "Left", "matrix": [9, 6], "x": 16.25, "y": 4},
{"label": "Down", "matrix": [9, 7], "x": 17.25, "y": 4},
{"label": "Right", "matrix": [9, 8], "x": 18.25, "y": 4}
]
}
}
}

View file

@ -0,0 +1,14 @@
// Copyright 2025 Keebio (@keebio)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include_next <mcuconf.h>
/* enable USART3, used for split comms */
#undef STM32_SERIAL_USE_USART3
#define STM32_SERIAL_USE_USART3 TRUE
/* enable TIM3, used for RGB LED PWM driver */
#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE

View file

@ -0,0 +1,11 @@
// Copyright 2025 Keebio (@keebio)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
void keyboard_pre_init_kb(void) {
// Disable the PD peripheral in pre-init because its pins are being used in the matrix:
PWR->CR3 |= PWR_CR3_UCPD_DBDIS;
// Call the corresponding _user() function (see https://docs.qmk.fm/#/custom_quantum_functions)
keyboard_pre_init_user();
}