bevy-input-sequence 0.10.0

Recognizes and acts on input sequences
Documentation
use bevy::prelude::*;
use bevy_input_sequence::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(InputSequencePlugin::default())
        .add_systems(Startup, setup)
        .run();
}

fn setup(mut commands: Commands) {
    info!("Type H I or \"hi\".");
    commands.queue(KeySequence::new(say_hi, keyseq! { H I }));
}

fn say_hi() {
    info!("hi");
}