2023-02-24 21:30:30 +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.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
|
|
|
|
{
|
|
|
|
|
public class MouseJumpProperties
|
|
|
|
|
{
|
2023-06-20 21:42:04 +08:00
|
|
|
|
public HotkeySettings DefaultActivationShortcut => new HotkeySettings(true, false, false, true, 0x44);
|
|
|
|
|
|
2023-02-24 21:30:30 +08:00
|
|
|
|
[JsonPropertyName("activation_shortcut")]
|
|
|
|
|
public HotkeySettings ActivationShortcut { get; set; }
|
|
|
|
|
|
2023-04-24 23:15:07 +08:00
|
|
|
|
[JsonPropertyName("thumbnail_size")]
|
|
|
|
|
public MouseJumpThumbnailSize ThumbnailSize { get; set; }
|
|
|
|
|
|
2023-02-24 21:30:30 +08:00
|
|
|
|
public MouseJumpProperties()
|
|
|
|
|
{
|
2023-06-20 21:42:04 +08:00
|
|
|
|
ActivationShortcut = DefaultActivationShortcut;
|
2023-04-24 23:15:07 +08:00
|
|
|
|
ThumbnailSize = new MouseJumpThumbnailSize();
|
2023-02-24 21:30:30 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|