From b321789d7b3e0207f9f5e103a8481a0d90ba2814 Mon Sep 17 00:00:00 2001 From: Julian Schuler Date: Sun, 23 Nov 2025 12:25:59 +0100 Subject: Fix single key combos activating only once (#25198) Co-authored-by: Julian Schuler --- tests/combo/test_combos.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/combo/test_combos.c') 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 -- cgit v1.2.3 From c7e17538eea98540dbee71de5d024db99f7786fe Mon Sep 17 00:00:00 2001 From: QMK Bot Date: Sun, 23 Nov 2025 22:28:34 +1100 Subject: [CI] Format code according to conventions (#25820) --- tests/combo/test_combos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/combo/test_combos.c') diff --git a/tests/combo/test_combos.c b/tests/combo/test_combos.c index 9a0465a9b4..a6f249833f 100644 --- a/tests/combo/test_combos.c +++ b/tests/combo/test_combos.c @@ -6,8 +6,8 @@ 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 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 -- cgit v1.2.3