Enum input::Motion
[−]
[src]
pub enum Motion { MouseCursor(f64, f64), MouseRelative(f64, f64), MouseScroll(f64, f64), ControllerAxis(ControllerAxisArgs), Touch(TouchArgs), }
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. | |
ControllerAxis | controller axis move event. | |
Touch | touch event. |