mirror of
https://github.com/babalae/better-genshin-impact
synced 2025-01-07 03:17:16 +08:00
17 lines
365 B
C#
17 lines
365 B
C#
using Vanara.PInvoke;
|
|
|
|
namespace Fischless.WindowsInput;
|
|
|
|
public interface IInputDeviceStateAdaptor
|
|
{
|
|
public bool IsKeyDown(User32.VK keyCode);
|
|
|
|
public bool IsKeyUp(User32.VK keyCode);
|
|
|
|
public bool IsHardwareKeyDown(User32.VK keyCode);
|
|
|
|
public bool IsHardwareKeyUp(User32.VK keyCode);
|
|
|
|
public bool IsTogglingKeyInEffect(User32.VK keyCode);
|
|
}
|