All notable changes to this project will be documented in this file.
- Generalize to running one-shot systems instead of firing events.
- Use plugin.
- Can configure schedule and system set.
- Remove
GamepadEvent
; use system with inputIn<Gamepad>
. - Add
IntoCondSystem
that addsonly_if()
conditions toIntoSystems
. - Add
only_if
example. - Add
prelude
module for glob imports.
- Hollow out lib so it's just
mod
andpub use
statements. - Extract sets of functionality from
lib.rs
intochord.rs
,cache.rs
andplugin.rs
. - Extract tests into
tests/simulated.rs
.
- Removed
Act::Any
, so we can no longer define an act composed of multiple buttons(or keycodes). - The keyboard and gamepad now use different sequences.
- 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
-
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])
- Describe examples in README
- Add installation, usage, and license sections to README
-
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.
- 一通りの機能の実装