~ruther/qmk_firmware

ref: 249fb3c2c2cb1a62f3ea99a67963f5127e280b1f qmk_firmware/users/yet-another-developer/combo.h -rw-r--r-- 546 bytes
249fb3c2 — AndrĂ© Greiner-Petter [BUG] Allow multiple IS31FL3741 drivers per board in rgb_matrix (#20988) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once
#include "quantum.h"
enum combo_events {
  ZV_COPY,
  XV_CUT,
  CV_PASTE,
  QP_SLEEP
};

const uint16_t PROGMEM copy_combo[] = {KC_Z, KC_V, COMBO_END};
const uint16_t PROGMEM cut_combo[] = {KC_X, KC_V, COMBO_END};
const uint16_t PROGMEM paste_combo[] = {KC_C, KC_V, COMBO_END};
const uint16_t PROGMEM sleep_combo[] = {KC_Q, KC_P, COMBO_END};

combo_t key_combos[] = {
  [ZV_COPY] = COMBO_ACTION(copy_combo),
  [XV_CUT] = COMBO_ACTION(cut_combo),
  [CV_PASTE] = COMBO_ACTION(paste_combo),
  [QP_SLEEP] = COMBO_ACTION(sleep_combo),
};
Do not follow this link