summaryrefslogtreecommitdiff
path: root/keyboards/mini_ten_key_plus/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorminibois <themrminimario@gmail.com>2021-12-25 02:27:16 +0100
committerGitHub <noreply@github.com>2021-12-24 17:27:16 -0800
commit17c87710002c3993ce86f8dc6a96c940dedc1da8 (patch)
treef768eb55c417726b10c8a7dd3a76dafc6af16027 /keyboards/mini_ten_key_plus/keymaps/default/keymap.c
parent57a1d04d381e9c71bbd19b21f408cee1a756c1ca (diff)
[Keyboard] Add mini_ten_key_plus (#15568)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/mini_ten_key_plus/keymaps/default/keymap.c')
-rw-r--r--keyboards/mini_ten_key_plus/keymaps/default/keymap.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/mini_ten_key_plus/keymaps/default/keymap.c b/keyboards/mini_ten_key_plus/keymaps/default/keymap.c
new file mode 100644
index 0000000000..dee77629aa
--- /dev/null
+++ b/keyboards/mini_ten_key_plus/keymaps/default/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 | 00| 0 | . |Ent|
+ * `-------------------'
+ */
+ [_BASE] = LAYOUT_all(
+ KC_ESC, KC_CALC, KC_PSLS, KC_PAST, KC_PMNS,
+ KC_BSPC, KC_P7, KC_P8, KC_P9, KC_PPLS,
+ KC_LEFT_PAREN, KC_P4, KC_P5, KC_P6, KC_PPLS,
+ KC_RIGHT_PAREN, KC_P1, KC_P2, KC_P3, KC_PENT,
+ KC_Y, KC_P0, KC_P0, KC_PDOT, KC_PENT
+ )
+};