Detect single key press in Python using key.get_pressed()

前端 未结 0 1128
失恋的感觉
失恋的感觉 2020-12-12 22:24

I am trying to detect a single key press no matter how long the key is held down. Example, if the \'a\' key is held down for 3 seconds, my current program would print this:<

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