zmk/app
okke b6f987f12a Behaviors: Update last_listener_index before running event handler
An event can be captured and released in the same event handler, before
the last_listener_index would have been updated. This causes some handlers
to be triggered multiple times.

The solution is to update the last_listener_index before calling the next
event handler, so capturing and releasing within an event handler is harmless.

Also see discussion at
https://github.com/zmkfirmware/zmk/pull/1401
2022-07-26 22:12:36 +02:00
..
boards fix(shields): Remove uses of deprecated pro_micro_a/d nodes 2022-07-03 09:11:23 -04:00
cmake fix(build): Fix for proper string variable check. 2022-06-07 19:43:23 -04:00
drivers feat(kscan): Kconfig for optional scan delay. 2022-07-15 11:07:08 -04:00
dts fix(behaviors): Fix mod morph description 2022-07-03 09:11:00 -04:00
include feat(behavior): Add key toggle 2022-06-03 00:04:41 -04:00
scripts chore: make west scripts more pythonic and apply Black 2022-01-04 23:59:25 -05:00
src Behaviors: Update last_listener_index before running event handler 2022-07-26 22:12:36 +02:00
tests fix(behaviors): Fixing erroneous combo triggering (#1395) 2022-07-25 11:02:57 -07:00
.gitignore feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
.prettierrc.js feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
CMakeLists.txt refactor(build): Fixes for config/overlay loading. 2022-06-04 00:44:13 -04:00
core-coverage.yml chore: Add Hummingbiard/XIAO BLE to core coverage. 2022-06-04 00:44:13 -04:00
Kconfig feat(underglow): Add RGB auto off timeout on idle and on usb disconnect 2022-06-25 10:56:36 -04:00
package-lock.json feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
package.json feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
prj.conf Removed development files 2020-08-29 11:53:53 -07:00
run-test.sh refactor(tests): Use GH Actions matrix for tests. 2022-04-04 23:36:51 -04:00
west.yml fix: Don't exclude segger, needed for DKs. 2022-06-22 16:37:22 -04:00