// 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>,
        repeat_sequence: u32,
    ) -> InputEvent {
        testing_utilities::create_keyboard_event_with_key_meaning_and_repeat_sequence(
            key,
            event_type,
            /*modifiers=*/ None,
            /*event_time*/ zx::Time::ZERO,
            &InputDeviceDescriptor::Fake,
            /*keymap=*/ None,
            key_meaning,
            repeat_sequence,
        )
    }
fn new_event ( key : Key , event_type : KeyEventType , key_meaning : Option < KeyMeaning > , repeat_sequence : u32 , ) -> InputEvent { testing_utilities :: create_keyboard_event_with_key_meaning_and_repeat_sequence ( key , event_type , /*modifiers=*/ None , /*event_time*/ zx :: Time :: ZERO , & InputDeviceDescriptor :: Fake , /*keymap=*/ None , key_meaning , repeat_sequence , ) }
Creates a new keyboard event for testing.
Creates a new keyboard event for testing .
key
Key
event_type
KeyEventType
key_meaning
Option<KeyMeaning>
repeat_sequence
u32