diff options
| author | Julian Schuler | 2025-11-23 12:25:59 +0100 |
|---|---|---|
| committer | GitHub | 2025-11-23 12:25:59 +0100 |
| commit | b321789d7b3e0207f9f5e103a8481a0d90ba2814 (patch) | |
| tree | 42ebfe5efd5625306bb0ccf485b8ca0d42d19bc0 /tests/combo/test_combos.c | |
| parent | 4015c40ba4fd9a671c2e919582bbabab7320544b (diff) | |
Fix single key combos activating only once (#25198)
Co-authored-by: Julian Schuler <julianschuler@users.noreply.github.com>
Diffstat (limited to 'tests/combo/test_combos.c')
| -rw-r--r-- | tests/combo/test_combos.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/combo/test_combos.c b/tests/combo/test_combos.c index 8dcb364c6e..9a0465a9b4 100644 --- a/tests/combo/test_combos.c +++ b/tests/combo/test_combos.c @@ -4,14 +4,16 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "quantum.h" -enum combos { modtest, osmshift }; +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)) + [osmshift] = COMBO(osmshift_combo, OSM(MOD_LSFT)), + [single_key] = COMBO(single_key_combo, KC_B), }; // clang-format on |