Searched refs:KeycodeTranslator (Results 1 – 2 of 2) sorted by relevance
20 pub struct KeycodeTranslator { struct24 impl KeycodeTranslator { impl27 pub fn new(from_type: KeycodeTypes) -> KeycodeTranslator { in new() argument39 KeycodeTranslator { keycode_map: kcm } in new()51 use crate::keycode_converter::KeycodeTranslator;56 let translator = KeycodeTranslator::new(KeycodeTypes::WindowsScancode); in test_translate_win_lin()64 let translator = KeycodeTranslator::new(KeycodeTypes::WindowsScancode); in test_translate_missing_entry()
28 keycode_converter::KeycodeTranslator, keycode_converter::KeycodeTypes, DisplayT, EventDevice,227 keycode_translator: KeycodeTranslator,247 let keycode_translator = KeycodeTranslator::new(KeycodeTypes::XkbScancode); in create()