forked from mirrors/qmk_userspace
Update Dvorak, Colemak and Workman keycode aliases (#8217)
* Update Dvorak, Colemak and Workman keycode aliases * Add missing shifted keycode aliases for Workman
This commit is contained in:
parent
2271da00bc
commit
6c8d815f2e
5 changed files with 388 additions and 225 deletions
|
@ -13,88 +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/>.
|
||||
*/
|
||||
#ifndef KEYMAP_DVORAK_H
|
||||
#define KEYMAP_DVORAK_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "keymap.h"
|
||||
|
||||
// Normal characters
|
||||
#define DV_GRV KC_GRV
|
||||
#define DV_1 KC_1
|
||||
#define DV_2 KC_2
|
||||
#define DV_3 KC_3
|
||||
#define DV_4 KC_4
|
||||
#define DV_5 KC_5
|
||||
#define DV_6 KC_6
|
||||
#define DV_7 KC_7
|
||||
#define DV_8 KC_8
|
||||
#define DV_9 KC_9
|
||||
#define DV_0 KC_0
|
||||
#define DV_LBRC KC_MINS
|
||||
#define DV_RBRC KC_EQL
|
||||
// clang-format off
|
||||
|
||||
#define DV_QUOT KC_Q
|
||||
#define DV_COMM KC_W
|
||||
#define DV_DOT KC_E
|
||||
#define DV_P KC_R
|
||||
#define DV_Y KC_T
|
||||
#define DV_F KC_Y
|
||||
#define DV_G KC_U
|
||||
#define DV_C KC_I
|
||||
#define DV_R KC_O
|
||||
#define DV_L KC_P
|
||||
#define DV_SLSH KC_LBRC
|
||||
#define DV_EQL KC_RBRC
|
||||
#define DV_BSLS KC_BSLS
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ [ │ ] │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ ' │ , │ . │ P │ Y │ F │ G │ C │ R │ L │ / │ = │ \ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ A │ O │ E │ U │ I │ D │ H │ T │ N │ S │ - │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ ; │ Q │ J │ K │ X │ B │ M │ W │ V │ Z │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define DV_GRV KC_GRV // `
|
||||
#define DV_1 KC_1 // 1
|
||||
#define DV_2 KC_2 // 2
|
||||
#define DV_3 KC_3 // 3
|
||||
#define DV_4 KC_4 // 4
|
||||
#define DV_5 KC_5 // 5
|
||||
#define DV_6 KC_6 // 6
|
||||
#define DV_7 KC_7 // 7
|
||||
#define DV_8 KC_8 // 8
|
||||
#define DV_9 KC_9 // 9
|
||||
#define DV_0 KC_0 // 0
|
||||
#define DV_LBRC KC_MINS // [
|
||||
#define DV_RBRC KC_EQL // ]
|
||||
// Row 2
|
||||
#define DV_QUOT KC_Q // '
|
||||
#define DV_COMM KC_W // ,
|
||||
#define DV_DOT KC_E // .
|
||||
#define DV_P KC_R // P
|
||||
#define DV_Y KC_T // Y
|
||||
#define DV_F KC_Y // F
|
||||
#define DV_G KC_U // G
|
||||
#define DV_C KC_I // C
|
||||
#define DV_R KC_O // R
|
||||
#define DV_L KC_P // L
|
||||
#define DV_SLSH KC_LBRC // /
|
||||
#define DV_EQL KC_RBRC // =
|
||||
#define DV_BSLS KC_BSLS // (backslash)
|
||||
// Row 3
|
||||
#define DV_A KC_A // A
|
||||
#define DV_O KC_S // O
|
||||
#define DV_E KC_D // E
|
||||
#define DV_U KC_F // U
|
||||
#define DV_I KC_G // I
|
||||
#define DV_D KC_H // D
|
||||
#define DV_H KC_J // H
|
||||
#define DV_T KC_K // T
|
||||
#define DV_N KC_L // N
|
||||
#define DV_S KC_SCLN // S
|
||||
#define DV_MINS KC_QUOT // -
|
||||
// Row 4
|
||||
#define DV_SCLN KC_Z // ;
|
||||
#define DV_Q KC_X // Q
|
||||
#define DV_J KC_C // J
|
||||
#define DV_K KC_V // K
|
||||
#define DV_X KC_B // X
|
||||
#define DV_B KC_N // B
|
||||
#define DV_M KC_M // M
|
||||
#define DV_W KC_COMM // W
|
||||
#define DV_V KC_DOT // V
|
||||
#define DV_Z KC_SLSH // Z
|
||||
|
||||
#define DV_A KC_A
|
||||
#define DV_O KC_S
|
||||
#define DV_E KC_D
|
||||
#define DV_U KC_F
|
||||
#define DV_I KC_G
|
||||
#define DV_D KC_H
|
||||
#define DV_H KC_J
|
||||
#define DV_T KC_K
|
||||
#define DV_N KC_L
|
||||
#define DV_S KC_SCLN
|
||||
#define DV_MINS KC_QUOT
|
||||
|
||||
#define DV_SCLN KC_Z
|
||||
#define DV_Q KC_X
|
||||
#define DV_J KC_C
|
||||
#define DV_K KC_V
|
||||
#define DV_X KC_B
|
||||
#define DV_B KC_N
|
||||
#define DV_M KC_M
|
||||
#define DV_W KC_COMM
|
||||
#define DV_V KC_DOT
|
||||
#define DV_Z KC_SLSH
|
||||
|
||||
// Shifted characters
|
||||
#define DV_TILD LSFT(DV_GRV)
|
||||
#define DV_EXLM LSFT(DV_1)
|
||||
#define DV_AT LSFT(DV_2)
|
||||
#define DV_HASH LSFT(DV_3)
|
||||
#define DV_DLR LSFT(DV_4)
|
||||
#define DV_PERC LSFT(DV_5)
|
||||
#define DV_CIRC LSFT(DV_6)
|
||||
#define DV_AMPR LSFT(DV_7)
|
||||
#define DV_ASTR LSFT(DV_8)
|
||||
#define DV_LPRN LSFT(DV_9)
|
||||
#define DV_RPRN LSFT(DV_0)
|
||||
#define DV_LCBR LSFT(DV_LBRC)
|
||||
#define DV_RCBR LSFT(DV_RBRC)
|
||||
|
||||
#define DV_DQUO LSFT(DV_QUOT)
|
||||
#define DV_LABK LSFT(DV_COMM)
|
||||
#define DV_RABK LSFT(DV_DOT)
|
||||
|
||||
#define DV_QUES LSFT(DV_SLSH)
|
||||
#define DV_PLUS LSFT(DV_EQL)
|
||||
#define DV_PIPE LSFT(DV_BSLS)
|
||||
|
||||
#define DV_UNDS LSFT(DV_MINS)
|
||||
|
||||
#define DV_COLN LSFT(DV_SCLN)
|
||||
|
||||
#endif
|
||||
/* Shifted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ { │ } │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ " │ < │ > │ │ │ │ │ │ │ │ ? │ + │ | │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ _ │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ : │ │ │ │ │ │ │ │ │ │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define DV_TILD S(DV_GRV) // ~
|
||||
#define DV_EXLM S(DV_1) // !
|
||||
#define DV_AT S(DV_2) // @
|
||||
#define DV_HASH S(DV_3) // #
|
||||
#define DV_DLR S(DV_4) // $
|
||||
#define DV_PERC S(DV_5) // %
|
||||
#define DV_CIRC S(DV_6) // ^
|
||||
#define DV_AMPR S(DV_7) // &
|
||||
#define DV_ASTR S(DV_8) // *
|
||||
#define DV_LPRN S(DV_9) // (
|
||||
#define DV_RPRN S(DV_0) // )
|
||||
#define DV_LCBR S(DV_LBRC) // {
|
||||
#define DV_RCBR S(DV_RBRC) // }
|
||||
// Row 2
|
||||
#define DV_DQUO S(DV_QUOT) // "
|
||||
#define DV_LABK S(DV_COMM) // <
|
||||
#define DV_RABK S(DV_DOT) // >
|
||||
#define DV_QUES S(DV_SLSH) // ?
|
||||
#define DV_PLUS S(DV_EQL) // +
|
||||
#define DV_PIPE S(DV_BSLS) // |
|
||||
// Row 3
|
||||
#define DV_UNDS S(DV_MINS) // _
|
||||
// Row 4
|
||||
#define DV_COLN S(DV_SCLN) // :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue