2020-04-20 23:22:36 +08:00
|
|
|
|
// 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.
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Lib
|
|
|
|
|
{
|
|
|
|
|
public class ShortcutsKeyDataModel
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("global")]
|
|
|
|
|
public List<KeysDataModel> GlobalRemapShortcuts { get; set; }
|
2020-04-23 05:55:45 +08:00
|
|
|
|
|
2020-07-11 08:07:28 +08:00
|
|
|
|
[JsonPropertyName("appSpecific")]
|
|
|
|
|
public List<AppSpecificKeysDataModel> AppSpecificRemapShortcuts { get; set; }
|
|
|
|
|
|
2020-04-23 05:55:45 +08:00
|
|
|
|
public ShortcutsKeyDataModel()
|
|
|
|
|
{
|
|
|
|
|
GlobalRemapShortcuts = new List<KeysDataModel>();
|
2020-07-11 08:07:28 +08:00
|
|
|
|
AppSpecificRemapShortcuts = new List<AppSpecificKeysDataModel>();
|
2020-04-23 05:55:45 +08:00
|
|
|
|
}
|
2020-04-20 23:22:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|