send_event_with_input

Function send_event_with_input 

Source
pub fn send_event_with_input<E: Message, Input: 'static, F: FnMut(Input) -> E>(
    f: F,
) -> impl FnMut(In<Input>, MessageWriter<'_, E>)
Expand description

Sends an event with input, .e.g, ButtonSequence provides a Gamepad identifier.