[MouseJump]Bring back telemetry events (#35582)

This commit is contained in:
Jaime Bernardo
2024-10-25 13:28:01 +01:00
committed by GitHub
parent 133aa85f2b
commit a0138cec5e
7 changed files with 38 additions and 6 deletions

View File

@@ -91,6 +91,10 @@ namespace winrt::PowerToys::Interop::implementation
{
return CommonSharedConstants::MOUSE_JUMP_SHOW_PREVIEW_EVENT;
}
hstring Constants::TerminateMouseJumpSharedEvent()
{
return CommonSharedConstants::TERMINATE_MOUSE_JUMP_SHARED_EVENT;
}
hstring Constants::AwakeExitEvent()
{
return CommonSharedConstants::AWAKE_EXIT_EVENT;

View File

@@ -26,6 +26,7 @@ namespace winrt::PowerToys::Interop::implementation
static hstring ShowPowerOCRSharedEvent();
static hstring TerminatePowerOCRSharedEvent();
static hstring MouseJumpShowPreviewEvent();
static hstring TerminateMouseJumpSharedEvent();
static hstring AwakeExitEvent();
static hstring ShowPeekEvent();
static hstring TerminatePeekEvent();

View File

@@ -23,6 +23,7 @@ namespace PowerToys
static String ShowPowerOCRSharedEvent();
static String TerminatePowerOCRSharedEvent();
static String MouseJumpShowPreviewEvent();
static String TerminateMouseJumpSharedEvent();
static String AwakeExitEvent();
static String ShowPeekEvent();
static String TerminatePeekEvent();

View File

@@ -81,6 +81,8 @@ namespace CommonSharedConstants
// Path to the events used by Mouse Jump
const wchar_t MOUSE_JUMP_SHOW_PREVIEW_EVENT[] = L"Local\\MouseJumpEvent-aa0be051-3396-4976-b7ba-1a9cc7d236a5";
const wchar_t TERMINATE_MOUSE_JUMP_SHARED_EVENT[] = L"Local\\TerminateMouseJumpEvent-252fa337-317f-4c37-a61f-99464c3f9728";
// Path to the event used by RegistryPreview
const wchar_t REGISTRY_PREVIEW_TRIGGER_EVENT[] = L"Local\\RegistryPreviewEvent-4C559468-F75A-4E7F-BC4F-9C9688316687";