public Input() { Key = new Dictionary<Keyboard.Key, KeyEvent>(); MouseButton = new Dictionary<Mouse.Button, MouseButtonEvent>(); Text = null; MouseWheel = null; MouseMove = null; }
/// <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); }
/// <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); }