add KeyboardHook
This commit is contained in:
1 parent
084cd55af6
commit
983b2e8c02
7 files changed
+81
-5
No files matched your search
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace HandyControl.Data
|
||||
{
|
||||
internal class KeyboardHookEventArgs : EventArgs
|
||||
{
|
||||
public Key Key { get; }
|
||||
|
||||
public KeyboardHookEventArgs(int virtualKey)
|
||||
{
|
||||
Key = KeyInterop.KeyFromVirtualKey(virtualKey);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user