Releases: not-elm/bevy-input-sequence
Releases · not-elm/bevy-input-sequence
Released version 0.4.0
Thanks to the achievements of shanecelis, the functionality of this library has greatly evolved.
Specifically, it is now possible to not only send an event when a key matches, but also to run a system.
Please see below for details.
#6
Released version 0.2.0
[0.2.0] - 2024-02-24
Features
- Add support for bevy v0.12
- Add key chord support
- Add
key!
andkeyseq!
macro fromkeyseq
crate. - Make controllers' sequences independent of one another.
- Add
add_input_sequence_run_if()
variant. - Add "keymod" example that uses key chords.
- Add "run_if" example
Refactor
-
Make timeout setting more ergonomic.
-
Use a trie for sequence detection.
Changes the algorithmic complexity each tick from
O(number of key_sequences)
toO(length of longest key sequence)
. -
Make
new()
generic:new<T:Into<Act>>(inputs: [T])
Documentation
- Describe examples in README
- Add installation, usage, and license sections to README
Test
-
The
multiple_inputs
test is disabled.This test includes keyboard and controller inputs. It's not clear how to
manage these with controller sequences being independent from one another.