Checks to see if any keys are pressed/released.