Skip to content

Commit

Permalink
Improved doc for KeyEvent kind field (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
basilkohler committed Jan 10, 2023
1 parent 81eb00f commit bb48b93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/event.rs
Expand Up @@ -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.
///
Expand Down

0 comments on commit bb48b93

Please sign in to comment.