/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Settings/Helper.cs
22 строки
666 B
Mike Griese
Add the Command Palette module (#37908)
19 мар 2025, 11:39
Не верифицирован
19 мар 2025, 11:39
f68f408
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CmdPal.UI.ViewModels.Settings; public static class Helper { private static readonly global::PowerToys.Interop.LayoutMapManaged LayoutMap = new(); public static string GetKeyName(uint key) { return LayoutMap.GetKeyName(key); } public static uint GetKeyValue(string key) { return LayoutMap.GetKeyValue(key); } public static readonly uint VirtualKeyWindows = global::PowerToys.Interop.Constants.VK_WIN_BOTH; }