Improved doc for KeyEvent kind field (#739)
This commit is contained in:
parent
81eb00fc32
commit
bb48b93b46
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user