Skip to main content

MappedInputApp

Trait MappedInputApp 

Source
pub trait MappedInputApp: AppActionSink {
    // Required method
    fn input_mapper(&mut self) -> &mut InputMapper;

    // Provided method
    fn handle_input_event(&mut self, _event: &InputEvent) -> Option<String> { ... }
}
Expand description

App that wants raw input pre-processing plus the default mapped action bridge.

Required Methods§

Source

fn input_mapper(&mut self) -> &mut InputMapper

Provided Methods§

Source

fn handle_input_event(&mut self, _event: &InputEvent) -> Option<String>

Implementors§