wheel event is added

This commit is contained in:
crusader 2020-12-17 08:45:32 +09:00
parent fbf3946f59
commit 993a5ac756

View File

@ -24,6 +24,8 @@ pub enum EventType {
MousePress(Button),
MouseRelease(Button),
MouseMoveTo { x: f64, y: f64 },
MouseWheelVertical { delta: i32 },
MouseWheelHorizontal { delta: i32 },
}
// #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]