Add email entries to leader
This commit is contained in:
parent
976645729d
commit
570848b2a9
@ -8,6 +8,12 @@
|
|||||||
#ifndef SECRET_2
|
#ifndef SECRET_2
|
||||||
#define SECRET_2 secret
|
#define SECRET_2 secret
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef EMAIL_1
|
||||||
|
#define EMAIL_1 email
|
||||||
|
#endif
|
||||||
|
#ifndef EMAIL_2
|
||||||
|
#define EMAIL_2 email
|
||||||
|
#endif
|
||||||
|
|
||||||
enum custom_keycodes {
|
enum custom_keycodes {
|
||||||
DRAG_SCROLL = QK_USER_0,
|
DRAG_SCROLL = QK_USER_0,
|
||||||
@ -337,6 +343,10 @@ void leader_end_user(void) {
|
|||||||
SEND_STRING(SECRET_1);
|
SEND_STRING(SECRET_1);
|
||||||
} else if (leader_sequence_three_keys(KC_T, KC_A, KC_O)) {
|
} else if (leader_sequence_three_keys(KC_T, KC_A, KC_O)) {
|
||||||
SEND_STRING(SECRET_2);
|
SEND_STRING(SECRET_2);
|
||||||
|
} else if (leader_sequence_two_keys(KC_E, KC_O)) {
|
||||||
|
SEND_STRING(EMAIL_1);
|
||||||
|
} else if (leader_sequence_two_keys(KC_E, KC_S)) {
|
||||||
|
SEND_STRING(EMAIL_2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user