mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 01:47:10 +06:00
111 lines
4.0 KiB
C
111 lines
4.0 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 DK_HALF KC_GRV // ½
|
||
#define DK_1 KC_1 // 1
|
||
#define DK_2 KC_2 // 2
|
||
#define DK_3 KC_3 // 3
|
||
#define DK_4 KC_4 // 4
|
||
#define DK_5 KC_5 // 5
|
||
#define DK_6 KC_6 // 6
|
||
#define DK_7 KC_7 // 7
|
||
#define DK_8 KC_8 // 8
|
||
#define DK_9 KC_9 // 9
|
||
#define DK_0 KC_0 // 0
|
||
#define DK_PLUS KC_MINS // +
|
||
#define DK_ACUT KC_EQL // ´ (dead)
|
||
#define DK_Q KC_Q // Q
|
||
#define DK_W KC_W // W
|
||
#define DK_E KC_E // E
|
||
#define DK_R KC_R // R
|
||
#define DK_T KC_T // T
|
||
#define DK_Y KC_Y // Y
|
||
#define DK_U KC_U // U
|
||
#define DK_I KC_I // I
|
||
#define DK_O KC_O // O
|
||
#define DK_P KC_P // P
|
||
#define DK_ARNG KC_LBRC // Å
|
||
#define DK_DIAE KC_RBRC // ¨ (dead)
|
||
#define DK_A KC_A // A
|
||
#define DK_S KC_S // S
|
||
#define DK_D KC_D // D
|
||
#define DK_F KC_F // F
|
||
#define DK_G KC_G // G
|
||
#define DK_H KC_H // H
|
||
#define DK_J KC_J // J
|
||
#define DK_K KC_K // K
|
||
#define DK_L KC_L // L
|
||
#define DK_AE KC_SCLN // Æ
|
||
#define DK_OSTR KC_QUOT // Ø
|
||
#define DK_QUOT KC_NUHS // '
|
||
#define DK_LABK KC_NUBS // <
|
||
#define DK_Z KC_Z // Z
|
||
#define DK_X KC_X // X
|
||
#define DK_C KC_C // C
|
||
#define DK_V KC_V // V
|
||
#define DK_B KC_B // B
|
||
#define DK_N KC_N // N
|
||
#define DK_M KC_M // M
|
||
#define DK_COMM KC_COMM // ,
|
||
#define DK_DOT KC_DOT // .
|
||
#define DK_MINS KC_SLSH // -
|
||
#define DK_SECT S(DK_HALF) // §
|
||
#define DK_EXLM S(DK_1) // !
|
||
#define DK_DQUO S(DK_2) // "
|
||
#define DK_HASH S(DK_3) // #
|
||
#define DK_CURR S(DK_4) // ¤
|
||
#define DK_PERC S(DK_5) // %
|
||
#define DK_AMPR S(DK_6) // &
|
||
#define DK_SLSH S(DK_7) // /
|
||
#define DK_LPRN S(DK_8) // (
|
||
#define DK_RPRN S(DK_9) // )
|
||
#define DK_EQL S(DK_0) // =
|
||
#define DK_QUES S(DK_PLUS) // ?
|
||
#define DK_GRV S(DK_ACUT) // ` (dead)
|
||
#define DK_CIRC S(DK_DIAE) // ^ (dead)
|
||
#define DK_ASTR S(DK_QUOT) // *
|
||
#define DK_RABK S(DK_LABK) // >
|
||
#define DK_SCLN S(DK_COMM) // ;
|
||
#define DK_COLN S(DK_DOT) // :
|
||
#define DK_UNDS S(DK_MINS) // _
|
||
#define DK_AT ALGR(DK_2) // @
|
||
#define DK_PND ALGR(DK_3) // £
|
||
#define DK_DLR ALGR(DK_4) // $
|
||
#define DK_EURO ALGR(DK_5) // €
|
||
#define DK_LCBR ALGR(DK_7) // {
|
||
#define DK_LBRC ALGR(DK_8) // [
|
||
#define DK_RBRC ALGR(DK_9) // ]
|
||
#define DK_RCBR ALGR(DK_0) // }
|
||
#define DK_PIPE ALGR(DK_ACUT) // |
|
||
#define DK_TILD ALGR(DK_DIAE) // ~ (dead)
|
||
#define DK_BSLS ALGR(DK_LABK) // (backslash)
|
||
#define DK_MICR ALGR(DK_M) // µ
|
||
|