pythonpygame

How can I detect if the user has double-clicked in pygame?


I know I can check if there was a left click

event.type == pygame.MOUSEBUTTONDOWN and event.button == LEFT

but how can I check if they double clicked? Also is there any way to check if the user moved the scroll wheel forward or backwards?


Solution

  • I've never used pygame - but: