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.
Jan 19, 2017
Jan 18, 2017
Jan 7, 2017
Dec 30, 2016
Dec 21, 2016
Dec 8, 2016
Nov 28, 2016
Nov 27, 2016
Nov 24, 2016
Nov 20, 2016
Nov 14, 2016