[QuickAccent]Add combining characters (#23044)

* Add combining characters

* Fix spelling

* Change activation to VK_PERIOD
This commit is contained in:
Aaron Junker
2023-01-12 17:02:25 +01:00
committed by GitHub
parent 7a0dd5b455
commit 1a1f4351ca
3 changed files with 3 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ namespace PowerAccent.Core
LetterKey.VK_Y => new string[] { "ÿ", "ŷ", "ý", "ẏ" }, LetterKey.VK_Y => new string[] { "ÿ", "ŷ", "ý", "ẏ" },
LetterKey.VK_Z => new string[] { "ź", "ž", "ż", "ʒ", "ǯ", "ζ" }, LetterKey.VK_Z => new string[] { "ź", "ž", "ż", "ʒ", "ǯ", "ζ" },
LetterKey.VK_COMMA => new string[] { "¿", "¡", "∙", "₋", "⁻", "", "≤", "≥", "≠", "≈", "≙", "±", "₊", "⁺" }, LetterKey.VK_COMMA => new string[] { "¿", "¡", "∙", "₋", "⁻", "", "≤", "≥", "≠", "≈", "≙", "±", "₊", "⁺" },
LetterKey.VK_PERIOD => new string[] { "\u0300", "\u0301", "\u0302", "\u0303", "\u0304", "\u0308", "\u030C" },
LetterKey.VK_MINUS => new string[] { "~", "", "", "", "", "—", "―", "", "", "⸺", "⸻" }, LetterKey.VK_MINUS => new string[] { "~", "", "", "", "", "—", "―", "", "", "⸺", "⸻" },
_ => Array.Empty<string>(), _ => Array.Empty<string>(),
}; };

View File

@@ -99,6 +99,7 @@ namespace winrt::PowerToys::PowerAccentKeyboardService::implementation
LetterKey::VK_Y, LetterKey::VK_Y,
LetterKey::VK_Z, LetterKey::VK_Z,
LetterKey::VK_COMMA, LetterKey::VK_COMMA,
LetterKey::VK_PERIOD,
LetterKey::VK_MINUS }; LetterKey::VK_MINUS };
LetterKey letterPressed{}; LetterKey letterPressed{};

View File

@@ -42,6 +42,7 @@ namespace PowerToys
VK_Y = 0x59, VK_Y = 0x59,
VK_Z = 0x5A, VK_Z = 0x5A,
VK_COMMA = 0xBC, VK_COMMA = 0xBC,
VK_PERIOD = 0xBE,
VK_MINUS = 0xBD VK_MINUS = 0xBD
}; };