mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Add modifier key support when user action items.
This commit is contained in:
15
Wox.Plugin/ActionContext.cs
Normal file
15
Wox.Plugin/ActionContext.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Wox.Plugin
|
||||
{
|
||||
public class ActionContext
|
||||
{
|
||||
public SpecialKeyState SpecialKeyState { get; set; }
|
||||
}
|
||||
|
||||
public class SpecialKeyState
|
||||
{
|
||||
public bool CtrlPressed { get; set; }
|
||||
public bool ShiftPressed { get; set; }
|
||||
public bool AltPressed { get; set; }
|
||||
public bool WinPressed { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user