Skip to content

Releases: not-elm/bevy-input-sequence

Released version 0.4.0

23 Apr 08:34
Compare
Choose a tag to compare

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

24 Feb 12:48
Compare
Choose a tag to compare

[0.2.0] - 2024-02-24

Features

  • Add support for bevy v0.12
  • Add key chord support
  • Add key! and keyseq! macro from keyseq 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)
    to O(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.