[QuickAccent] Add dashes (#20469)

* Add dashes
This commit is contained in:
Aaron Junker
2023-01-09 00:20:42 +01:00
committed by GitHub
parent 9434936679
commit 473e5dbf75
3 changed files with 5 additions and 2 deletions

View File

@@ -114,6 +114,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_MINUS => new string[] { "~", "", "", "", "", "—", "―", "", "", "⸺", "⸻" },
_ => Array.Empty<string>(), _ => Array.Empty<string>(),
}; };
} }

View File

@@ -98,7 +98,8 @@ namespace winrt::PowerToys::PowerAccentKeyboardService::implementation
LetterKey::VK_X, LetterKey::VK_X,
LetterKey::VK_Y, LetterKey::VK_Y,
LetterKey::VK_Z, LetterKey::VK_Z,
LetterKey::VK_COMMA }; LetterKey::VK_COMMA,
LetterKey::VK_MINUS };
LetterKey letterPressed{}; LetterKey letterPressed{};
static inline const std::vector<TriggerKey> triggers = { TriggerKey::Right, TriggerKey::Left, TriggerKey::Space }; static inline const std::vector<TriggerKey> triggers = { TriggerKey::Right, TriggerKey::Left, TriggerKey::Space };

View File

@@ -41,7 +41,8 @@ namespace PowerToys
VK_X = 0x58, VK_X = 0x58,
VK_Y = 0x59, VK_Y = 0x59,
VK_Z = 0x5A, VK_Z = 0x5A,
VK_COMMA = 0xBC VK_COMMA = 0xBC,
VK_MINUS = 0xBD
}; };
enum TriggerKey enum TriggerKey