Well, I would normally have a global int lastPressed, and every time keyPressed() is called, check if (millis() - lastPressed > 200), then do what you want and at the end make lastPressed = millis(). In other words, When a key is pressed, if the time since it was last pressed is greater than 200 milliseconds, then execute my code.