Skip to content

Commit

Permalink
Add doc aliases Win, Meta, and Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-ec committed Jun 8, 2023
1 parent 2bf5ec5 commit 8e7bd2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_input/src/keyboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ pub enum KeyCode {
/// The `LSuper` / `Left Super` key.
/// Generic keyboards usually display this key with the *Microsoft Windows* logo.
/// Apple keyboards call this key the *Command Key* and display it using the ⌘ character.
#[doc(alias("LWin", "LMeta", "LLogo"))]
LSuper,

/// The `Mail` key.
Expand Down Expand Up @@ -381,6 +382,7 @@ pub enum KeyCode {
/// The `RSuper` / `Right Super` key.
/// Generic keyboards usually display this key with the *Microsoft Windows* logo.
/// Apple keyboards call this key the *Command Key* and display it using the ⌘ character.
#[doc(alias("RWin", "RMeta", "RLogo"))]
RSuper,

/// The `Semicolon` / `;` key.
Expand Down

0 comments on commit 8e7bd2b

Please sign in to comment.