I am doing a pygame project and it is supposed to have only 4 fps which makes it a frame every 0.25 seconds. My problem is that when you click briefly on a key, the event might not get detected because the program does not check for events over the whole 0.25 seconds but rather once every 0.25 seconds, which makes it easy for it to miss out on an event. Is there a way to solve this problem in pygame? (I am using clock.tick() to set the fps)