GetEvent - 1
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.
click to view original size
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
May 1, 2016
Apr 6, 2016
Mar 27, 2016
Mar 26, 2016
Mar 22, 2016
Mar 19, 2016
Mar 17, 2016
Mar 13, 2016
Feb 27, 2016
Feb 21, 2016
Feb 12, 2016