📜  pygame 按住按钮 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:18.478000             🧑  作者: Mango

代码示例1
while running: 
    keys = key.get_pressed() 
    if keys[K_DOWN]: 
        print "DOWN" 
    for e in event.get(): 
        pass