Add workaround for IME Caps Lock issue (#4123)

* Add workaround for Japanese IME Caps Lock issue

* Changed tweak to reset modifier key rather than Caps Lock

* added tests

* Fixed test comment

* Moved environment initialization in KBM tests to TEST_METHOD_INITIALIZE
This commit is contained in:
Arjun Balgovind
2020-06-15 16:48:00 -07:00
committed by GitHub
parent f8cc129f04
commit 49cbcf01c6
6 changed files with 131 additions and 189 deletions

View File

@@ -8,6 +8,7 @@ namespace TestHelpers
{
input.ResetKeyboardState();
input.SetHookProc(nullptr);
input.SetSendVirtualInputTestHandler(nullptr);
state.ClearSingleKeyRemaps();
state.ClearOSLevelShortcuts();
}