Home
last modified time | relevance | path

Searched refs:virtio_input_bitmap (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/crosvm/devices/src/virtio/input/
H A Ddefaults.rs11 use super::virtio_input_bitmap;
30 virtio_input_bitmap::new([0u8; 128]), in new_trackpad_config()
49 virtio_input_bitmap::from_bits(&[INPUT_PROP_POINTER, INPUT_PROP_BUTTONPAD]), in new_multitouch_trackpad_config()
62 virtio_input_bitmap::new([0u8; 128]), in new_mouse_config()
75 virtio_input_bitmap::new([0u8; 128]), in new_keyboard_config()
88 virtio_input_bitmap::new([0u8; 128]), in new_switches_config()
101 virtio_input_bitmap::new([0u8; 128]), in new_rotary_config()
122 virtio_input_bitmap::from_bits(&[INPUT_PROP_DIRECT]), in new_single_touch_config()
143 virtio_input_bitmap::from_bits(&[INPUT_PROP_DIRECT]), in new_multi_touch_config()
161 supported_events: BTreeMap<u16, virtio_input_bitmap>, in new_custom_config() argument
[all …]
H A Dmod.rs188 fn set_payload_bitmap(&mut self, bitmap: &virtio_input_bitmap) { in set_payload_bitmap() argument
204 pub struct virtio_input_bitmap { struct
212 impl virtio_input_bitmap { impl
213 fn new(bitmap: [u8; 128]) -> virtio_input_bitmap { in new() argument
214 virtio_input_bitmap { bitmap }
222 fn from_bits(set_indices: &[u16]) -> virtio_input_bitmap { in from_bits() argument
223 let mut ret = virtio_input_bitmap { bitmap: [0u8; 128] }; in from_bits()
256 properties: virtio_input_bitmap,
257 supported_events: BTreeMap<u16, virtio_input_bitmap>,
266 properties: virtio_input_bitmap, in new() argument
[all …]
H A Devdev.rs19 use super::virtio_input_bitmap;
174 pub fn properties<T: AsRawDescriptor>(descriptor: &T) -> Result<virtio_input_bitmap> { in properties() argument
185 Ok(virtio_input_bitmap::new(props.buffer)) in properties()
192 ) -> Result<BTreeMap<u16, virtio_input_bitmap>> { in supported_events() argument
193 let mut evts: BTreeMap<u16, virtio_input_bitmap> = BTreeMap::new(); in supported_events()
223 evts.insert(ev, virtio_input_bitmap::new(evt_codes.buffer)); in supported_events()