Skip to content

Commit

Permalink
Add docs for KeyCodeExtScancode
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull committed May 11, 2023
1 parent 9e0816a commit 3998969
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/platform/scancode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

use crate::keyboard::KeyCode;

/// Additional methods for the [`KeyCode`] type that allow the user to access the platform-specific
/// scancode.
///
/// [`KeyCode`]: crate::keyboard::KeyCode
pub trait KeyCodeExtScancode {
/// The raw value of the platform-specific physical key identifier.
///
Expand Down

0 comments on commit 3998969

Please sign in to comment.