15 changed files with 169 additions and 65 deletions
@ -0,0 +1,13 @@ |
|||
namespace Perspex.Input.Raw |
|||
{ |
|||
public class RawTextInputEventArgs : RawInputEventArgs |
|||
{ |
|||
|
|||
public string Text { get; set; } |
|||
|
|||
public RawTextInputEventArgs(IKeyboardDevice device, uint timestamp, string text) : base(device, timestamp) |
|||
{ |
|||
Text = text; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,16 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using Perspex.Interactivity; |
|||
|
|||
namespace Perspex.Input |
|||
{ |
|||
public class TextInputEventArgs : RoutedEventArgs |
|||
{ |
|||
public IKeyboardDevice Device { get; set; } |
|||
|
|||
public string Text { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue