Ok thanks to reply so fast :) yeah of course, it seems obvious now but i
didn't know there is a way to manage keyboard state without the common
event loop.
I ll use this created topic to ask something else about the optimization
of a game written with pygame. Restrict frames per second with
clock.tick(xx) and only update dirty rects (in case of static
background) is enough for a quite "simple" 2D game? Or there re more
optimizations to do? I don't try to reach perfect performance, only want
to make my faster as possible and less CPU consuming.