diff options
| author | Nick Brassel <nick@tzarc.org> | 2023-05-15 22:27:37 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-15 22:27:37 +1000 |
| commit | 5faa23d54ca1e3ab83097f2a07922f48800616e6 (patch) | |
| tree | 6ed05e5492f3fc8dda210a75b897dd9d4ed8df38 /tests/combo/test_combo.cpp | |
| parent | 433dc6068603e61d466e755aedcea0be96664f95 (diff) | |
Keymap introspection for combos. (#19670)
Diffstat (limited to 'tests/combo/test_combo.cpp')
| -rw-r--r-- | tests/combo/test_combo.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/combo/test_combo.cpp b/tests/combo/test_combo.cpp index b7aea27f4c..ac852f9d16 100644 --- a/tests/combo/test_combo.cpp +++ b/tests/combo/test_combo.cpp | |||
| @@ -10,21 +10,6 @@ | |||
| 10 | #include "test_fixture.hpp" | 10 | #include "test_fixture.hpp" |
| 11 | #include "test_keymap_key.hpp" | 11 | #include "test_keymap_key.hpp" |
| 12 | 12 | ||
| 13 | extern "C" { | ||
| 14 | enum combos { modtest, osmshift, COMBO_LENGTH }; | ||
| 15 | uint16_t COMBO_LEN = COMBO_LENGTH; | ||
| 16 | |||
| 17 | uint16_t const modtest_combo[] = {KC_Y, KC_U, COMBO_END}; | ||
| 18 | uint16_t const osmshift_combo[] = {KC_Z, KC_X, COMBO_END}; | ||
| 19 | |||
| 20 | // clang-format off | ||
| 21 | combo_t key_combos[] = { | ||
| 22 | [modtest] = COMBO(modtest_combo, RSFT_T(KC_SPACE)), | ||
| 23 | [osmshift] = COMBO(osmshift_combo, OSM(MOD_LSFT)) | ||
| 24 | }; | ||
| 25 | // clang-format on | ||
| 26 | } | ||
| 27 | |||
| 28 | using testing::_; | 13 | using testing::_; |
| 29 | using testing::InSequence; | 14 | using testing::InSequence; |
| 30 | 15 | ||
