my-keymaps/keyboards/zsa/voyager/keymaps/ryuk/keymap.c
Tom Willemse 4b1e551b42 Change layout for the numpad
I'm so used do the numpad being under my fingers while keeping my fingers on the
base position that I couldn't function with the keys the way they were.
2024-10-29 23:32:43 -07: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 | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | CapsWord | Q | W | F | P | G | | J | L | U | Y | ; | \ |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | L⇧ (⌫) | A | R | S | T | D | | H | N | E | I | O | R⇧ (/) |
* |----------+------+------+------+------+------| |------+------+------+------+------+---------|
* | LGui | Z | X | C | V | B | | K | M | , | . | ' | Hyper |
* `----------+------+------+------+------+------' `------+------+------+------+------+---------'
*
* ,----------------. ,-----------------.
* | L1(RET) | | | | L2(SPC) |
* '---------|C(TAB)| |S(BSPS)|---------'
* | | | |
* `------' `-------'
*/
[0] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
CW_TOGG, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS,
SFT_T(KC_BSPC),KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, RSFT_T(KC_SLSH),
KC_LGUI, ALT_T(KC_Z),KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMMA,KC_DOT, RALT_T(KC_QUOT), KC_RCTL,
LT(1,KC_ENT), CTL_T(KC_TAB), SFT_T(KC_BSPC), 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
};