summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-26 01:06:29 +0000
committerQMK Bot <hello@qmk.fm>2022-03-26 01:06:29 +0000
commit71ffb41c9b7c87cbeb2b19bac058717436bcda23 (patch)
treec259b6518237af727b408bba1caac674fcd0776e
parent1fabad1cec5b773c86b5516ad52d8989d1b67251 (diff)
parent084df6a288503709ddde2bfa0d64e1677fe32b29 (diff)
downloadqmk_firmware-71ffb41c9b7c87cbeb2b19bac058717436bcda23.tar.gz
qmk_firmware-71ffb41c9b7c87cbeb2b19bac058717436bcda23.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/evyd13/nt210/config.h20
-rw-r--r--keyboards/evyd13/nt210/info.json84
-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
-rw-r--r--keyboards/evyd13/nt210/readme.md27
-rw-r--r--keyboards/evyd13/nt210/rules.mk1
7 files changed, 203 insertions, 0 deletions
diff --git a/keyboards/evyd13/nt210/config.h b/keyboards/evyd13/nt210/config.h
new file mode 100644
index 0000000000..2155d337a8
--- /dev/null
+++ b/keyboards/evyd13/nt210/config.h
@@ -0,0 +1,20 @@
+// Copyright 2022 Evelien Dekkers (@evyd13)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
diff --git a/keyboards/evyd13/nt210/info.json b/keyboards/evyd13/nt210/info.json
new file mode 100644
index 0000000000..c467ae33a1
--- /dev/null
+++ b/keyboards/evyd13/nt210/info.json
@@ -0,0 +1,84 @@
+{
+ "manufacturer": "Evelien Dekkers",
+ "keyboard_name": "nt210",
+ "maintainer": "evyd13",
+ "bootloader": "atmel-dfu",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true
+ },
+ "matrix_pins": {
+ "cols": ["B0", "D6", "D5", "D4"],
+ "rows": ["C4", "C5", "C6", "C7", "B7", "B6"]
+ },
+ "processor": "atmega32u2",
+ "url": "https://github.com/evyd13/nt-series/tree/main/nt-210",
+ "usb": {
+ "device_version": "1.0.0",
+ "pid": "0x4705",
+ "vid": "0xCC3F"
+ },
+ "indicators": {
+ "num_lock": "B4"
+ },
+ "layouts": {
+ "LAYOUT_numpad_6x4": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0 },
+ { "matrix": [0, 1], "x": 1, "y": 0 },
+ { "matrix": [0, 2], "x": 2, "y": 0 },
+ { "matrix": [0, 3], "x": 3, "y": 0 },
+ { "matrix": [1, 0], "x": 0, "y": 1.5 },
+ { "matrix": [1, 1], "x": 1, "y": 1.5 },
+ { "matrix": [1, 2], "x": 2, "y": 1.5 },
+ { "matrix": [1, 3], "x": 3, "y": 1.5 },
+ { "matrix": [2, 0], "x": 0, "y": 2.5 },
+ { "matrix": [2, 1], "x": 1, "y": 2.5 },
+ { "matrix": [2, 2], "x": 2, "y": 2.5 },
+ { "h": 2, "matrix": [2, 3], "x": 3, "y": 2.5 },
+ { "matrix": [3, 0], "x": 0, "y": 3.5 },
+ { "matrix": [3, 1], "x": 1, "y": 3.5 },
+ { "matrix": [3, 2], "x": 2, "y": 3.5 },
+ { "matrix": [4, 0], "x": 0, "y": 4.5 },
+ { "matrix": [4, 1], "x": 1, "y": 4.5 },
+ { "matrix": [4, 2], "x": 2, "y": 4.5 },
+ { "h": 2, "matrix": [4, 3], "x": 3, "y": 4.5 },
+ { "matrix": [5, 0], "w": 2, "x": 0, "y": 5.5 },
+ { "matrix": [5, 2], "x": 2, "y": 5.5 }
+ ]
+ },
+ "LAYOUT_ortho_6x4": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0 },
+ { "matrix": [0, 1], "x": 1, "y": 0 },
+ { "matrix": [0, 2], "x": 2, "y": 0 },
+ { "matrix": [0, 3], "x": 3, "y": 0 },
+ { "matrix": [1, 0], "x": 0, "y": 1.5 },
+ { "matrix": [1, 1], "x": 1, "y": 1.5 },
+ { "matrix": [1, 2], "x": 2, "y": 1.5 },
+ { "matrix": [1, 3], "x": 3, "y": 1.5 },
+ { "matrix": [2, 0], "x": 0, "y": 2.5 },
+ { "matrix": [2, 1], "x": 1, "y": 2.5 },
+ { "matrix": [2, 2], "x": 2, "y": 2.5 },
+ { "matrix": [2, 3], "x": 3, "y": 2.5 },
+ { "matrix": [3, 0], "x": 0, "y": 3.5 },
+ { "matrix": [3, 1], "x": 1, "y": 3.5 },
+ { "matrix": [3, 2], "x": 2, "y": 3.5 },
+ { "matrix": [3, 3], "x": 3, "y": 3.5 },
+ { "matrix": [4, 0], "x": 0, "y": 4.5 },
+ { "matrix": [4, 1], "x": 1, "y": 4.5 },
+ { "matrix": [4, 2], "x": 2, "y": 4.5 },
+ { "matrix": [4, 3], "x": 3, "y": 4.5 },
+ { "matrix": [5, 0], "x": 0, "y": 5.5 },
+ { "matrix": [5, 1], "x": 1, "y": 5.5 },
+ { "matrix": [5, 2], "x": 2, "y": 5.5 },
+ { "matrix": [5, 3], "x": 3, "y": 5.5 }
+ ]
+ }
+ }
+} \ No newline at end of file
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
diff --git a/keyboards/evyd13/nt210/readme.md b/keyboards/evyd13/nt210/readme.md
new file mode 100644
index 0000000000..b6b7bc940e
--- /dev/null
+++ b/keyboards/evyd13/nt210/readme.md
@@ -0,0 +1,27 @@
+# nt210
+
+![nt120 PCB](https://i.imgur.com/DZAfoOlh.jpg)
+
+A custom PCB for the Leopold FC210TP.
+
+* Keyboard Maintainer: [Evelien Dekkers](https://github.com/evyd13)
+* Hardware Supported: nt-120 PCB
+* Hardware Availability: [Open source on GitHub](https://github.com/evyd13/nt-series/tree/main/nt-210)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make evyd13/nt210:default
+
+Flashing example for this keyboard:
+
+ make evyd13/nt210:default:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
+* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
+* **Keycode in layout**: Press the key mapped to `RESET` if it is available
diff --git a/keyboards/evyd13/nt210/rules.mk b/keyboards/evyd13/nt210/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/evyd13/nt210/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank