Fix remapping from Num Lock (#4083)

* Added num lock remap workaround

* Added comments

* Changed to 2 suppressed key events

* Fixed typos
This commit is contained in:
Arjun Balgovind
2020-06-05 12:54:52 -07:00
committed by GitHub
parent f5285b48b1
commit 3edb360d79
4 changed files with 33 additions and 3 deletions

View File

@@ -18,4 +18,7 @@ namespace KeyboardEventHandlers
// Function to a handle an app-specific shortcut remap
intptr_t HandleAppSpecificShortcutRemapEvent(LowlevelKeyboardEvent* data, KeyboardManagerState& keyboardManagerState) noexcept;
// Function to ensure Num Lock state does not change when it is suppressed by the low level hook
void SetNumLockToPreviousState();
};