/// Creates a new [input_device::InputEvent] from the provided components.
Creates a new [input_device::InputEvent] from the provided components.
Creates a new [ input_device :: InputEvent ] from the provided components .
pub fn create_input_event(
    keyboard_event: keyboard_binding::KeyboardEvent,
    device_descriptor: &input_device::InputDeviceDescriptor,
    event_time: zx::Time,
    handled: input_device::Handled,
) -> input_device::InputEvent {
    input_device::InputEvent {
        device_event: input_device::InputDeviceEvent::Keyboard(keyboard_event),
        device_descriptor: device_descriptor.clone(),
        event_time,
        handled,
    }
}
pub fn create_input_event ( keyboard_event : keyboard_binding :: KeyboardEvent , device_descriptor : & input_device :: InputDeviceDescriptor , event_time : zx :: Time , handled : input_device :: Handled , ) -> input_device :: InputEvent { input_device :: InputEvent { device_event : input_device :: InputDeviceEvent :: Keyboard ( keyboard_event ) , device_descriptor : device_descriptor . clone ( ) , event_time , handled , } }
Creates a new [input_device::InputEvent] from the provided components.
Creates a new [ input_device :: InputEvent ] from the provided components .
keyboard_event
keyboard_binding::KeyboardEvent
device_descriptor
&input_device::InputDeviceDescriptor
event_time
zx::Time
handled
input_device::Handled