Example #1
0
 static Gui()
 {
     Renderer         = new NoRenderer();
     DoubleClickSpeed = 250;
     Buttons          = new ButtonState[5];
     KeyBuffer        = new KeyData[0x100];
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KeyEventArgs"/> class.
 /// </summary>
 /// <param name="key">The key.</param>
 internal KeyEventArgs(KeyData key)
 {
     Key = key.Key;
     //Scancode = key.Scancode;
     Char = key.Char;
 }