PowerToys/src/common/interop
Ivan Stošić b266e336b5
[Launcher] Use a keyboard hook in the runner to invoke the Launcher (#6660)
* Added a keyboard hook to the runner

* Update RootKeyboardHook

* Enable reading the whole JsonObject property

* Renamed RootKeyboardHook to CentralizedKeyboardHook

* Fixed build break, changed callback return type to bool

* Added Hotkey struct which somehow went missing

+ Cherry-pick fixes

* Reorganized the kb hook

* Basic version works

* Various fixes

* Finishing touches

* Fix potential threading issue

* int -> size_t

* Add default initializers to the Hotkey struct

* Added a suggested comment

* Unified a constant

* Use C# classes instead of native calls for sync

* Added a claryfing comment

* Use std::move

* Renamed a method

* Possible fix for compilation errors

* Fix a regression

* Show a message on failure

* Added DISABLE_LOWLEVEL_HOOK support

* Allow running Launcher as standalone

* Rename string constants
2020-09-21 12:44:16 +02:00
..
HotkeyManager.cpp Added dummy key event to prevent Start Menu from popping up (#4874) 2020-07-09 08:14:47 -07:00
HotkeyManager.h Rework the HotkeyManager and KeyboardHook interop classes (#4710) 2020-07-03 08:21:06 -07:00
interop.cpp Display Unicode character for keys in HotkeySettingsControl (#2249) 2020-04-20 21:01:21 -07:00
interop.h [Launcher] Use a keyboard hook in the runner to invoke the Launcher (#6660) 2020-09-21 12:44:16 +02:00
interop.rc Added info to projects inside root, tests and common folders (#4413) 2020-06-23 16:53:16 +03:00
interop.vcxproj Warning fix: C++/CLI mode does not support C++ versions newer than C++17 (#5910) 2020-08-25 12:21:30 +03:00
interop.vcxproj.filters Added info to projects inside root, tests and common folders (#4413) 2020-06-23 16:53:16 +03:00
KeyboardHook.cpp Add in verbose error message and telemetry for SetWindowsHookEx failure (#6454) 2020-09-09 14:27:40 -07:00
KeyboardHook.h Warning fix: calling convention of '__cdecl ' ignored; '__clrcall ' used instead (#5931) 2020-08-17 16:41:11 +03:00
pch.cpp Display Unicode character for keys in HotkeySettingsControl (#2249) 2020-04-20 21:01:21 -07:00
pch.h [Settings/Run] LowLevel Keyboard hooking for Hotkeys (#3825) 2020-06-11 12:59:36 -07:00
Resource.h Added info to projects inside root, tests and common folders (#4413) 2020-06-23 16:53:16 +03:00