[QuickAccent]Added ` (backtick) and ~ (tilde) to VK_OEM_5 (#20333) (#37286)

This commit is contained in:
Massimiliano Alberti
2025-02-18 23:45:58 +01:00
committed by GitHub
parent 5c2c74a6c9
commit 91b53cdc13
3 changed files with 5 additions and 2 deletions

View File

@@ -225,6 +225,7 @@ namespace PowerAccent.Core
LetterKey.VK_DIVIDE_ => new[] { "÷", "√" },
LetterKey.VK_MULTIPLY_ => new[] { "×", "⋅" },
LetterKey.VK_PLUS => new[] { "≤", "≥", "≠", "≈", "≙", "⊕", "⊗", "∓", "≅", "≡" },
LetterKey.VK_BACKSLASH => new[] { "`", "~" },
_ => Array.Empty<string>(),
};
}

View File

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

View File

@@ -47,7 +47,8 @@ namespace PowerToys
VK_MINUS = 0xBD,
VK_MULTIPLY_ = 0x6A,
VK_SLASH_ = 0xBF,
VK_DIVIDE_ = 0x6F
VK_DIVIDE_ = 0x6F,
VK_BACKSLASH = 0xDC
};
enum TriggerKey