use bevy::app::{App, Update}; use bevy::MinimalPlugins; use bevy::prelude::{EventWriter, Res}; use bevy::time::Time; use bevy_trackpad_haptic::{FeedbackEvent, TrackpadHapticPlugin}; fn main() { App::new() .add_plugins((MinimalPlugins, TrackpadHapticPlugin)) .add_systems(Update, trigger) .run(); } fn trigger(time: Res