Function test_helpers::create_key_event
source · pub fn create_key_event(
timestamp: Time,
event_type: KeyEventType,
key: impl Into<Option<Key>>,
modifiers: impl Into<Option<Modifiers>>,
key_meaning: impl Into<KeyMeaningWrapper>
) -> KeyEvent
Expand description
Creates a KeyEvent
with the given parameters.