Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
KeyEventArgs.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Paradox.Input;
4 using SiliconStudio.Paradox.UI.Events;
5 
6 namespace SiliconStudio.Paradox.UI
7 {
8  /// <summary>
9  /// The arguments associated to an key event.
10  /// </summary>
11  internal class KeyEventArgs : RoutedEventArgs
12  {
13  /// <summary>
14  /// The key that triggered the event.
15  /// </summary>
16  public Keys Key { get; internal set; }
17 
18  /// <summary>
19  /// A reference to the input system that can be used to check the status of the other keys.
20  /// </summary>
21  public InputManagerBase Input { get; internal set; }
22  }
23 }
Keys
Enumeration for keys.
Definition: Keys.cs:8
Contains state information and event data associated with a routed event.
Interface for input management system, including keyboard, mouse, gamepads and touch.