Well, when I've tried it in mainloop it ran too fast. Plus I only need keyboard to be read 60 frames per second, all over this would be excessive.