Thank Olivier for your quick response.
import pygame
pygame.init()
pygame.display.set_mode((300, 300))
while 1:
if pygame.event.get(pygame.MOUSEBUTTONUP):
print 'up'
I checked into pygame code and it looks like this issue: https://bitbucket.org/pygame/pygame/issues/141/mousemotion-prevents-mousebuttonup-event
When you move and click at the same time, the event buffer is fill up to 127 elements capacity and no BUTTONUP event even if there are some BUTTONDOWN.
I think it's a pygame error, is there a way to bypass this ?
Thank you
Arnaud