mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
[QuickAccent]Add combining characters (#23044)
* Add combining characters * Fix spelling * Change activation to VK_PERIOD
This commit is contained in:
@@ -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>(),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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{};
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user