mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 20:18:49 +06:00
100 lines
3.5 KiB
C
100 lines
3.5 KiB
C
// Copyright 2023 QMK
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
/*******************************************************************************
|
|
88888888888 888 d8b .d888 d8b 888 d8b
|
|
888 888 Y8P d88P" Y8P 888 Y8P
|
|
888 888 888 888
|
|
888 88888b. 888 .d8888b 888888 888 888 .d88b. 888 .d8888b
|
|
888 888 "88b 888 88K 888 888 888 d8P Y8b 888 88K
|
|
888 888 888 888 "Y8888b. 888 888 888 88888888 888 "Y8888b.
|
|
888 888 888 888 X88 888 888 888 Y8b. 888 X88
|
|
888 888 888 888 88888P' 888 888 888 "Y8888 888 88888P'
|
|
888 888
|
|
888 888
|
|
888 888
|
|
.d88b. .d88b. 88888b. .d88b. 888d888 8888b. 888888 .d88b. .d88888
|
|
d88P"88b d8P Y8b 888 "88b d8P Y8b 888P" "88b 888 d8P Y8b d88" 888
|
|
888 888 88888888 888 888 88888888 888 .d888888 888 88888888 888 888
|
|
Y88b 888 Y8b. 888 888 Y8b. 888 888 888 Y88b. Y8b. Y88b 888
|
|
"Y88888 "Y8888 888 888 "Y8888 888 "Y888888 "Y888 "Y8888 "Y88888
|
|
888
|
|
Y8b d88P
|
|
"Y88P"
|
|
*******************************************************************************/
|
|
|
|
#pragma once
|
|
#include "keymap.h"
|
|
// clang-format off
|
|
|
|
// Aliases
|
|
#define WK_GRV KC_GRV // `
|
|
#define WK_1 KC_1 // 1
|
|
#define WK_2 KC_2 // 2
|
|
#define WK_3 KC_3 // 3
|
|
#define WK_4 KC_4 // 4
|
|
#define WK_5 KC_5 // 5
|
|
#define WK_6 KC_6 // 6
|
|
#define WK_7 KC_7 // 7
|
|
#define WK_8 KC_8 // 8
|
|
#define WK_9 KC_9 // 9
|
|
#define WK_0 KC_0 // 0
|
|
#define WK_MINS KC_MINS // -
|
|
#define WK_EQL KC_EQL // =
|
|
#define WK_Q KC_Q // Q
|
|
#define WK_D KC_W // D
|
|
#define WK_R KC_E // R
|
|
#define WK_W KC_R // W
|
|
#define WK_B KC_T // B
|
|
#define WK_J KC_Y // J
|
|
#define WK_F KC_U // F
|
|
#define WK_U KC_I // U
|
|
#define WK_P KC_O // P
|
|
#define WK_SCLN KC_P // ;
|
|
#define WK_LBRC KC_LBRC // [
|
|
#define WK_RBRC KC_RBRC // ]
|
|
#define WK_BSLS KC_BSLS // (backslash)
|
|
#define WK_A KC_A // A
|
|
#define WK_S KC_S // S
|
|
#define WK_H KC_D // H
|
|
#define WK_T KC_F // T
|
|
#define WK_G KC_G // G
|
|
#define WK_Y KC_H // Y
|
|
#define WK_N KC_J // N
|
|
#define WK_E KC_K // E
|
|
#define WK_O KC_L // O
|
|
#define WK_I KC_SCLN // I
|
|
#define WK_QUOT KC_QUOT // '
|
|
#define WK_Z KC_Z // Z
|
|
#define WK_X KC_X // X
|
|
#define WK_M KC_C // M
|
|
#define WK_C KC_V // C
|
|
#define WK_V KC_B // V
|
|
#define WK_K KC_N // K
|
|
#define WK_L KC_M // L
|
|
#define WK_COMM KC_COMM // ,
|
|
#define WK_DOT KC_DOT // .
|
|
#define WK_SLSH KC_SLSH // /
|
|
#define WK_TILD S(WK_GRV) // ~
|
|
#define WK_EXLM S(WK_1) // !
|
|
#define WK_AT S(WK_2) // @
|
|
#define WK_HASH S(WK_3) // #
|
|
#define WK_DLR S(WK_4) // $
|
|
#define WK_PERC S(WK_5) // %
|
|
#define WK_CIRC S(WK_6) // ^
|
|
#define WK_AMPR S(WK_7) // &
|
|
#define WK_ASTR S(WK_8) // *
|
|
#define WK_LPRN S(WK_9) // (
|
|
#define WK_RPRN S(WK_0) // )
|
|
#define WK_UNDS S(WK_MINS) // _
|
|
#define WK_PLUS S(WK_EQL) // +
|
|
#define WK_COLN S(WK_SCLN) // :
|
|
#define WK_LCBR S(WK_LBRC) // {
|
|
#define WK_RCBR S(WK_RBRC) // }
|
|
#define WK_PIPE S(WK_BSLS) // |
|
|
#define WK_DQUO S(WK_QUOT) // "
|
|
#define WK_LABK S(WK_COMM) // <
|
|
#define WK_RABK S(WK_DOT) // >
|
|
#define WK_QUES S(WK_SLSH) // ?
|
|
|