Skip to main content

key_code

Function key_code 

Source
pub fn key_code(code: u16) -> KeyCode
Expand description

Translates a raw evdev key code.

Unknown codes become KeyCode::Unidentified carrying the raw value, so a key this table does not name is still distinguishable and still reportable.