We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35a97a commit 4931318Copy full SHA for 4931318
src/platform_impl/windows/event_loop.rs
@@ -1040,6 +1040,9 @@ unsafe fn public_window_callback_inner(
1040
let mut result = ProcResult::DefWindowProc(wparam);
1041
1042
// Send new modifiers before sending key events.
1043
+ // NOTE: Some modifier key presses are not reported as KeyDown/Up events when the same
1044
+ // alternative side modifier is being held, e.g., in a sequence of ↓LShift ↓RShift ↑RShift the
1045
+ // last event is not reported.
1046
let mods_changed_callback = || match msg {
1047
WM_KEYDOWN | WM_SYSKEYDOWN | WM_KEYUP | WM_SYSKEYUP => {
1048
update_modifiers(window, userdata);
0 commit comments