Struct vertigo::KeyDownEvent
source · [−]pub struct KeyDownEvent {
pub key: String,
pub code: String,
pub alt_key: bool,
pub ctrl_key: bool,
pub shift_key: bool,
pub meta_key: bool,
}
Expand description
Structure passed as a parameter to callback on on_key_down event.
Fields
key: String
code: String
alt_key: bool
ctrl_key: bool
shift_key: bool
meta_key: bool