summaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_norman.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-03-16 07:38:05 +1100
committerGitHub <noreply@github.com>2020-03-16 07:38:05 +1100
commit4b1430fd0944461bb9abcf688bfe8bf51fa3eb8a (patch)
treedd126744321640f470bf19cc18922e166ea8cf1f /quantum/keymap_extras/keymap_norman.h
parentf1c6fa38950405f24b98702846a018c0cb4066af (diff)
downloadqmk_firmware-4b1430fd0944461bb9abcf688bfe8bf51fa3eb8a.tar.gz
qmk_firmware-4b1430fd0944461bb9abcf688bfe8bf51fa3eb8a.zip
Update Norman keymap and sendstring LUT (#8404)
Diffstat (limited to 'quantum/keymap_extras/keymap_norman.h')
-rw-r--r--quantum/keymap_extras/keymap_norman.h138
1 files changed, 105 insertions, 33 deletions
diff --git a/quantum/keymap_extras/keymap_norman.h b/quantum/keymap_extras/keymap_norman.h
index e0f246f823..45727467bc 100644
--- a/quantum/keymap_extras/keymap_norman.h
+++ b/quantum/keymap_extras/keymap_norman.h
@@ -1,4 +1,3 @@
-
/* Copyright 2019 Torben Hoffmann
*
* This program is free software: you can redistribute it and/or modify
@@ -14,40 +13,113 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
#pragma once
#include "keymap.h"
-// For software implementation of norman
-#define NM_Q KC_Q
-#define NM_W KC_W
-#define NM_D KC_E
-#define NM_F KC_R
-#define NM_K KC_T
-#define NM_J KC_Y
-#define NM_U KC_U
-#define NM_R KC_I
-#define NM_L KC_O
-#define NM_SCLN KC_P
-#define NM_COLN LSFT(NM_SCLN)
-#define NM_A KC_A
-#define NM_S KC_S
-#define NM_E KC_D
-#define NM_T KC_F
-#define NM_G KC_G
-#define NM_Y KC_H
-#define NM_N KC_J
-#define NM_I KC_K
-#define NM_O KC_L
-#define NM_H KC_SCLN
+// clang-format off
-#define NM_Z KC_Z
-#define NM_X KC_X
-#define NM_C KC_C
-#define NM_V KC_V
-#define NM_B KC_B
-#define NM_P KC_N
-#define NM_M KC_M
-#define NM_COMM KC_COMM
-#define NM_DOT KC_DOT
-#define NM_SLSH KC_SLSH
+/*
+ * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
+ * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │       │
+ * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
+ * │     │ Q │ W │ D │ F │ K │ J │ U │ R │ L │ ; │ [ │ ] │  \  │
+ * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
+ * │      │ A │ S │ E │ T │ G │ Y │ N │ I │ O │ H │ ' │        │
+ * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
+ * │        │ Z │ X │ C │ V │ B │ P │ M │ , │ . │ / │          │
+ * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
+ * │    │    │    │                        │    │    │    │    │
+ * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
+ */
+// Row 1
+#define NM_GRV KC_GRV // `
+#define NM_1 KC_1 // 1
+#define NM_2 KC_2 // 2
+#define NM_3 KC_3 // 3
+#define NM_4 KC_4 // 4
+#define NM_5 KC_5 // 5
+#define NM_6 KC_6 // 6
+#define NM_7 KC_7 // 7
+#define NM_8 KC_8 // 8
+#define NM_9 KC_9 // 9
+#define NM_0 KC_0 // 0
+#define NM_MINS KC_MINS // -
+#define NM_EQL KC_EQL // =
+// Row 2
+#define NM_Q KC_Q // Q
+#define NM_W KC_W // W
+#define NM_D KC_E // D
+#define NM_F KC_R // F
+#define NM_K KC_T // K
+#define NM_J KC_Y // J
+#define NM_U KC_U // U
+#define NM_R KC_I // R
+#define NM_L KC_O // L
+#define NM_SCLN KC_P // ;
+#define NM_LBRC KC_LBRC // [
+#define NM_RBRC KC_RBRC // ]
+#define NM_BSLS KC_BSLS // (backslash)
+// Row 3
+#define NM_A KC_A // A
+#define NM_S KC_S // S
+#define NM_E KC_D // E
+#define NM_T KC_F // T
+#define NM_G KC_G // G
+#define NM_Y KC_H // Y
+#define NM_N KC_J // N
+#define NM_I KC_K // I
+#define NM_O KC_L // O
+#define NM_H KC_SCLN // H
+#define NM_QUOT KC_QUOT // '
+// Row 4
+#define NM_Z KC_Z // Z
+#define NM_X KC_X // X
+#define NM_C KC_C // C
+#define NM_V KC_V // V
+#define NM_B KC_B // B
+#define NM_P KC_N // P
+#define NM_M KC_M // M
+#define NM_COMM KC_COMM // ,
+#define NM_DOT KC_DOT // .
+#define NM_SLSH KC_SLSH // /
+
+/* Shifted symbols
+ * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
+ * │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │       │
+ * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
+ * │     │   │   │   │   │   │   │   │   │   │ ; │ { │ } │  |  │
+ * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
+ * │      │   │   │   │   │   │   │   │   │   │   │ " │        │
+ * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
+ * │        │   │   │   │   │   │   │   │ < │ > │ ? │          │
+ * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
+ * │    │    │    │                        │    │    │    │    │
+ * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
+ */
+// Row 1
+#define NM_TILD S(NM_GRV) // ~
+#define NM_EXLM S(NM_1) // !
+#define NM_AT S(NM_2) // @
+#define NM_HASH S(NM_3) // #
+#define NM_DLR S(NM_4) // $
+#define NM_PERC S(NM_5) // %
+#define NM_CIRC S(NM_6) // ^
+#define NM_AMPR S(NM_7) // &
+#define NM_ASTR S(NM_8) // *
+#define NM_LPRN S(NM_9) // (
+#define NM_RPRN S(NM_0) // )
+#define NM_UNDS S(NM_MINS) // _
+#define NM_PLUS S(NM_EQL) // +
+// Row 2
+#define NM_COLN S(NM_SCLN) // :
+#define NM_LCBR S(NM_LBRC) // {
+#define NM_RCBR S(NM_RBRC) // }
+#define NM_PIPE S(NM_BSLS) // |
+// Row 3
+#define NM_DQUO S(NM_QUOT) // "
+// Row 4
+#define NM_LABK S(NM_COMM) // <
+#define NM_RABK S(NM_DOT) // >
+#define NM_QUES S(NM_SLSH) // ?