summaryrefslogtreecommitdiff
path: root/keyboards/evyd13/nt210/keymaps
diff options
context:
space:
mode:
authorEvelien Dekkers <sixmoonskies@gmail.com>2022-03-26 02:06:03 +0100
committerGitHub <noreply@github.com>2022-03-25 18:06:03 -0700
commit084df6a288503709ddde2bfa0d64e1677fe32b29 (patch)
treed32a5dd5286d20588933462fe0ec2fd9a158ffdf /keyboards/evyd13/nt210/keymaps
parent7e0dde1f0009bc47430091736d7893148876b4ec (diff)
[Keyboard] Add nt210 (#16461)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/evyd13/nt210/keymaps')
-rw-r--r--keyboards/evyd13/nt210/keymaps/default/keymap.c21
-rw-r--r--keyboards/evyd13/nt210/keymaps/via/keymap.c48
-rw-r--r--keyboards/evyd13/nt210/keymaps/via/rules.mk2
3 files changed, 71 insertions, 0 deletions
diff --git a/keyboards/evyd13/nt210/keymaps/default/keymap.c b/keyboards/evyd13/nt210/keymaps/default/keymap.c
new file mode 100644
index 0000000000..6d1ba734a8
--- /dev/null
+++ b/keyboards/evyd13/nt210/keymaps/default/keymap.c
@@ -0,0 +1,21 @@
+// Copyright 2022 Evelien Dekkers (@evyd13)
+// 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] = {
+
+[_BASE] = LAYOUT_ortho_6x4(
+ KC_ESC, KC_TAB, KC_EQL, KC_BSPC,
+ KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
+ KC_P7, KC_P8, KC_P9, KC_PPLS,
+ KC_P4, KC_P5, KC_P6, KC_NO,
+ KC_P1, KC_P2, KC_P3, KC_PENT,
+ KC_P0, KC_NO, KC_PDOT, KC_NO),
+
+};
diff --git a/keyboards/evyd13/nt210/keymaps/via/keymap.c b/keyboards/evyd13/nt210/keymaps/via/keymap.c
new file mode 100644
index 0000000000..065fcd3a0b
--- /dev/null
+++ b/keyboards/evyd13/nt210/keymaps/via/keymap.c
@@ -0,0 +1,48 @@
+// Copyright 2022 Evelien Dekkers (@evyd13)
+// 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,
+ _FN1,
+ _FN2,
+ _FN3,
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+[_BASE] = LAYOUT_ortho_6x4(
+ KC_ESC, KC_TAB, KC_EQL, KC_BSPC,
+ KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
+ KC_P7, KC_P8, KC_P9, KC_PPLS,
+ KC_P4, KC_P5, KC_P6, KC_NO,
+ KC_P1, KC_P2, KC_P3, KC_PENT,
+ KC_P0, KC_NO, KC_PDOT, KC_NO),
+
+[_FN1] = LAYOUT_ortho_6x4(
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______),
+
+[_FN2] = LAYOUT_ortho_6x4(
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______),
+
+[_FN3] = LAYOUT_ortho_6x4(
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______,
+ _______, _______, _______, _______),
+
+}; \ No newline at end of file
diff --git a/keyboards/evyd13/nt210/keymaps/via/rules.mk b/keyboards/evyd13/nt210/keymaps/via/rules.mk
new file mode 100644
index 0000000000..36b7ba9cbc
--- /dev/null
+++ b/keyboards/evyd13/nt210/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes