I have made a simple two player game, that uses the GetAsyncKeyState API to get keyboard input.
But when more then 6 keys are pressed simultaneously, the speaker beeps, and the program freezes for half a second.

Also, when UP, LEFT, R and G are pressed only R orG are detected (I use RDFG for player 2 controls)

This seems to apply not only in my game, is it a limitation/bug of Windows?
Does anyone know what to do about this?