Add in missing telemetry for Keyboard Manager usage (#6393)

* Added key remap invoked telemetry event

* Added queryperformance call

* Added in telemetry for key and shortcut remaps

* Removed redundant if check
This commit is contained in:
Arjun Balgovind
2020-09-08 14:40:02 -07:00
committed by GitHub
parent 1a51f77fce
commit fdd7d6afa4
3 changed files with 79 additions and 1 deletions

View File

@@ -17,4 +17,10 @@ public:
// Log number of app specific shortcut remaps when the user uses Edit Shortcuts and saves settings
static void AppSpecificShortcutRemapCount(const DWORD shortcutToShortcutCount, const DWORD shortcutToKeyCount) noexcept;
// Log if a key remap has been invoked
static void KeyRemapInvoked(bool isKeyToKey) noexcept;
// Log if a shortcut remap has been invoked
static void ShortcutRemapInvoked(bool isShortcutToShortcut, bool isAppSpecific) noexcept;
};