aboutsummaryrefslogtreecommitdiff
path: root/users/yet-another-developer/combo.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/yet-another-developer/combo.h')
-rw-r--r--users/yet-another-developer/combo.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/users/yet-another-developer/combo.h b/users/yet-another-developer/combo.h
new file mode 100644
index 000000000..e2ff09ab5
--- /dev/null
+++ b/users/yet-another-developer/combo.h
@@ -0,0 +1,21 @@
1#pragma once
2#include "quantum.h"
3enum combo_events {
4 ZV_COPY,
5 XV_CUT,
6 CV_PASTE,
7 QP_SLEEP
8};
9
10const uint16_t PROGMEM copy_combo[] = {KC_Z, KC_V, COMBO_END};
11const uint16_t PROGMEM cut_combo[] = {KC_X, KC_V, COMBO_END};
12const uint16_t PROGMEM paste_combo[] = {KC_C, KC_V, COMBO_END};
13const uint16_t PROGMEM sleep_combo[] = {KC_Q, KC_P, COMBO_END};
14
15combo_t key_combos[COMBO_COUNT] = {
16 [ZV_COPY] = COMBO_ACTION(copy_combo),
17 [XV_CUT] = COMBO_ACTION(cut_combo),
18 [CV_PASTE] = COMBO_ACTION(paste_combo),
19 [QP_SLEEP] = COMBO_ACTION(sleep_combo),
20};
21