pygame holding a button down

Solutions on MaxInterview for pygame holding a button down by the best coders in the world

showing results for - "pygame holding a button down"
Erica
28 Jun 2019
1while running: 
2    keys = key.get_pressed() 
3    if keys[K_DOWN]: 
4        print "DOWN" 
5    for e in event.get(): 
6        pass