pub fn detect_long_press(
cfg: Res<'_, PressConfig>,
anim: Option<Res<'_, AnimationsActive>>,
q: Query<'_, '_, (Entity, &mut PressStartedAt), With<Pressed>>,
events: MessageWriter<'_, LongPressEvent>,
)Expand description
Emit LongPressEvent for entities pressed past the threshold. Once
per press cycle (gated by PressStartedAt::long_fired).