mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
* Enable app specific shortcut remapping * Fixed lowercase function call * Add test file * Moved GetForegroundProcess to II and added tests * Fixed runtime error while testing due to heap allocation across dll boundary * Renamed function * Changed shortcutBuffer type * Linked App specific UI to backend * Added shortcut validation logic on TextBox LostFocus handler * Moved Validate function and changed default text * Changed to case insensitive warning check * Changed to case insensitive warning check at OnClickAccept * Fixed alignment and spacing issues
21 lines
821 B
C++
21 lines
821 B
C++
#pragma once
|
|
|
|
class Trace
|
|
{
|
|
public:
|
|
static void RegisterProvider() noexcept;
|
|
static void UnregisterProvider() noexcept;
|
|
|
|
// Log if the user has KBM enabled or disabled - Can also be used to see how often users have to restart the keyboard hook
|
|
static void EnableKeyboardManager(const bool enabled) noexcept;
|
|
|
|
// Log number of key remaps when the user uses Edit Keyboard and saves settings
|
|
static void KeyRemapCount(const DWORD count) noexcept;
|
|
|
|
// Log number of os level shortcut remaps when the user uses Edit Shortcuts and saves settings
|
|
static void OSLevelShortcutRemapCount(const DWORD count) noexcept;
|
|
|
|
// Log number of app specific shortcut remaps when the user uses Edit Shortcuts and saves settings
|
|
static void AppSpecificShortcutRemapCount(const DWORD count) noexcept;
|
|
};
|