Skip to content

Commit 014619e

Browse files
committed
[keymap] add kyria and halcyon kyria
1 parent 41ee833 commit 014619e

7 files changed

Lines changed: 291 additions & 3 deletions

File tree

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Copyright 2025 VeyPatch (126267034+VeyPatch@users.noreply.github.com)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
6+
#if defined(RGB_MATRIX_ENABLE)
7+
# define RGB_MATRIX_SLEEP // turn off effects when suspended
8+
# undef RGB_MATRIX_KEYPRESSES // React to keypresses
9+
10+
# define ENABLE_RGB_MATRIX_NONE
11+
# define ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue no speed support
12+
# undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue speed is hue for secondary hue
13+
# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom speed controls how much gradient changes
14+
# undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right speed controls how much gradient changes
15+
# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation
16+
# undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right
17+
# undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
18+
# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation
19+
# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness
20+
# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation
21+
# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness
22+
# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient
23+
# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right
24+
# undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom
25+
# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in
26+
# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
27+
# undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradient Chevron shapped scrolling left to right
28+
# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard
29+
# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
30+
# undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
31+
# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
32+
# undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
33+
# undef ENABLE_RGB_MATRIX_FLOWER_BLOOMING // Full tighter gradient of first half scrolling left to right and second half scrolling right to left
34+
# undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue
35+
# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
36+
# undef ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time then shifts back
37+
# undef ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right then back to the left
38+
# undef ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right
39+
# undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL // Single hue fractal filled keys pulsing horizontally out to edges
40+
# undef ENABLE_RGB_MATRIX_PIXEL_FLOW // Pulsing RGB flow along LED wiring with random hues
41+
# undef ENABLE_RGB_MATRIX_PIXEL_RAIN // Randomly light keys with random hues
42+
# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM!
43+
# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation
44+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out
45+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue pulses keys hit to shifted hue then fades to current hue
46+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out
47+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out
48+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out
49+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out
50+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out
51+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out
52+
# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out
53+
# undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out
54+
# undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out
55+
# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out
56+
# undef ENABLE_RGB_MATRIX_STARLIGHT // LEDs turn on and off at random at varying brightness maintaining user set color
57+
# undef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_HUE // LEDs turn on and off at random at varying brightness modifies user set hue by +- 30
58+
# undef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_SAT // LEDs turn on and off at random at varying brightness modifies user set saturation by +- 30
59+
# undef ENABLE_RGB_MATRIX_RIVERFLOW // Modification to breathing animation offset's animation depending on key location to simulate a river flowing
60+
#endif
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
// Copyright 2025 VeyPatch (126267034+VeyPatch@users.noreply.github.com)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#include QMK_KEYBOARD_H
5+
6+
enum layers {
7+
_QWERTY = 0,
8+
_SYM,
9+
_NAV,
10+
_FUNCTION,
11+
_ADJUST,
12+
_GAME,
13+
};
14+
15+
layer_state_t layer_state_set_user(layer_state_t state) {
16+
return update_tri_layer_state(state, _SYM, _NAV, _FUNCTION);
17+
}
18+
19+
// clang-format off
20+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21+
[_QWERTY] = LAYOUT_split_3x6_5(
22+
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
23+
KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
24+
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, _______, _______, TG(_GAME), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_PSCR,
25+
KC_LGUI, KC_LALT, KC_DEL, KC_LSFT, LT(_SYM, KC_ENTER), LT(_NAV, KC_TAB), KC_SPC, KC_BSPC, KC_APP, MO(_ADJUST)
26+
),
27+
28+
[_SYM] = LAYOUT_split_3x6_5(
29+
_______, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, KC_PIPE, KC_BSLS, KC_ESC, _______,
30+
_______, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, KC_PLUS, KC_MINS, KC_SLSH, KC_ASTR, KC_QUOT, _______,
31+
_______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, _______, _______, _______, _______, KC_EQL, KC_UNDS, KC_AMPR, _______, KC_DQUO, _______,
32+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
33+
),
34+
35+
[_NAV] = LAYOUT_split_3x6_5(
36+
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
37+
_______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLU, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, _______,
38+
_______, _______, _______, _______, KC_MUTE, KC_VOLD, _______, _______, _______, _______, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, _______,
39+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
40+
),
41+
42+
[_FUNCTION] = LAYOUT_split_3x6_5(
43+
_______, KC_F1, KC_F2, KC_F3, KC_F4, _______, KC_NUM, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_PMNS,
44+
_______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______, KC_P4, KC_P5, KC_P6, KC_PEQL, KC_PAST,
45+
_______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, KC_PSLS,
46+
_______, _______, _______, _______, _______, _______, _______, _______, KC_P0, KC_PDOT
47+
),
48+
49+
[_ADJUST] = LAYOUT_split_3x6_5(
50+
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
51+
_______, _______, _______, _______, _______, _______, RM_TOGG, RM_SATU, RM_HUEU, RM_VALU, RM_NEXT, RM_SPDU,
52+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RM_SATD, RM_HUED, RM_VALD, RM_PREV, RM_SPDD,
53+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
54+
),
55+
56+
[_GAME] = LAYOUT_split_3x6_5(
57+
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, _______, _______, _______, _______, _______, KC_BSPC,
58+
KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, _______,
59+
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, _______, _______, TG(_GAME), KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_PSCR,
60+
KC_LGUI, KC_LALT, KC_DEL, KC_SPC, LT(_SYM, KC_ENTER), LT(_NAV, KC_TAB), KC_SPC, KC_BSPC, KC_APP, MO(_ADJUST)
61+
)
62+
};
63+
// clang-format on
64+
65+
#if defined(KEYBOARD_splitkb_halcyon_kyria_rev4)
66+
void keyboard_pre_init_user(void) {
67+
// Set our LED pin as output
68+
gpio_set_pin_output(27);
69+
// Turn the LED off
70+
// (Due to technical reasons, high is off and low is on)
71+
gpio_write_pin_low(27);
72+
}
73+
#endif // KEYBOARD_splitkb_halcyon_kyria_rev4
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ENCODER_ENABLE = no
2+
MOUSEKEY_ENABLE = no
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Copyright 2025 VeyPatch (126267034+VeyPatch@users.noreply.github.com)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
6+
#if defined(RGB_MATRIX_ENABLE)
7+
# define RGB_MATRIX_SLEEP // turn off effects when suspended
8+
# undef RGB_MATRIX_KEYPRESSES // React to keypresses
9+
10+
# define ENABLE_RGB_MATRIX_NONE
11+
# define ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue no speed support
12+
# undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue speed is hue for secondary hue
13+
# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom speed controls how much gradient changes
14+
# undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right speed controls how much gradient changes
15+
# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation
16+
# undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right
17+
# undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
18+
# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation
19+
# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness
20+
# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation
21+
# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness
22+
# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient
23+
# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right
24+
# undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom
25+
# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in
26+
# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
27+
# undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradient Chevron shapped scrolling left to right
28+
# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard
29+
# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
30+
# undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
31+
# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
32+
# undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
33+
# undef ENABLE_RGB_MATRIX_FLOWER_BLOOMING // Full tighter gradient of first half scrolling left to right and second half scrolling right to left
34+
# undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue
35+
# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
36+
# undef ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time then shifts back
37+
# undef ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right then back to the left
38+
# undef ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right
39+
# undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL // Single hue fractal filled keys pulsing horizontally out to edges
40+
# undef ENABLE_RGB_MATRIX_PIXEL_FLOW // Pulsing RGB flow along LED wiring with random hues
41+
# undef ENABLE_RGB_MATRIX_PIXEL_RAIN // Randomly light keys with random hues
42+
# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM!
43+
# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation
44+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out
45+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue pulses keys hit to shifted hue then fades to current hue
46+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out
47+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out
48+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out
49+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out
50+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out
51+
# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out
52+
# undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out
53+
# undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out
54+
# undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out
55+
# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out
56+
# undef ENABLE_RGB_MATRIX_STARLIGHT // LEDs turn on and off at random at varying brightness maintaining user set color
57+
# undef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_HUE // LEDs turn on and off at random at varying brightness modifies user set hue by +- 30
58+
# undef ENABLE_RGB_MATRIX_STARLIGHT_DUAL_SAT // LEDs turn on and off at random at varying brightness modifies user set saturation by +- 30
59+
# undef ENABLE_RGB_MATRIX_RIVERFLOW // Modification to breathing animation offset's animation depending on key location to simulate a river flowing
60+
#endif

0 commit comments

Comments
 (0)