更新
This commit is contained in:
11
WPFDark/Internals/KeyboardHelper.cs
Normal file
11
WPFDark/Internals/KeyboardHelper.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace WPFDark.Internals
|
||||
{
|
||||
internal static class KeyboardHelper
|
||||
{
|
||||
internal static bool IsPressShift =>
|
||||
(Win32Helper.GetAsyncKeyState(Win32Helper.VK_SHIFT) & 0x8000) != 0;
|
||||
|
||||
internal static bool IsPressControl =>
|
||||
(Win32Helper.GetAsyncKeyState(Win32Helper.VK_CONTROL) & 0x8000) != 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user