pub trait GpuDisplayExt {
    // Required methods
    fn import_event_device(
        &mut self,
        event_device: EventDevice
    ) -> GpuDisplayResult<u32>;
    fn handle_event_device(&mut self, event_device_id: u32);
}

Required Methods§

source

fn import_event_device( &mut self, event_device: EventDevice ) -> GpuDisplayResult<u32>

Imports the given event_device into the display, returning an event device id on success. This device may be used to dispatch input events to the guest.

source

fn handle_event_device(&mut self, event_device_id: u32)

Called when an event device is readable.

Implementors§