Function gabelstaplerwm::wm::kbd::from_key [] [src]

pub fn from_key(event: &StateNotifyEvent, mode: Mode) -> KeyPress

Get a KeyPress struct from a StateNotifyEvent