better-genshin-impact/Fischless.HotkeyCapture/KeyPressedEventArgs.cs

16 lines
327 B
C#
Raw Permalink Normal View History

2023-11-25 17:04:36 +08:00
using Vanara.PInvoke;
namespace Fischless.HotkeyCapture;
public class KeyPressedEventArgs : EventArgs
{
public User32.HotKeyModifiers Modifier { get; }
public Keys Key { get; }
2024-02-06 13:23:36 +08:00
public KeyPressedEventArgs(User32.HotKeyModifiers modifier, Keys key)
2023-11-25 17:04:36 +08:00
{
Modifier = modifier;
Key = key;
}
}