summaryrefslogtreecommitdiff
path: root/keyboards/chord/zero/keymaps
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2022-08-29 11:39:45 +0700
committerGitHub <noreply@github.com>2022-08-28 21:39:45 -0700
commit38de991fda2bdb813b2acd067762a22c59607207 (patch)
tree0bf1e25df67a2587c3c3fd4072f3bd59986878ed /keyboards/chord/zero/keymaps
parent8b9f0a58b4a100bbae0fabeaa4ee29f2955d3dbf (diff)
[Keyboard] Add chord/zero (#18190)
Diffstat (limited to 'keyboards/chord/zero/keymaps')
-rw-r--r--keyboards/chord/zero/keymaps/default/keymap.c25
-rw-r--r--keyboards/chord/zero/keymaps/default/rules.mk1
2 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/chord/zero/keymaps/default/keymap.c b/keyboards/chord/zero/keymaps/default/keymap.c
new file mode 100644
index 0000000000..a394893e1b
--- /dev/null
+++ b/keyboards/chord/zero/keymaps/default/keymap.c
@@ -0,0 +1,25 @@
+// Copyright (c) 2022 Simon Hengel <sol@typeful.net>
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+#include "keymap_steno.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_zero(
+ STN_FN, STN_S1, STN_TL, STN_PL, STN_HL, STN_ST1, STN_ST3, STN_FR, STN_PR, STN_LR, STN_TR, STN_DR,
+ STN_PWR, STN_S2, STN_KL, STN_WL, STN_RL, STN_ST2, STN_ST4, STN_RR, STN_BR, STN_GR, STN_SR, STN_ZR,
+ STN_N1, STN_A, STN_O, STN_E, STN_U, STN_N7
+ )
+};
+
+const uint16_t PROGMEM bootloader_combo[] = {
+ keymaps[0][0][0], keymaps[0][4][0],
+ keymaps[0][1][0], keymaps[0][5][0],
+ keymaps[0][3][3], keymaps[0][7][3]
+, COMBO_END };
+
+combo_t key_combos[] = {
+ COMBO(bootloader_combo, QK_BOOTLOADER),
+};
+
+uint16_t COMBO_LEN = sizeof(key_combos) / sizeof(key_combos[0]);
diff --git a/keyboards/chord/zero/keymaps/default/rules.mk b/keyboards/chord/zero/keymaps/default/rules.mk
new file mode 100644
index 0000000000..ab1e438182
--- /dev/null
+++ b/keyboards/chord/zero/keymaps/default/rules.mk
@@ -0,0 +1 @@
+COMBO_ENABLE = yes