2020-04-21 10:25:14 -07:00
|
|
|
#pragma once
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
|
|
namespace CommonSharedConstants
|
|
|
|
|
{
|
|
|
|
|
// Flag that can be set on an input event so that it is ignored by Keyboard Manager
|
|
|
|
|
const ULONG_PTR KEYBOARDMANAGER_INJECTED_FLAG = 0x1;
|
2020-04-23 08:37:52 -07:00
|
|
|
|
|
|
|
|
// Fake key code to represent VK_WIN.
|
|
|
|
|
inline const DWORD VK_WIN_BOTH = 0x104;
|
2020-09-21 12:44:16 +02:00
|
|
|
|
|
|
|
|
// Path to the event used by PowerLauncher
|
|
|
|
|
const wchar_t POWER_LAUNCHER_SHARED_EVENT[] = L"Local\\PowerToysRunInvokeEvent-30f26ad7-d36d-4c0e-ab02-68bb5ff3c4ab";
|
2020-10-02 15:36:36 +03:00
|
|
|
|
|
|
|
|
// Max DWORD for key code to disable keys.
|
|
|
|
|
const DWORD VK_DISABLED = 0x100;
|
|
|
|
|
}
|