forked from stride3d/stride
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKeyEventArgs.cs
More file actions
23 lines (21 loc) · 809 Bytes
/
KeyEventArgs.cs
File metadata and controls
23 lines (21 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using Stride.Input;
using Stride.UI.Events;
namespace Stride.UI
{
/// <summary>
/// The arguments associated to an key event.
/// </summary>
public class KeyEventArgs : RoutedEventArgs
{
/// <summary>
/// The key that triggered the event.
/// </summary>
public Keys Key { get; init; }
/// <summary>
/// A reference to the input system that can be used to check the status of the other keys.
/// </summary>
public InputManager Input { get; init; }
}
}