GASP/GASP_Code
6
1
Fork
You've already forked GASP_Code
4

Please add update_when_key_pressed() #10

Closed
opened 2021年03月19日 16:19:40 +01:00 by jelkner · 1 comment

The following function can replace update_when('key_pressed') from the old gasp:

def update_when_key_pressed():
 keys = keys_pressed()
 while len(keys) == 0:
 keys = keys_pressed()
 return list(keys)[0]

Please add this to the new gasp.

The following function can replace update_when('key_pressed') from the old gasp: def update_when_key_pressed(): keys = keys_pressed() while len(keys) == 0: keys = keys_pressed() return list(keys)[0] Please add this to the new gasp.

Fixed!

Fixed!
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GASP/GASP_Code#10
Reference in a new issue
GASP/GASP_Code
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?