mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 18:48:05 +06:00
119 lines
4.3 KiB
C
119 lines
4.3 KiB
C
// Copyright 2024 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 "keycodes.h"
|
||
// clang-format off
|
||
|
||
// Aliases
|
||
#define GR_GRV KC_GRV // `
|
||
#define GR_1 KC_1 // 1
|
||
#define GR_2 KC_2 // 2
|
||
#define GR_3 KC_3 // 3
|
||
#define GR_4 KC_4 // 4
|
||
#define GR_5 KC_5 // 5
|
||
#define GR_6 KC_6 // 6
|
||
#define GR_7 KC_7 // 7
|
||
#define GR_8 KC_8 // 8
|
||
#define GR_9 KC_9 // 9
|
||
#define GR_0 KC_0 // 0
|
||
#define GR_MINS KC_MINS // -
|
||
#define GR_EQL KC_EQL // =
|
||
#define GR_SCLN KC_Q // ;
|
||
#define GR_FSIG KC_W // ς
|
||
#define GR_EPSL KC_E // Ε
|
||
#define GR_RHO KC_R // Ρ
|
||
#define GR_TAU KC_T // Τ
|
||
#define GR_UPSL KC_Y // Υ
|
||
#define GR_THET KC_U // Θ
|
||
#define GR_IOTA KC_I // Ι
|
||
#define GR_OMCR KC_O // Ο
|
||
#define GR_PI KC_P // Π
|
||
#define GR_LBRC KC_LBRC // [
|
||
#define GR_RBRC KC_RBRC // ]
|
||
#define GR_ALPH KC_A // Α
|
||
#define GR_SIGM KC_S // Σ
|
||
#define GR_DELT KC_D // Δ
|
||
#define GR_PHI KC_F // Φ
|
||
#define GR_GAMM KC_G // Γ
|
||
#define GR_ETA KC_H // Η
|
||
#define GR_XI KC_J // Ξ
|
||
#define GR_KAPP KC_K // Κ
|
||
#define GR_LAMB KC_L // Λ
|
||
#define GR_TONS KC_SCLN // ΄ (dead)
|
||
#define GR_QUOT KC_QUOT // '
|
||
#define GR_BSLS KC_NUHS // (backslash)
|
||
#define GR_ZETA KC_Z // Ζ
|
||
#define GR_CHI KC_X // Χ
|
||
#define GR_PSI KC_C // Ψ
|
||
#define GR_OMEG KC_V // Ω
|
||
#define GR_BETA KC_B // Β
|
||
#define GR_NU KC_N // Ν
|
||
#define GR_MU KC_M // Μ
|
||
#define GR_COMM KC_COMM // ,
|
||
#define GR_DOT KC_DOT // .
|
||
#define GR_SLSH KC_SLSH // /
|
||
#define GR_TILD S(GR_GRV) // ~
|
||
#define GR_EXLM S(GR_1) // !
|
||
#define GR_AT S(GR_2) // @
|
||
#define GR_HASH S(GR_3) // #
|
||
#define GR_DLR S(GR_4) // $
|
||
#define GR_PERC S(GR_5) // %
|
||
#define GR_CIRC S(GR_6) // ^
|
||
#define GR_AMPR S(GR_7) // &
|
||
#define GR_ASTR S(GR_8) // *
|
||
#define GR_LPRN S(GR_9) // (
|
||
#define GR_RPRN S(GR_0) // )
|
||
#define GR_UNDS S(GR_MINS) // _
|
||
#define GR_PLUS S(GR_EQL) // +
|
||
#define GR_COLN S(GR_SCLN) // :
|
||
#define GR_DIAT S(GR_FSIG) // ΅ (dead)
|
||
#define GR_LCBR S(GR_LBRC) // {
|
||
#define GR_RCBR S(GR_RBRC) // }
|
||
#define GR_DIAE S(GR_TONS) // ¨ (dead)
|
||
#define GR_DQUO S(GR_QUOT) // "
|
||
#define GR_PIPE S(GR_BSLS) // |
|
||
#define GR_LABK S(GR_COMM) // <
|
||
#define GR_RABK S(GR_DOT) // >
|
||
#define GR_QUES S(GR_SLSH) // ?
|
||
#define GR_SUP2 ALGR(GR_2) // ²
|
||
#define GR_SUP3 ALGR(GR_3) // ³
|
||
#define GR_PND ALGR(GR_4) // £
|
||
#define GR_SECT ALGR(GR_5) // §
|
||
#define GR_PILC ALGR(GR_6) // ¶
|
||
#define GR_CURR ALGR(GR_8) // ¤
|
||
#define GR_BRKP ALGR(GR_9) // ¦
|
||
#define GR_DEG ALGR(GR_0) // °
|
||
#define GR_PLMN ALGR(GR_MINS) // ±
|
||
#define GR_HALF ALGR(GR_EQL) // ½
|
||
#define GR_EURO ALGR(GR_EPSL) // €
|
||
#define GR_REGD ALGR(GR_RHO) // ®
|
||
#define GR_YEN ALGR(GR_UPSL) // ¥
|
||
#define GR_LDAQ ALGR(GR_LBRC) // «
|
||
#define GR_RDAQ ALGR(GR_RBRC) // »
|
||
#define GR_NOT ALGR(GR_BSLS) // ¬
|
||
#define GR_COPY ALGR(GR_PSI) // ©
|
||
|