qmk-keychron-q3-colemak-dh/keyboards/mini_ten_key_plus/keymaps/standard_numpad/keymap.c

33 lines
917 B
C
Raw Normal View History

// Copyright 2021 minibois (@minibois)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap _BASE: (Base Layer) Default Layer
* ,-------------------.
* |Esc|Cal| / | * | - |
* |--------------------
* | BS| 7 | 8 | 9 | + |
* |---------------- |
* | ( | 4 | 5 | 6 | |
* |--------------------
* | ) | 1 | 2 | 3 |Ent|
* |---------------- |
* | Y | 0 | . | |
* `-------------------'
*/
[_BASE] = LAYOUT_standard_numpad(
KC_ESC, KC_CALC, KC_PSLS, KC_PAST, KC_PMNS,
KC_BSPC, KC_P7, KC_P8, KC_P9,
KC_LEFT_PAREN, KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_RIGHT_PAREN, KC_P1, KC_P2, KC_P3,
KC_Y, KC_P0, KC_PDOT, KC_PENT
)
};