aboutsummaryrefslogtreecommitdiffstats
path: root/tests/combo/test_combos.c
blob: a6f249833ffb5a9cc66b14bcdc52dbf93d1cdfcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2023 Stefan Kerkmann (@KarlK90)
// Copyright 2023 @filterpaper
// Copyright 2023 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"

enum combos { modtest, osmshift, single_key };

uint16_t const modtest_combo[]    = {KC_Y, KC_U, COMBO_END};
uint16_t const osmshift_combo[]   = {KC_Z, KC_X, COMBO_END};
uint16_t const single_key_combo[] = {KC_A, COMBO_END};

// clang-format off
combo_t key_combos[] = {
    [modtest]  = COMBO(modtest_combo, RSFT_T(KC_SPACE)),
    [osmshift] = COMBO(osmshift_combo, OSM(MOD_LSFT)),
    [single_key] = COMBO(single_key_combo, KC_B),
};
// clang-format on