1 /**
2 * Module for key event args handling.
3 *
4 * Authors:
5 *   Jacob Jensen
6 * License:
7 *   https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE
8 */
9 module poison.core.eventargs.keyeventargs;
10 
11 import dsfml.window : Keyboard;
12 
13 public alias Key = Keyboard.Key;
14 
15 import poison.core.eventargs.buttoneventargs;
16 
17 /// Event args for key events.
18 class KeyEventArgs : ButtonEventArgs!Key {
19   package(poison):
20   /// Creates a new instance key event args.
21   this() {
22     super();
23   }
24 }