summaryrefslogtreecommitdiff
path: root/users/bbaserdem/bb-macro.h
blob: 3dc14e7a8ad45a149f8f5d4dc10e4dabaac46f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* Copyright 2021 Batuhan Başerdem
 * <baserdem.batuhan@gmail.com> @bbaserdem
 *
 * 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 "bbaserdem.h"

/* This header file contains definitons regarding custom keycodes.
 * - Both regular and unicode macros are dealt with in this file
 */

// These will be delegated to keymap specific stuff (weak definition)
bool process_record_macro(uint16_t keycode, keyrecord_t *record);

// Unicodemap implementation
#ifdef UNICODEMAP_ENABLE
enum userspace_unicodemap {
    UPC_A_CIRC,
    UPC_C_CEDI,
    UPC_G_BREV,
    UPC_I_CIRC,
    UPC_I_DOTL,
    UPC_I_DOTT,
    UPC_O_DIAE,
    UPC_S_CEDI,
    UPC_U_CIRC,
    UPC_U_DIAE,
    LOW_A_CIRC,
    LOW_C_CEDI,
    LOW_G_BREV,
    LOW_I_CIRC,
    LOW_I_DOTL,
    LOW_I_DOTT,
    LOW_O_DIAE,
    LOW_S_CEDI,
    LOW_U_CIRC,
    LOW_U_DIAE,
    ELLIPSIS,
    PLANCK_CON,
    ANGSTROM,
    MATHPI,
    BITCOIN,
    UPC_ALPHA,
    UPC_BETA,
    UPC_GAMMA,
    UPC_DELTA,
    UPC_EPSILON,
    UPC_ZETA,
    UPC_ETA,
    UPC_THETA,
    UPC_IOTA,
    UPC_KAPPA,
    UPC_LAMBDA,
    UPC_MU,
    UPC_NU,
    UPC_XI,
    UPC_OMICRON,
    UPC_PI,
    UPC_RHO,
    UPC_SIGMA,
    UPC_TAU,
    UPC_UPSILON,
    UPC_PHI,
    UPC_CHI,
    UPC_PSI,
    UPC_OMEGA,
    LOW_ALPHA,
    LOW_BETA,
    LOW_GAMMA,
    LOW_DELTA,
    LOW_EPSILON,
    LOW_ZETA,
    LOW_ETA,
    LOW_THETA,
    LOW_IOTA,
    LOW_KAPPA,
    LOW_LAMBDA,
    LOW_MU,
    LOW_NU,
    LOW_XI,
    LOW_OMICRON,
    LOW_PI,
    LOW_RHO,
    LOW_SIGMA,
    LOW_TAU,
    LOW_UPSILON,
    LOW_PHI,
    LOW_CHI,
    LOW_PSI,
    LOW_OMEGA,
};
#endif // UNICODEMAP_ENABLE

// Tap dance stuff
#ifdef AUDIO_ENABLE
#ifdef TAP_DANCE_ENABLE
enum {
    TD_AUDIO_TEMPO,
};
#endif // AUDIO_ENABLE
#endif // TAP_DANCE_ENABLE