parse_chord

Function parse_chord 

Source
fn parse_chord(s: &str) -> Option<Binding>
Expand description

Parse a human-readable chord like "Ctrl+Shift+K" or "F5" into a Binding. Modifier names are case-insensitive (ctrl, Ctrl, CTRL); the key name uses winit’s KeyCode Debug spelling minus the Key prefix for letters (KKeyK).