Key light-up sometimes "hangs" until reset
Anytime I press a key, there is a non-zero chance that either the key press or the key release will not be caught by KeysPerSecond, it can occasionally "lag" slightly, too. I have a full n-key rollover keyboard, which means ghosting is not the main problem.
I'm unsure what's causing this, so I would appreciate any help you could give me. I am on Windows 11 24H2 26100.3775, running Java version 8 update 441.
A gif for reference.
This is also similar, if not the same problem, to an older issue #69.
Interesting, you're right in that this is probably not a keyboard hardware issue. It seems like keyboard events are just extremely delayed or completely lost, which I haven't seen happen before. Since you're still on a relatively old Java version it is possible that switching to a more actively maintained JRE might help (e.g., I personally use Eclipse Temurin 17 or 21), but this is also nothing more than a wild guess.
Made the switch to the actively maintained JRE, however, the issue persists.