pub fn handle_input(
    data: &JoinData<'_>,
    output_events: &mut OutputEvents<'_, '_>,
    update: &mut StateUpdate,
    input: InputKind
)