Home
last modified time | relevance | path

Searched refs:KeycodeTranslator (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/gpu_display/src/keycode_converter/
Dmod.rs20 pub struct KeycodeTranslator { struct
24 impl KeycodeTranslator { impl
27 pub fn new(from_type: KeycodeTypes) -> KeycodeTranslator { in new() argument
39 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()
/external/crosvm/gpu_display/src/
Dgpu_display_x.rs28 keycode_converter::KeycodeTranslator, keycode_converter::KeycodeTypes, DisplayT, EventDevice,
227 keycode_translator: KeycodeTranslator,
247 let keycode_translator = KeycodeTranslator::new(KeycodeTypes::XkbScancode); in create()