Enum input::Input
[−]
[src]
pub enum Input {
Press(Button),
Release(Button),
Move(Motion),
Text(String),
Resize(u32, u32),
Focus(bool),
Cursor(bool),
}Models input events.
Variants
Press | Pressed a button. | |
Release | Released a button. | |
Move | Moved mouse cursor. | |
Text | Text (usually from keyboard). | |
Resize | Window got resized. | |
Focus | Window gained or lost focus. | |
Cursor | Window gained or lost cursor. |