~starkingdoms/starkingdoms

ref: 1aa4b3b1144024bc1d831e9f69f7aba1b61a6a0b starkingdoms/starkingdoms-client/src/input.rs -rw-r--r-- 154 bytes
1aa4b3b1 — core ui experiments & the matrix math is wrong 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 },
}