If a Key-down event didn't meet the expected criteria, the event was ignored in the "peek" loop, but it was never removed from the input queue either, so it remained at the top of the queue. It isn't clear if this fixes the dedicated arrow keys hanging, but if those were resulting in strange event values too, it just might.
20 KiB
20 KiB