zmk/app/tests/combo
Andrew Rae 0086ff99c5 fix(behaviors): Fixing erroneous combo triggering (#1395)
This is a very simple fix to a rather complicated issue. Essentially,
hold-taps will "release" (raise) their captured keys before actually
telling the event manager they have captured a key. This means the event
manager ends up assigning the `last_listener_index` to the hold-tap
subscription rather than the combo. So when the combo calls
`ZMK_EVENT_RELEASE` it raises after the hold-tap instead of after the
combo as the combo code expects.

The corresponding test (which fails without this change) has also been added.
2022-07-25 11:02:57 -07:00
..
combos-and-holdtaps-0 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
combos-and-holdtaps-1 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
combos-and-holdtaps-2 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
combos-and-holdtaps-3 fix(behaviors): Fixing erroneous combo triggering (#1395) 2022-07-25 11:02:57 -07:00
layer-filter-0 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
layer-filter-1 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
multiple-timeouts refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
overlapping-combos-0 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
overlapping-combos-1 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
overlapping-combos-2 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
overlapping-combos-3 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
partially-overlapping-combos refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press-release refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press-release-long-combo-complete refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press-release-long-combo-incomplete refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press-release-long-combo-wrong-last-key refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press-timeout refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press1-press2-release1-release2 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press1-press2-release2-release1 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
press1-release1-press2-release2 refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
slowrelease-disabled refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00
slowrelease-enabled refactor(tests): Move to native_posix_64 target. 2022-04-03 00:10:29 -04:00