mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
32 lines
859 B
C#
32 lines
859 B
C#
using Windows.Win32;
|
|
|
|
namespace Flow.Launcher.Plugin
|
|
{
|
|
/// <summary>
|
|
/// Enumeration of key events for
|
|
/// <see cref="IPublicAPI.RegisterGlobalKeyboardCallback(System.Func{int, int, SpecialKeyState, bool})"/>
|
|
/// and <see cref="IPublicAPI.RemoveGlobalKeyboardCallback(System.Func{int, int, SpecialKeyState, bool})"/>
|
|
/// </summary>
|
|
public enum KeyEvent
|
|
{
|
|
/// <summary>
|
|
/// Key down
|
|
/// </summary>
|
|
WM_KEYDOWN = (int)PInvoke.WM_KEYDOWN,
|
|
|
|
/// <summary>
|
|
/// Key up
|
|
/// </summary>
|
|
WM_KEYUP = (int)PInvoke.WM_KEYUP,
|
|
|
|
/// <summary>
|
|
/// System key up
|
|
/// </summary>
|
|
WM_SYSKEYUP = (int)PInvoke.WM_SYSKEYUP,
|
|
|
|
/// <summary>
|
|
/// System key down
|
|
/// </summary>
|
|
WM_SYSKEYDOWN = (int)PInvoke.WM_SYSKEYDOWN
|
|
}
|
|
}
|