pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
GetEvent

GetEvent - 1

josmiley / Luke spywoker (mutualaccount)

Tags:

Description

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.

Links

Home Page: http://joel-murielle.perso.sfr.fr/
Source: http://joel-murielle.perso.sfr.fr/GetEvent.zip

Screenshot


click to view original size

Releases

GetEvent - 1.2 - Apr 22, 2012
GetEvent - 1.1 - Apr 21, 2012
GetEvent - 1 - Apr 1, 2011

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Dec 16, 2014


Dec 14, 2014

Dec 9, 2014

Dec 6, 2014

Dec 5, 2014

Dec 3, 2014

Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)