pub fn key(key: Key) -> Key
Converts a VirtualKeyCode from winit to an iced key code.
VirtualKeyCode
winit
iced