1
0
Fork 0

Keymap introspection for combos. (#19670)

This commit is contained in:
Nick Brassel 2023-05-15 22:27:37 +10:00 committed by GitHub
parent 433dc60686
commit 5faa23d54c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
226 changed files with 533 additions and 729 deletions

View file

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "quantum.h"
enum combo_events {
ZV_COPY,
@ -12,10 +12,9 @@ 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[COMBO_COUNT] = {
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),
};