예제 #1
0
 public Input()
 {
     Key = new Dictionary<Keyboard.Key, KeyEvent>();
     MouseButton = new Dictionary<Mouse.Button, MouseButtonEvent>();
     Text = null;
     MouseWheel = null;
     MouseMove = null;
 }
예제 #2
0
 /// <summary>
 /// Constructs the text arguments from a text event.
 /// </summary>
 /// <param name="e">Text event.</param>
 public TextEventArgs(TextEvent e)
 {
     Unicode = Char.ConvertFromUtf32((int)e.Unicode);
 }
예제 #3
0
 /// <summary>
 /// Construct the text arguments from a text event
 /// </summary>
 /// <param name="e">Text event</param>
 ////////////////////////////////////////////////////////////
 public TextEventArgs(TextEvent e)
 {
     Unicode = Char.ConvertFromUtf32((int)e.Unicode);
 }