forked from Flow-Launcher/Flow.Launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Flow-Launcher#3122 from Jack251970/dev3
Replace DllImport and flags with CSWin32 & Remove useless DllImport and flags & Fix right Win key click issue
- Loading branch information
Showing
31 changed files
with
659 additions
and
843 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
using Windows.Win32; | ||
|
||
namespace Flow.Launcher.Infrastructure.Hotkey | ||
{ | ||
public enum KeyEvent | ||
{ | ||
/// <summary> | ||
/// Key down | ||
/// </summary> | ||
WM_KEYDOWN = 256, | ||
WM_KEYDOWN = (int)PInvoke.WM_KEYDOWN, | ||
|
||
/// <summary> | ||
/// Key up | ||
/// </summary> | ||
WM_KEYUP = 257, | ||
WM_KEYUP = (int)PInvoke.WM_KEYUP, | ||
|
||
/// <summary> | ||
/// System key up | ||
/// </summary> | ||
WM_SYSKEYUP = 261, | ||
WM_SYSKEYUP = (int)PInvoke.WM_SYSKEYUP, | ||
|
||
/// <summary> | ||
/// System key down | ||
/// </summary> | ||
WM_SYSKEYDOWN = 260 | ||
WM_SYSKEYDOWN = (int)PInvoke.WM_SYSKEYDOWN | ||
} | ||
} | ||
} |
Oops, something went wrong.