my-keymaps/keyboards/zsa/voyager/keymaps/ryuk/keymap.c
Tom Willemse 892c81942e
Some checks failed
Build QMK firmware / QMK Userspace Build (push) Has been cancelled
Build QMK firmware / QMK Userspace Publish (push) Has been cancelled
Redo keyboard keys for Voyager
This should all help with making all the modifier keys symmetrical.
2024-12-19 23:22:17 -08:00

67 lines
5 KiB
C

// Copyright 2023 ZSA Technology Labs, Inc <@zsa>
// Copyright 2023 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// clang-format off
/* Keymap 0: Basic layer
*
* ,---------------------------------------------. ,--------------------------------------------.
* | ESC | Q | W | F | P | G | | J | L | U | Y | ; | - |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | | A | R | S | T | D | | H | N | E | I | O | \ |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | | Z | X | C | V | B | | K | M | , | . | ' | / |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | ~L1 | ~L2 | LALT |LSHIFT| LCtrl| | | | RCtrl|RSHIFT| LALT | ~L2 | ~L1 |
* `----------+------+------+------+------+------' `------+------+------+------+------+---------'
*
* ,----------------. ,----------------.
* | BSPS | | | | SPC |
* '---------|G(TAB)| |G(RET)|---------'
* | | | |
* `------' `------'
*/
[0] = LAYOUT(
KC_ESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_MINS,
KC_NO, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_BSLS,
KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMMA, KC_DOT, KC_QUOT, KC_SLSH,
MO(2), MO(1), KC_LALT, KC_LSFT, KC_LCTL, KC_NO, KC_NO, KC_RCTL, KC_RSFT, KC_LALT, MO(1), MO(2),
KC_BSPC, LGUI_T(KC_TAB), LGUI_T(KC_ENT), LT(2,KC_SPC)
),
/* Keymap 1: Symbols && Numbers
*
* ,---------------------------------------------. ,--------------------------------------------.
* | ESC | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | ` | ! | @ | # | $ | % | | - | 7 | 8 | 9 | / | F12 |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | | ^ | & | * | ( | ) | | + | 4 | 5 | 6 | * | ⌫ |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | | | [ | ] | { | } | | . | 1 | 2 | 3 | = | ⏎ |
* `----------+------+------+------+------+------' `------+------+------+------+------+---------'
*
* ,-------------. ,-------------.
* | | | | | 0 |
* '------| | | |------'
* | | | |
* `------' `------'
*/
[1] = LAYOUT(
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_MINS, KC_7, KC_8, KC_9, KC_SLSH, KC_F12,
_______, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PLUS, KC_4, KC_5, KC_6, KC_ASTR, KC_BSPC,
_______, _______, KC_LBRC, KC_RBRC, KC_LCBR, KC_RCBR, KC_DOT, KC_1, KC_2, KC_3, KC_EQL, KC_ENT,
_______, _______, _______, KC_0
),
[2] = LAYOUT(
RGB_TOG, QK_KB, RGB_MOD, RGB_M_P, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, QK_BOOT,
_______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, _______, _______,
_______, KC_MPRV, KC_MNXT, KC_MSTP, KC_MPLY, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
_______, _______, _______, _______, _______, _______, _______, C(S(KC_TAB)), C(KC_TAB), _______, _______, _______,
_______, _______, _______, _______
),
// clang-format on
};