Fixes https://mb.srb2.org/showthread.php?t=44110.
Looks good to me.
Quick question (but not directly related to this fix): what happens if caps lock is on when SRB2 starts up?
The caps lock state is caught, because the window has to come into focus initially.
ah, okay then
After finally getting around to actually test it in-game, can confirm this works, and capslock state gets updated properly.
merged
mentioned in commit 5278d1ca