forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keyboard] Add splitkb.com's Halcyon Kyria rev4 (qmk#24512)
* Add Halcyon Kyria Rev4 * Remove bootmagic and unused features * Fix encoderindex * Update readme.md * Remove rgblight * Implement requested changes * Add encoder update user * Remove rules.mk and add VIK configuration * Move options to config.h * Update RGB keycodes (qmk#24484) * implement changes --------- Co-authored-by: harvey-splitkb <[email protected]>
- Loading branch information
1 parent
0f75ee5
commit 2116eae
Showing
9 changed files
with
803 additions
and
0 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,68 @@ | ||
{ | ||
"manufacturer": "splitkb.com", | ||
"maintainer": "splitkb.com", | ||
"url": "https://splitkb.com", | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"vid": "0x8D1D" | ||
}, | ||
"layout_aliases": { | ||
"LAYOUT": "LAYOUT_split_3x6_5" | ||
}, | ||
"layouts": { | ||
"LAYOUT_split_3x6_5": { | ||
"layout": [ | ||
{"label": "L06", "matrix": [0, 6], "x": 0, "y": 0.75}, | ||
{"label": "L05", "matrix": [0, 5], "x": 1, "y": 0.75}, | ||
{"label": "L04", "matrix": [0, 4], "x": 2, "y": 0.25}, | ||
{"label": "L03", "matrix": [0, 3], "x": 3, "y": 0}, | ||
{"label": "L02", "matrix": [0, 2], "x": 4, "y": 0.25}, | ||
{"label": "L01", "matrix": [0, 1], "x": 5, "y": 0.5}, | ||
{"label": "R01", "matrix": [4, 1], "x": 10.5, "y": 0.5}, | ||
{"label": "R02", "matrix": [4, 2], "x": 11.5, "y": 0.25}, | ||
{"label": "R03", "matrix": [4, 3], "x": 12.5, "y": 0}, | ||
{"label": "R04", "matrix": [4, 4], "x": 13.5, "y": 0.25}, | ||
{"label": "R05", "matrix": [4, 5], "x": 14.5, "y": 0.75}, | ||
{"label": "R06", "matrix": [4, 6], "x": 15.5, "y": 0.75}, | ||
{"label": "L12", "matrix": [1, 6], "x": 0, "y": 1.75}, | ||
{"label": "L11", "matrix": [1, 5], "x": 1, "y": 1.75}, | ||
{"label": "L10", "matrix": [1, 4], "x": 2, "y": 1.25}, | ||
{"label": "L09", "matrix": [1, 3], "x": 3, "y": 1}, | ||
{"label": "L08", "matrix": [1, 2], "x": 4, "y": 1.25}, | ||
{"label": "L07", "matrix": [1, 1], "x": 5, "y": 1.5}, | ||
{"label": "R07", "matrix": [5, 1], "x": 10.5, "y": 1.5}, | ||
{"label": "R08", "matrix": [5, 2], "x": 11.5, "y": 1.25}, | ||
{"label": "R09", "matrix": [5, 3], "x": 12.5, "y": 1}, | ||
{"label": "R10", "matrix": [5, 4], "x": 13.5, "y": 1.25}, | ||
{"label": "R11", "matrix": [5, 5], "x": 14.5, "y": 1.75}, | ||
{"label": "R12", "matrix": [5, 6], "x": 15.5, "y": 1.75}, | ||
{"label": "L20", "matrix": [2, 6], "x": 0, "y": 2.75}, | ||
{"label": "L19", "matrix": [2, 5], "x": 1, "y": 2.75}, | ||
{"label": "L18", "matrix": [2, 4], "x": 2, "y": 2.25}, | ||
{"label": "L17", "matrix": [2, 3], "x": 3, "y": 2}, | ||
{"label": "L16", "matrix": [2, 2], "x": 4, "y": 2.25}, | ||
{"label": "L15", "matrix": [2, 1], "x": 5, "y": 2.5}, | ||
{"label": "L14", "matrix": [3, 3], "x": 6, "y": 3}, | ||
{"label": "L13", "matrix": [2, 0], "x": 7, "y": 3.25}, | ||
{"label": "R13", "matrix": [6, 0], "x": 8.5, "y": 3.25}, | ||
{"label": "R14", "matrix": [7, 3], "x": 9.5, "y": 3}, | ||
{"label": "R15", "matrix": [6, 1], "x": 10.5, "y": 2.5}, | ||
{"label": "R16", "matrix": [6, 2], "x": 11.5, "y": 2.25}, | ||
{"label": "R17", "matrix": [6, 3], "x": 12.5, "y": 2}, | ||
{"label": "R18", "matrix": [6, 4], "x": 13.5, "y": 2.25}, | ||
{"label": "R19", "matrix": [6, 5], "x": 14.5, "y": 2.75}, | ||
{"label": "R20", "matrix": [6, 6], "x": 15.5, "y": 2.75}, | ||
{"label": "L25", "matrix": [3, 4], "x": 2.5, "y": 3.25}, | ||
{"label": "L24", "matrix": [3, 2], "x": 3.5, "y": 3.25}, | ||
{"label": "L23", "matrix": [3, 1], "x": 4.5, "y": 3.5}, | ||
{"label": "L22", "matrix": [3, 5], "x": 5.5, "y": 4}, | ||
{"label": "L21", "matrix": [3, 0], "x": 6.5, "y": 4.25}, | ||
{"label": "R21", "matrix": [7, 0], "x": 9, "y": 4.25}, | ||
{"label": "R22", "matrix": [7, 5], "x": 10, "y": 4}, | ||
{"label": "R23", "matrix": [7, 1], "x": 11, "y": 3.5}, | ||
{"label": "R24", "matrix": [7, 2], "x": 12, "y": 3.25}, | ||
{"label": "R25", "matrix": [7, 4], "x": 13, "y": 3.25} | ||
] | ||
} | ||
} | ||
} |
206 changes: 206 additions & 0 deletions
206
keyboards/splitkb/halcyon/kyria/keymaps/default/keymap.c
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,206 @@ | ||
// Copyright 2024 splitkb.com ([email protected]) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
enum layers { | ||
_QWERTY = 0, | ||
_DVORAK, | ||
_COLEMAK_DH, | ||
_NAV, | ||
_SYM, | ||
_FUNCTION, | ||
_ADJUST, | ||
}; | ||
|
||
|
||
// Aliases for readability | ||
#define QWERTY DF(_QWERTY) | ||
#define COLEMAK DF(_COLEMAK_DH) | ||
#define DVORAK DF(_DVORAK) | ||
|
||
#define SYM MO(_SYM) | ||
#define NAV MO(_NAV) | ||
#define FKEYS MO(_FUNCTION) | ||
#define ADJUST MO(_ADJUST) | ||
|
||
#define CTL_ESC MT(MOD_LCTL, KC_ESC) | ||
#define CTL_QUOT MT(MOD_RCTL, KC_QUOTE) | ||
#define CTL_MINS MT(MOD_RCTL, KC_MINUS) | ||
#define ALT_ENT MT(MOD_LALT, KC_ENT) | ||
|
||
// Note: LAlt/Enter (ALT_ENT) is not the same thing as the keyboard shortcut Alt+Enter. | ||
// The notation `mod/tap` denotes a key that activates the modifier `mod` when held down, and | ||
// produces the key `tap` when tapped (i.e. pressed and released). | ||
|
||
// clang-format off | ||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
/* | ||
* Base Layer: QWERTY | ||
* | ||
* ,-------------------------------------------. ,-------------------------------------------. | ||
* | Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp | | ||
* |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
* |Ctrl/Esc| A | S | D | F | G | | H | J | K | L | ; : |Ctrl/' "| | ||
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
* | LShift | Z | X | C | V | B | [ { |CapsLk| |F-keys| ] } | N | M | , < | . > | / ? | RShift | | ||
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
* |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu | | ||
* | | | Enter| | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
*/ | ||
[_QWERTY] = LAYOUT( | ||
KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y, KC_U , KC_I , KC_O , KC_P , KC_BSPC, | ||
CTL_ESC , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H, KC_J , KC_K , KC_L ,KC_SCLN,CTL_QUOT, | ||
KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_LBRC,KC_CAPS, FKEYS , KC_RBRC, KC_N, KC_M ,KC_COMM, KC_DOT ,KC_SLSH, KC_RSFT, | ||
ADJUST , KC_LGUI, ALT_ENT, KC_SPC , NAV , SYM , KC_SPC ,KC_RALT, KC_RGUI, KC_APP | ||
), | ||
|
||
/* | ||
* Base Layer: Dvorak | ||
* | ||
* ,-------------------------------------------. ,-------------------------------------------. | ||
* | Tab | ' " | , < | . > | P | Y | | F | G | C | R | L | Bksp | | ||
* |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
* |Ctrl/Esc| A | O | E | U | I | | D | H | T | N | S |Ctrl/- _| | ||
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
* | LShift | ; : | Q | J | K | X | [ { |CapsLk| |F-keys| ] } | B | M | W | V | Z | RShift | | ||
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
* |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu | | ||
* | | | Enter| | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
*/ | ||
[_DVORAK] = LAYOUT( | ||
KC_TAB ,KC_QUOTE,KC_COMM, KC_DOT, KC_P , KC_Y , KC_F, KC_G , KC_C , KC_R , KC_L , KC_BSPC, | ||
CTL_ESC , KC_A , KC_O , KC_E , KC_U , KC_I , KC_D, KC_H , KC_T , KC_N , KC_S , CTL_MINS, | ||
KC_LSFT ,KC_SCLN, KC_Q , KC_J , KC_K , KC_X , KC_LBRC,KC_CAPS, FKEYS , KC_RBRC, KC_B, KC_M , KC_W , KC_V , KC_Z , KC_RSFT, | ||
ADJUST, KC_LGUI, ALT_ENT, KC_SPC , NAV , SYM , KC_SPC ,KC_RALT, KC_RGUI, KC_APP | ||
), | ||
|
||
/* | ||
* Base Layer: Colemak DH | ||
* | ||
* ,-------------------------------------------. ,-------------------------------------------. | ||
* | Tab | Q | W | F | P | B | | J | L | U | Y | ; : | Bksp | | ||
* |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
* |Ctrl/Esc| A | R | S | T | G | | M | N | E | I | O |Ctrl/' "| | ||
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
* | LShift | Z | X | C | D | V | [ { |CapsLk| |F-keys| ] } | K | H | , < | . > | / ? | RShift | | ||
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
* |Adjust| LGUI | LAlt/| Space| Nav | | Sym | Space| AltGr| RGUI | Menu | | ||
* | | | Enter| | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
*/ | ||
[_COLEMAK_DH] = LAYOUT( | ||
KC_TAB , KC_Q , KC_W , KC_F , KC_P , KC_B , KC_J, KC_L , KC_U , KC_Y ,KC_SCLN, KC_BSPC, | ||
CTL_ESC , KC_A , KC_R , KC_S , KC_T , KC_G , KC_M, KC_N , KC_E , KC_I , KC_O , CTL_QUOT, | ||
KC_LSFT , KC_Z , KC_X , KC_C , KC_D , KC_V , KC_LBRC,KC_CAPS, FKEYS , KC_RBRC, KC_K, KC_H ,KC_COMM, KC_DOT ,KC_SLSH, KC_RSFT, | ||
ADJUST, KC_LGUI, ALT_ENT, KC_SPC , NAV , SYM , KC_SPC ,KC_RALT, KC_RGUI, KC_APP | ||
), | ||
|
||
/* | ||
* Nav Layer: Media, navigation | ||
* | ||
* ,-------------------------------------------. ,-------------------------------------------. | ||
* | | | | | | | | PgUp | Home | ↑ | End | VolUp| Delete | | ||
* |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
* | | GUI | Alt | Ctrl | Shift| | | PgDn | ← | ↓ | → | VolDn| Insert | | ||
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
* | | | | | | | |ScLck | | | | Pause|M Prev|M Play|M Next|VolMut| PrtSc | | ||
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
* | | | | | | | | | | | | | ||
* | | | | | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
*/ | ||
[_NAV] = LAYOUT( | ||
_______, _______, _______, _______, _______, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_VOLU, KC_DEL, | ||
_______, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_INS, | ||
_______, _______, _______, _______, _______, _______, _______, KC_SCRL, _______, _______,KC_PAUSE, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_PSCR, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
), | ||
|
||
/* | ||
* Sym Layer: Numbers and symbols | ||
* | ||
* ,-------------------------------------------. ,-------------------------------------------. | ||
* | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | = | | ||
* |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
* | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + | | ||
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
* | | | \ | : | ; | - | [ | { | | | | } | ] | _ | , | . | / | ? | | ||
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
* | | | | | | | | | | | | | ||
* | | | | | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
*/ | ||
[_SYM] = LAYOUT( | ||
KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_EQL , | ||
KC_TILD , KC_EXLM, KC_AT , KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PLUS, | ||
KC_PIPE , KC_BSLS, KC_COLN, KC_SCLN, KC_MINS, KC_LBRC, KC_LCBR, _______, _______, KC_RCBR, KC_RBRC, KC_UNDS, KC_COMM, KC_DOT, KC_SLSH, KC_QUES, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
), | ||
|
||
/* | ||
* Function Layer: Function keys | ||
* | ||
* ,-------------------------------------------. ,-------------------------------------------. | ||
* | | F9 | F10 | F11 | F12 | | | | | | | | | | ||
* |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
* | | F5 | F6 | F7 | F8 | | | | Shift| Ctrl | Alt | GUI | | | ||
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
* | | F1 | F2 | F3 | F4 | | | | | | | | | | | | | | ||
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
* | | | | | | | | | | | | | ||
* | | | | | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
*/ | ||
[_FUNCTION] = LAYOUT( | ||
_______, KC_F9 , KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______, _______, | ||
_______, KC_F5 , KC_F6 , KC_F7 , KC_F8 , _______, _______, KC_RSFT, KC_RCTL, KC_LALT, KC_RGUI, _______, | ||
_______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
), | ||
|
||
/* | ||
* Adjust Layer: Default layer settings, RGB | ||
* | ||
* ,-------------------------------------------. ,-------------------------------------------. | ||
* | | | |QWERTY| | | | | | | | | | | ||
* |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
* | | | |Dvorak| | | | TOG | SAI | HUI | VAI | MOD | | | ||
* |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
* | | | |Colmak| | | | | | | | | SAD | HUD | VAD | RMOD | | | ||
* `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
* | | | | | | | | | | | | | ||
* | | | | | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
*/ | ||
[_ADJUST] = LAYOUT( | ||
_______, _______, _______, QWERTY , _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, DVORAK , _______, _______, RM_TOGG, RM_SATU, RM_HUEU, RM_VALU, RM_NEXT, _______, | ||
_______, _______, _______, COLEMAK, _______, _______,_______, _______, _______, _______, _______, RM_SATD, RM_HUED, RM_VALD, RM_PREV, _______, | ||
_______, _______, _______,_______, _______, _______, _______, _______, _______, _______ | ||
), | ||
|
||
// /* | ||
// * Layer template | ||
// * | ||
// * ,-------------------------------------------. ,-------------------------------------------. | ||
// * | | | | | | | | | | | | | | | ||
// * |--------+------+------+------+------+------| |------+------+------+------+------+--------| | ||
// * | | | | | | | | | | | | | | | ||
// * |--------+------+------+------+------+------+-------------. ,-------------+------+------+------+------+------+--------| | ||
// * | | | | | | | | | | | | | | | | | | | ||
// * `----------------------+------+------+------+------+------| |------+------+------+------+------+----------------------' | ||
// * | | | | | | | | | | | | | ||
// * | | | | | | | | | | | | | ||
// * `----------------------------------' `----------------------------------' | ||
// */ | ||
// [_LAYERINDEX] = LAYOUT( | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
// ), | ||
// | ||
}; |
Oops, something went wrong.