Enum glutin::MouseScrollDelta
[−]
[src]
pub enum MouseScrollDelta { LineDelta(f32, f32), PixelDelta(f32, f32), }
Variants
LineDelta | Amount in lines or rows to scroll in the horizontal and vertical directions. Positive values indicate movement forward (away from the user) or rightwards. | |
PixelDelta | Amount in pixels to scroll in the horizontal and vertical direction. Scroll events are expressed as a PixelDelta if supported by the device (eg. a touchpad) and platform. |