KeyboardManagerSettings.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Text.Json.Serialization; 6 7 using Microsoft.PowerToys.Settings.UI.Library.Interfaces; 8 9 namespace Microsoft.PowerToys.Settings.UI.Library 10 { 11 public class KeyboardManagerSettings : BasePTModuleSettings, ISettingsConfig 12 { 13 public const string ModuleName = "Keyboard Manager"; 14 15 [JsonPropertyName("properties")] 16 public KeyboardManagerProperties Properties { get; set; } 17 18 public KeyboardManagerSettings() 19 { 20 Properties = new KeyboardManagerProperties(); 21 Version = "1"; 22 Name = ModuleName; 23 } 24 25 public string GetModuleName() 26 { 27 return Name; 28 } 29 30 // This can be utilized in the future if the settings.json file is to be modified/deleted. 31 public bool UpgradeSettingsConfiguration() 32 { 33 return false; 34 } 35 } 36 }