Home
last modified time | relevance | path

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

/external/crosvm/gpu_display/src/keycode_converter/
Dmod.rs12 pub enum KeycodeTypes { enum
27 pub fn new(from_type: KeycodeTypes) -> KeycodeTranslator { in new()
32 KeycodeTypes::XkbScancode => entry.xkb, in new()
33 KeycodeTypes::WindowsScancode => entry.win, in new()
34 KeycodeTypes::MacScancode => entry.mac, in new()
52 use crate::keycode_converter::KeycodeTypes;
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,
247 let keycode_translator = KeycodeTranslator::new(KeycodeTypes::XkbScancode); in create()