Improved doc for KeyEvent kind field (#739)

This commit is contained in:
Basil Kohler 2023-01-10 19:16:52 +01:00 committed by GitHub
parent 81eb00fc32
commit bb48b93b46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,6 +642,8 @@ pub struct KeyEvent {
/// Additional key modifiers.
pub modifiers: KeyModifiers,
/// Kind of event.
///
/// Only set if [`KeyboardEnhancementFlags::REPORT_EVENT_TYPES`] has been enabled with [`PushKeyboardEnhancementFlags`].
pub kind: KeyEventKind,
/// Keyboard state.
///