123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- /* Copyright 2019 Torben Hoffmann
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * 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"
- // clang-format off
- /*
- * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
- * │ ` │ 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) // ?
|