better-genshin-impact/Fischless.HotkeyCapture/KeyPressedEventArgs.cs
2024-02-06 13:23:36 +08:00

16 lines
327 B
C#

using Vanara.PInvoke;
namespace Fischless.HotkeyCapture;
public class KeyPressedEventArgs : EventArgs
{
public User32.HotKeyModifiers Modifier { get; }
public Keys Key { get; }
public KeyPressedEventArgs(User32.HotKeyModifiers modifier, Keys key)
{
Modifier = modifier;
Key = key;
}
}