keyboard presses before their time
I would like to know how to ignore keyboard presses that happened before the keyboard input of the sketchpat (I think that this is what "Flush key pending events" does for the
I have a sketchpad A that lasts 2 minutes and then another sketchpad B with duration sets to "keypress". I noticed that if you press something during the sketchpad A, after the two minutes the sketchpad B gets skipped. How can I make that sketchpad B ignores the keyboard presses of sketchpad B?