[QuickAccent]Add multiplication and division signs (#25790)

* Add multiplication and division signs to Languages.cs

Adds multiplication (U+00D7, U+22C5) and division (U+00F7) signs to Languages.cs

* Add slash and asterisk to KeyboardListener.h

* Add slash, asterisk to KeyboardListener.idl

* Update Languages.cs

* VK_ASTERISK -> VK_MULTIPLY KeyboardListener.idl

* VK_ASTERISK -> VK_MULTIPLY Languages.cs

* VK_ASTERISK -> VK_MULTIPLY KeyboardListener.h

* Add VK_DIVIDE to Languages.cs

* Add VK_DIVIDE to KeyboardListener.h

* Add VK_DIVIDE to KeyboardListener.idl

* avoid protected names Languages.cs

* avoid protected names KeyboardListener.h

* avoid protected names KeyboardListener.idl
This commit is contained in:
Alexander Ilin-Tomich
2023-06-05 11:03:52 +02:00
committed by GitHub
parent 792a77437e
commit a012d591c2
3 changed files with 12 additions and 3 deletions

View File

@@ -116,12 +116,15 @@ namespace PowerAccent.Core
LetterKey.VK_T => new string[] { "ţ", "ť", "ț", "ṫ", "ŧ", "θ", "τ", "þ" },
LetterKey.VK_U => new string[] { "û", "ú", "ü", "ŭ", "ű", "ù", "ů", "ū", "ų", "ǔ", "υ", "ǖ", "ǘ", "ǚ", "ǜ" },
LetterKey.VK_W => new string[] { "ẇ", "ŵ", "₩" },
LetterKey.VK_X => new string[] { "ẋ", "ξ" },
LetterKey.VK_X => new string[] { "ẋ", "ξ", "×" },
LetterKey.VK_Y => new string[] { "ÿ", "ŷ", "ý", "ẏ" },
LetterKey.VK_Z => 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_SLASH_ => new string[] { "÷" },
LetterKey.VK_DIVIDE_ => new string[] { "÷" },
LetterKey.VK_MULTIPLY_ => new string[] { "×", "⋅" },
_ => Array.Empty<string>(),
};
}