fn new_event(
        key: Key,
        event_type: KeyEventType,
        key_meaning: Option<KeyMeaning>,
    ) -> UnhandledInputEvent {
        UnhandledInputEvent::try_from(testing_utilities::create_keyboard_event_with_handled(
            key,
            event_type,
            /*modifiers=*/ None,
            /*event_time*/ zx::Time::ZERO,
            &InputDeviceDescriptor::Fake,
            /*keymap=*/ None,
            key_meaning,
            /*handled=*/ Handled::No,
        ))
        .unwrap()
    }
// Creates a new keyboard event for testing.
Creates a new keyboard event for testing.
Creates a new keyboard event for testing .
fn new_event(
        key: Key,
        event_type: KeyEventType,
        key_meaning: Option<KeyMeaning>,
    ) -> UnhandledInputEvent {
        UnhandledInputEvent::try_from(testing_utilities::create_keyboard_event_with_handled(
            key,
            event_type,
            /*modifiers=*/ None,
            /*event_time*/ zx::Time::ZERO,
            &InputDeviceDescriptor::Fake,
            /*keymap=*/ None,
            key_meaning,
            /*handled=*/ Handled::No,
        ))
        .unwrap()
    }
fn new_event ( key : Key , event_type : KeyEventType , key_meaning : Option < KeyMeaning > , ) -> UnhandledInputEvent { UnhandledInputEvent :: try_from ( testing_utilities :: create_keyboard_event_with_handled ( key , event_type , /*modifiers=*/ None , /*event_time*/ zx :: Time :: ZERO , & InputDeviceDescriptor :: Fake , /*keymap=*/ None , key_meaning , /*handled=*/ Handled :: No , ) ) . unwrap ( ) }
Creates a new keyboard event for testing.
Creates a new keyboard event for testing .
key
Key
event_type
KeyEventType
key_meaning
Option<KeyMeaning>
key
Key
event_type
KeyEventType
key_meaning
Option<KeyMeaning>