-
Notifications
You must be signed in to change notification settings - Fork 0
/
keycodes.h
74 lines (65 loc) · 1.26 KB
/
keycodes.h
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
// Copyright 2023 Florent Linguenheld (@FLinguenheld)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
enum custom_layers {
_BASE,
_BASEWIN,
_MOUSE,
_MOUSE2,
_NAV,
_NAVWIN,
_NUM,
_SYM,
_SENDSTR,
_RGB,
_GAME,
};
enum custom_keys {
// SEND STRINGS
SS_SLOW_START = QK_KB_0, // might conflict with MOD TAP!!!
SS_WQ,
SS_FAST_START,
// Matching table `send_string_fast_actions`
SS_MAILW,
SS_MAILP,
SS_LNAME,
SS_FNAME,
SS_GITTT,
SS_GTPF,
SS_TX,
SS_NC,
SS_CK,
SS_HARO,
SS_THE,
SS_AND,
// NOT in the base table `send_string_fast_actions`
SS_GITCM,
SS_GITCMSCI,
SS_A_GRAVE,
SS_A_CIRCUMFLEX,
SS_E_GRAVE,
SS_E_AIGU,
SS_E_CIRCUMFLEX,
SS_I_CIRCUMFLEX,
SS_O_CIRCUMFLEX,
SS_U_CIRCUMFLEX,
SS_U_GRAVE,
SS_C_CEDI,
SS_END,
};
enum tap_dance_keys {
TD_TAB_MOUSE,
TD_SPC_NAV,
TD_BSP_NUM,
TD_ENT_SYM,
TD_QUOTE_SENDS,
TD_BROWSER,
TD_GITFIGMA,
TD_RECTANGLE,
};
typedef struct {
uint16_t tap;
uint16_t hold;
uint16_t held;
uint16_t held_layer;
} tap_dance_tap_hold_layer_t;