input_driver

Function input_driver 

Source
pub fn input_driver<E: Clone>(
    keymap: &HashMap<char, E>,
    inputs: &Vec<char>,
    events: &mut Vec<E>,
) -> SystemResult
Expand description

Transforms char input events into the desired event type using a keybindings map.