From 17c87710002c3993ce86f8dc6a96c940dedc1da8 Mon Sep 17 00:00:00 2001 From: minibois Date: Sat, 25 Dec 2021 02:27:16 +0100 Subject: [Keyboard] Add mini_ten_key_plus (#15568) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan --- .../keymaps/standard_numpad/keymap.c | 32 ++++++++++++++++++++++ .../keymaps/standard_numpad/readme.md | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 keyboards/mini_ten_key_plus/keymaps/standard_numpad/keymap.c create mode 100644 keyboards/mini_ten_key_plus/keymaps/standard_numpad/readme.md (limited to 'keyboards/mini_ten_key_plus/keymaps/standard_numpad') diff --git a/keyboards/mini_ten_key_plus/keymaps/standard_numpad/keymap.c b/keyboards/mini_ten_key_plus/keymaps/standard_numpad/keymap.c new file mode 100644 index 0000000000..cc3fa03da1 --- /dev/null +++ b/keyboards/mini_ten_key_plus/keymaps/standard_numpad/keymap.c @@ -0,0 +1,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 + ) +}; diff --git a/keyboards/mini_ten_key_plus/keymaps/standard_numpad/readme.md b/keyboards/mini_ten_key_plus/keymaps/standard_numpad/readme.md new file mode 100644 index 0000000000..2cb470bef8 --- /dev/null +++ b/keyboards/mini_ten_key_plus/keymaps/standard_numpad/readme.md @@ -0,0 +1,2 @@ +# The standard numpad keymap for mini_ten_key_plus +![mini_ten_key_plus](https://imgur.com/x2BUc9J.png) \ No newline at end of file -- cgit v1.2.3