~starkingdoms/starkingdoms

ref: aa2aadee626d8d90bc9fb67699cda2a588a6a992 starkingdoms/starkingdoms-client/src/input.rs -rw-r--r-- 154 bytes
aa2aadee — core switch to matricies for sprite positioning 11 months ago
                                                                                
1
2
3
4
5
6
7
use bevy_ecs::event::Event;

#[derive(Event, Debug, Copy, Clone)]
pub enum MouseWheelEvent {
    Line { x: f64, y: f64 },
    Pixel { x: f64, y: f64 },
}