From 993a5ac7565658d74efa5670dca50a05a0fd836b Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 17 Dec 2020 08:45:32 +0900 Subject: [PATCH] wheel event is added --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index fb6c493..148f6a8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)]