mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-27 01:57:41 +00:00
Fixes #4369. When Keyman is not handling a particular virtual key, it does not preserve the virtual key (TSF terminology, essentially reserves that virtual key + modifier for Keyman). In this situation, Keyman still receives and processes the virtual key event, but the modifier state is not passed through by kmtip to keyman32. This is normally okay, because our `GetMessage` hook is responsible for tracking modifiers. However, in UWP apps, our `GetMessage` hook does not get run, and so we lose the modifier keys. Thus, this update ensures that the modifier keys are processed when received by the TSF TIP. It does not hurt to process modifier events twice. |
||
|---|---|---|
| .. | ||
| src | ||