karaconv

Function collect_keys

Source
pub fn collect_keys(s: &str) -> Result<Vec<(KeyOrButton, Vec<String>)>, Error>
Expand description

Parse the XML format for a sequence of keys and modifiers

The syntax is comma-delimited, with alternating keys and (optional) modifiers: key1[, mod1], key2[, mod2] ...