2020-04-20 23:22:36 +08:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace KeyboardManagerConstants
|
|
|
|
{
|
|
|
|
// Name of the powertoy module.
|
|
|
|
inline const std::wstring ModuleName = L"Keyboard Manager";
|
|
|
|
|
|
|
|
// Name of the property use to store current active configuration.
|
|
|
|
inline const std::wstring ActiveConfigurationSettingName = L"activeConfiguration";
|
|
|
|
|
|
|
|
// Name of the property use to store single keyremaps.
|
|
|
|
inline const std::wstring RemapKeysSettingName = L"remapKeys";
|
|
|
|
|
|
|
|
// Name of the property use to store single keyremaps array in case of in process approach.
|
|
|
|
inline const std::wstring InProcessRemapKeysSettingName = L"inProcess";
|
|
|
|
|
|
|
|
// Name of the property use to store shortcut remaps.
|
|
|
|
inline const std::wstring RemapShortcutsSettingName = L"remapShortcuts";
|
|
|
|
|
|
|
|
// Name of the property use to store global shortcut remaps array.
|
|
|
|
inline const std::wstring GlobalRemapShortcutsSettingName = L"global";
|
|
|
|
|
|
|
|
// Name of the property use to store original keys.
|
|
|
|
inline const std::wstring OriginalKeysSettingName = L"originalKeys";
|
|
|
|
|
|
|
|
// Name of the property use to store new remap keys.
|
|
|
|
inline const std::wstring NewRemapKeysSettingName = L"newRemapKeys";
|
|
|
|
|
|
|
|
// Name of the default configuration.
|
|
|
|
inline const std::wstring DefaultConfiguration = L"default";
|
|
|
|
|
|
|
|
// Name of the named mutex used for configuration file.
|
|
|
|
inline const std::wstring ConfigFileMutexName = L"PowerToys.KeyboardManager.ConfigMutex";
|
|
|
|
|
|
|
|
// Name of the dummy update file.
|
|
|
|
inline const std::wstring DummyUpdateFileName = L"settings-updated.json";
|
2020-04-27 06:09:40 +08:00
|
|
|
|
|
|
|
// Initial value for tooltip
|
|
|
|
inline const winrt::hstring ToolTipInitialContent = L"Initialised";
|
2020-04-20 23:22:36 +08:00
|
|
|
}
|