Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Update types relevant to key input events and their documentations
Browse files Browse the repository at this point in the history
- Added the XML documentation for `Presentation.VirtualKeyCode`.
- Updated the XML documentation for `Presentation.KeyModifierFlags`.
- Removed `LMenu` and `RMenu` from `Presentation.VirtualKeyCode` since
  `winit` will generate `[LR]Alt` instead of them in further versions:
  <rust-windowing/winit#551>.
  • Loading branch information
yvt committed Jun 14, 2018
1 parent be47469 commit 226d163
Show file tree
Hide file tree
Showing 2 changed files with 474 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Ngs.Engine.Core/Engine/Presentation/KeyModifierFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ namespace Ngs.Engine.Presentation {
[Flags]
public enum KeyModifierFlags {
/// <summary>
/// The "Shift" key.
/// The shift key.
/// </summary>
Shift = 1 << 0,

/// <summary>
/// The "Control" key.
/// The control key.
/// </summary>
Control = 1 << 1,

/// <summary>
/// The "Alt" key.
/// The alt key.
/// </summary>
Alt = 1 << 2,

/// <summary>
/// The "Meta" key (e.g., the Windows logo key in Windows, Command in macOS).
/// The meta key (e.g., the Windows logo key in Windows, Command in macOS).
/// </summary>
Meta = 1 << 3,
}
Expand Down
Loading

0 comments on commit 226d163

Please sign in to comment.