Enum piston::input::Input
[−]
[src]
pub enum Input { Press(Button), Release(Button), Move(Motion), Text(String), Resize(u32, u32), Focus(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. |