GetEvent - 1.2
josmiley / Luke spywoker (mutualaccount)
GetEvent is a lib that I wrote for another project it allows you to filter mouse events to detect clicks the default timebase is 100 ms, but you can set this value in GetEvent.LAPS the clicks are retrieved via the MOUSEBUTTONUP event and the 'click' keyword, that is a list of 6 entries: [button number, button1 clicks, button2 clicks, ...] it is used as in the event module, look in example.py.so you can detect the real (multiple) clicks, not just single buttonup.
some changes in code
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.