[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

@@ -100,7 +100,10 @@ namespace winrt::PowerToys::PowerAccentKeyboardService::implementation
LetterKey::VK_Z,
LetterKey::VK_COMMA,
LetterKey::VK_PERIOD,
LetterKey::VK_MINUS };
LetterKey::VK_MINUS,
LetterKey::VK_SLASH_,
LetterKey::VK_DIVIDE_,
LetterKey::VK_MULTIPLY_, };
LetterKey letterPressed{};
static inline const std::vector<TriggerKey> triggers = { TriggerKey::Right, TriggerKey::Left, TriggerKey::Space };

View File

@@ -43,7 +43,10 @@ namespace PowerToys
VK_Z = 0x5A,
VK_COMMA = 0xBC,
VK_PERIOD = 0xBE,
VK_MINUS = 0xBD
VK_MINUS = 0xBD,
VK_MULTIPLY_ = 0x6A,
VK_SLASH_ = 0xBF,
VK_DIVIDE_ = 0x6F
};
enum TriggerKey