python - Undefined variable from import PyGame_SDL2 in PyDev? -


i'm creating android game in pydev using pygame_sdl2 , rapt, keep getting these errors on specific lines of code:

#                                                  v here v elif ev.type == pygame.keydown , ev.key == pygame.k_ac_back: 

which gives me:

undefined variable import: k_ac_back 

i'm wondering if pygame error or pydev error; people seem having similar problems pydev (like so) tried , nothing happens.

could please give me direction on how fix this?


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

json - Gson().fromJson(jsonResult, Myobject.class) return values in 0's -