[KBM]Allow remapping keys and shortcuts to arbitrary unicode sequences (#29399)

* [KBM] Allow remapping keys and shortcuts to arbitrary unicode sequences

* f: spelling

* f: tests

* f: split shortcut configuration

* f: address ui layout comments

* [BugReport]Don't report personal info

* f: fix crash in KBME

* f: add missed type button

* f: fix shortcut line UI elements alignment

* f: align elements size

* f: add warning about non-mapped keys
This commit is contained in:
Andrey Nekrasov
2023-11-23 11:46:07 +01:00
committed by GitHub
parent 2543dee1f1
commit f742d3c1c3
32 changed files with 698 additions and 173 deletions

View File

@@ -13,13 +13,22 @@ namespace Microsoft.PowerToys.Settings.UI.Library
[JsonPropertyName("remapKeys")]
public RemapKeysDataModel RemapKeys { get; set; }
[JsonPropertyName("remapKeysToText")]
public RemapKeysDataModel RemapKeysToText { get; set; }
[JsonPropertyName("remapShortcuts")]
public ShortcutsKeyDataModel RemapShortcuts { get; set; }
[JsonPropertyName("remapShortcutsToText")]
public ShortcutsKeyDataModel RemapShortcutsToText { get; set; }
public KeyboardManagerProfile()
{
RemapKeys = new RemapKeysDataModel();
RemapKeysToText = new RemapKeysDataModel();
RemapShortcuts = new ShortcutsKeyDataModel();
RemapShortcutsToText = new ShortcutsKeyDataModel();
}
public string ToJsonString()