summaryrefslogtreecommitdiff
path: root/keyboards/mini_ten_key_plus/keymaps/standard_numpad/keymap.c
blob: cc3fa03da1e1c8fc3dba4440712b58324a5ade8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// 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
    )
};