mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-23 08:27:58 +08:00
670033c4da
* [Launcher/Settings] Low Level Keyboard Hooks * [Run] LowLevel Keyboard Hook for Hotkeys * Prevent shortcuts from auto repeating when keeping the keys pressed down
22 lines
570 B
C#
22 lines
570 B
C#
using System.Windows;
|
|
using System.Windows.Input;
|
|
|
|
namespace Wox.Plugin
|
|
{
|
|
public delegate void WoxKeyDownEventHandler(WoxKeyDownEventArgs e);
|
|
public delegate void AfterWoxQueryEventHandler(WoxQueryEventArgs e);
|
|
|
|
public delegate void ResultItemDropEventHandler(Result result, IDataObject dropObject, DragEventArgs e);
|
|
|
|
public class WoxKeyDownEventArgs
|
|
{
|
|
public string Query { get; set; }
|
|
public KeyEventArgs keyEventArgs { get; set; }
|
|
}
|
|
|
|
public class WoxQueryEventArgs
|
|
{
|
|
public Query Query { get; set; }
|
|
}
|
|
}
|