DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pygame holding a button down
while running: keys = key.get_pressed() if keys[K_DOWN]: print "DOWN" for e in event.get(): pass
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pygame
#holding
#button
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit