1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/skyloong/qk21/v1/keymaps/default/keymap.c
skyloong 234e099c72
Added skyloong/Qk21 v1 Number Pad (#21467)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-09-24 20:28:08 -07:00

55 lines
1.9 KiB
C

// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┐
* │Esc│Tab│MO1│Bsp│
* ├───┼───┼───┼───┤
* │Num│ / │ * │ - │
* ├───┼───┼───┼───┤
* │ 7 │ 8 │ 9 │ │
* ├───┼───┼───┤ + │
* │ 4 │ 5 │ 6 │ │
* ├───┼───┼───┼───┤
* │ 1 │ 2 │ 3 │ │
* ├───┴───┼───┤Ent│
* │ 0 │ . │ │
* └───────┴───┴───┘
*/
[0] = LAYOUT_numpad_6x4(
KC_ESC, KC_TAB, MO(1), KC_BSPC,
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT
),
/*
* ┌───┐───┬───┬───┐
* │Rst│MOD│MO1│Bsp│
* └───┘───┼───┼───┤
* │Num│HUD│HUI│VAD│
* ┌───┬───┬───┐───┤
* │Hom│ ↑ │PgU│ │
* ├───┼───┼───┤VAI│
* │ ← │ │ → │ │
* ├───┼───┼───┤───┤
* │End│ ↓ │PgD│ │
* ├───┴───┼───┤TOG│
* │Insert │Del│ │
* └───────┴───┘───┘
*/
[1] = LAYOUT_numpad_6x4(
QK_BOOT, RGB_MOD, _______, _______,
_______, RGB_HUD, RGB_HUI, RGB_VAD,
KC_HOME, KC_UP, KC_PGUP,
KC_LEFT, RGB_M_SW, KC_RGHT, RGB_VAI,
KC_END, KC_DOWN, KC_PGDN,
KC_INS, KC_DEL, RGB_TOG
)
};