You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some input events get lost if many keys are held simultaneously #307
I also reported this on glutin as rust-windowing/glutin#941, but realized that it actually comes from here.
I'm on macOS 10.12.6, reproducing this with the latest winit on crates.io.
If I press many keys simultaneously, some events start getting lost. If I press ASDFGHJK, I only see events for ASDFGH. Similarly, if I hold down any two arrow keys, I don't get a press event for the third.
I'd imagine this issue is more likely to do with your keyboard than it is winit - most keyboards have a ~6 key limit before presses start being ignored (I think there's a name for this limit but I've forgotten what it is). Could you test that you get the same behaviour with another program (maybe the garage band synth keyboard?) or perhaps another library?
It sounds like you're correct and this is the 6-key rollover. I'm not sure why the arrow-keys are differently limited at 2 (that was the suspicious part for me) but that also appears to be a hardware limitation. Thanks!
Activity
mitchmindtree commentedon Oct 6, 2017
Thanks for the issue!
I'd imagine this issue is more likely to do with your keyboard than it is winit - most keyboards have a ~6 key limit before presses start being ignored (I think there's a name for this limit but I've forgotten what it is). Could you test that you get the same behaviour with another program (maybe the garage band synth keyboard?) or perhaps another library?
porglezomp commentedon Oct 6, 2017
It sounds like you're correct and this is the 6-key rollover. I'm not sure why the arrow-keys are differently limited at 2 (that was the suspicious part for me) but that also appears to be a hardware limitation. Thanks!
Implement global shortcut on Linux, close rust-windowing#307 (rust-wi…
Revert "Implement global shortcut on Linux, close rust-windowing#307 (r…