[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] eventstates



> eventstates[e.key]=True
> if eventstates[K_RSHIFT]==True : # if Right shift key pressed then
>    if eventstates[K_ESCAPE]== True : return #quit program

I see this "eventstates" array/object from time to time on the mailing
list. Is it a pygame built-in or just a convention? Is it documented
anywhere?

-- 
   Your parents did it. How cool can it be?
      - Billboard in Mississippi to discourage teen smoking.