Enum input::Motion
[−]
[src]
pub enum Motion { MouseCursor(f64, f64), MouseRelative(f64, f64), MouseScroll(f64, f64), }
Models different kinds of motion.
Variants
MouseCursor | x and y in window coordinates. |
MouseRelative | x and y in relative coordinates. |
MouseScroll | x and y in scroll ticks. |