pub fn input_pressed<T>( input: T, ) -> impl FnMut(Res<'_, ButtonInput<T>>) -> bool + Clonewhere T: Copy + Eq + Hash + Send + Sync + 'static,
Run condition that is active if ButtonInput::pressed is true for the given input.
ButtonInput::pressed