Searched refs:supported_events (Results 1 – 3 of 3) sorted by relevance
/external/crosvm/devices/src/virtio/input/ |
D | defaults.rs | 98 let mut supported_events: BTreeMap<u16, virtio_input_bitmap> = BTreeMap::new(); in default_touchscreen_events() localVariable 99 supported_events.insert(EV_KEY, virtio_input_bitmap::from_bits(&[BTN_TOUCH])); in default_touchscreen_events() 100 supported_events.insert(EV_ABS, virtio_input_bitmap::from_bits(&[ABS_X, ABS_Y])); in default_touchscreen_events() 101 supported_events in default_touchscreen_events() 122 let mut supported_events: BTreeMap<u16, virtio_input_bitmap> = BTreeMap::new(); in default_multitouchscreen_events() localVariable 123 supported_events.insert(EV_KEY, virtio_input_bitmap::from_bits(&[BTN_TOUCH])); in default_multitouchscreen_events() 124 supported_events.insert( in default_multitouchscreen_events() 133 supported_events in default_multitouchscreen_events() 144 let mut supported_events: BTreeMap<u16, virtio_input_bitmap> = BTreeMap::new(); in default_trackpad_events() localVariable 145 supported_events.insert( in default_trackpad_events() [all …]
|
D | mod.rs | 241 supported_events: BTreeMap<u16, virtio_input_bitmap>, field 251 supported_events: BTreeMap<u16, virtio_input_bitmap>, in new() 261 supported_events, in new() 272 evdev::supported_events(source)?, in from_evdev() 296 &self.supported_events.keys().cloned().collect::<Vec<u16>>(), in build_config_memory() 299 } else if let Some(supported_codes) = self.supported_events.get(&ev_type) { in build_config_memory()
|
D | evdev.rs | 191 pub fn supported_events<T: AsRawDescriptor>( in supported_events() function
|