summaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_dvorak_programmer.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-12-21 23:35:23 +0000
committerGitHub <noreply@github.com>2022-12-21 23:35:23 +0000
commite5721bbd37fcb0372fd007caae5a3f2aed060479 (patch)
tree68bfcddfb400d00cbbea3d14e5a3b1c90492218c /quantum/keymap_extras/keymap_dvorak_programmer.h
parent89b72017a014ca4810790831030c88054129f21c (diff)
Remaining DD keymap_extras migration (#19110)
* Parse headers to data * Regen headers from data
Diffstat (limited to 'quantum/keymap_extras/keymap_dvorak_programmer.h')
-rw-r--r--quantum/keymap_extras/keymap_dvorak_programmer.h77
1 files changed, 25 insertions, 52 deletions
diff --git a/quantum/keymap_extras/keymap_dvorak_programmer.h b/quantum/keymap_extras/keymap_dvorak_programmer.h
index 6de7033cb4..b6e754e3d0 100644
--- a/quantum/keymap_extras/keymap_dvorak_programmer.h
+++ b/quantum/keymap_extras/keymap_dvorak_programmer.h
@@ -1,39 +1,33 @@
1/* Copyright 2016 Artyom Mironov 1// Copyright 2022 QMK
2 * 2// SPDX-License-Identifier: GPL-2.0-or-later
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16 3
17#pragma once 4/*******************************************************************************
5 88888888888 888 d8b .d888 d8b 888 d8b
6 888 888 Y8P d88P" Y8P 888 Y8P
7 888 888 888 888
8 888 88888b. 888 .d8888b 888888 888 888 .d88b. 888 .d8888b
9 888 888 "88b 888 88K 888 888 888 d8P Y8b 888 88K
10 888 888 888 888 "Y8888b. 888 888 888 88888888 888 "Y8888b.
11 888 888 888 888 X88 888 888 888 Y8b. 888 X88
12 888 888 888 888 88888P' 888 888 888 "Y8888 888 88888P'
13 888 888
14 888 888
15 888 888
16 .d88b. .d88b. 88888b. .d88b. 888d888 8888b. 888888 .d88b. .d88888
17 d88P"88b d8P Y8b 888 "88b d8P Y8b 888P" "88b 888 d8P Y8b d88" 888
18 888 888 88888888 888 888 88888888 888 .d888888 888 88888888 888 888
19 Y88b 888 Y8b. 888 888 Y8b. 888 888 888 Y88b. Y8b. Y88b 888
20 "Y88888 "Y8888 888 888 "Y8888 888 "Y888888 "Y888 "Y8888 "Y88888
21 888
22 Y8b d88P
23 "Y88P"
24*******************************************************************************/
18 25
26#pragma once
19#include "keymap.h" 27#include "keymap.h"
20
21// clang-format off 28// clang-format off
22 29
23/* 30// Aliases
24 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
25 * │ $ │ & │ [ │ { │ } │ ( │ = │ * │ ) │ + │ ] │ ! │ # │ │
26 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
27 * │ │ ; │ , │ . │ P │ Y │ F │ G │ C │ R │ L │ / │ @ │ \ │
28 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
29 * │ │ A │ O │ E │ U │ I │ D │ H │ T │ N │ S │ - │ │
30 * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
31 * │ │ ' │ Q │ J │ K │ X │ B │ M │ W │ V │ Z │ │
32 * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
33 * │ │ │ │ │ │ │ │ │
34 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
35 */
36// Row 1
37#define DP_DLR KC_GRV // $ 31#define DP_DLR KC_GRV // $
38#define DP_AMPR KC_1 // & 32#define DP_AMPR KC_1 // &
39#define DP_LBRC KC_2 // [ 33#define DP_LBRC KC_2 // [
@@ -47,7 +41,6 @@
47#define DP_RBRC KC_0 // ] 41#define DP_RBRC KC_0 // ]
48#define DP_EXLM KC_MINS // ! 42#define DP_EXLM KC_MINS // !
49#define DP_HASH KC_EQL // # 43#define DP_HASH KC_EQL // #
50// Row 2
51#define DP_SCLN KC_Q // ; 44#define DP_SCLN KC_Q // ;
52#define DP_COMM KC_W // , 45#define DP_COMM KC_W // ,
53#define DP_DOT KC_E // . 46#define DP_DOT KC_E // .
@@ -61,7 +54,6 @@
61#define DP_SLSH KC_LBRC // / 54#define DP_SLSH KC_LBRC // /
62#define DP_AT KC_RBRC // @ 55#define DP_AT KC_RBRC // @
63#define DP_BSLS KC_BSLS // (backslash) 56#define DP_BSLS KC_BSLS // (backslash)
64// Row 3
65#define DP_A KC_A // A 57#define DP_A KC_A // A
66#define DP_O KC_S // O 58#define DP_O KC_S // O
67#define DP_E KC_D // E 59#define DP_E KC_D // E
@@ -73,7 +65,6 @@
73#define DP_N KC_L // N 65#define DP_N KC_L // N
74#define DP_S KC_SCLN // S 66#define DP_S KC_SCLN // S
75#define DP_MINS KC_QUOT // - 67#define DP_MINS KC_QUOT // -
76// Row 4
77#define DP_QUOT KC_Z // ' 68#define DP_QUOT KC_Z // '
78#define DP_Q KC_X // Q 69#define DP_Q KC_X // Q
79#define DP_J KC_C // J 70#define DP_J KC_C // J
@@ -84,21 +75,6 @@
84#define DP_W KC_COMM // W 75#define DP_W KC_COMM // W
85#define DP_V KC_DOT // V 76#define DP_V KC_DOT // V
86#define DP_Z KC_SLSH // Z 77#define DP_Z KC_SLSH // Z
87
88/* Shifted symbols
89 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
90 * │ ~ │ % │ 7 │ 5 │ 3 │ 1 │ 9 │ 0 │ 2 │ 4 │ 6 │ 8 │ ` │ │
91 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
92 * │ │ : │ < │ > │ │ │ │ │ │ │ │ ? │ ^ │ | │
93 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
94 * │ │ │ │ │ │ │ │ │ │ │ │ _ │ │
95 * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
96 * │ │ " │ │ │ │ │ │ │ │ │ │ │
97 * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
98 * │ │ │ │ │ │ │ │ │
99 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
100 */
101// Row 1
102#define DP_TILD S(DP_DLR) // ~ 78#define DP_TILD S(DP_DLR) // ~
103#define DP_PERC S(DP_AMPR) // % 79#define DP_PERC S(DP_AMPR) // %
104#define DP_7 S(DP_LBRC) // 7 80#define DP_7 S(DP_LBRC) // 7
@@ -112,14 +88,11 @@
112#define DP_6 S(DP_RBRC) // 6 88#define DP_6 S(DP_RBRC) // 6
113#define DP_8 S(DP_EXLM) // 8 89#define DP_8 S(DP_EXLM) // 8
114#define DP_GRV S(DP_HASH) // ` 90#define DP_GRV S(DP_HASH) // `
115// Row 2
116#define DP_COLN S(DP_SCLN) // : 91#define DP_COLN S(DP_SCLN) // :
117#define DP_LABK S(DP_COMM) // < 92#define DP_LABK S(DP_COMM) // <
118#define DP_RABK S(DP_DOT) // > 93#define DP_RABK S(DP_DOT) // >
119#define DP_QUES S(DP_SLSH) // ? 94#define DP_QUES S(DP_SLSH) // ?
120#define DP_CIRC S(DP_AT) // ^ 95#define DP_CIRC S(DP_AT) // ^
121#define DP_PIPE S(DP_BSLS) // | 96#define DP_PIPE S(DP_BSLS) // |
122// Row 3
123#define DP_UNDS S(DP_MINS) // _ 97#define DP_UNDS S(DP_MINS) // _
124// Row 4
125#define DP_DQUO S(DP_QUOT) // " 98#define DP_DQUO S(DP_QUOT) // "