I want my for loop to update even when there is no event. PYTHON

前端 未结 0 692
甜味超标
甜味超标 2020-11-29 21:22
while running == True:
    events = get_gamepad()
    for e in events:
        x_add,y_add = translate(e) #translates button pressions into keyboard and mouse action         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题