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

GetEvent - 1.2

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.

Changes

some changes in code

Links

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

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
Aug 26, 2015


Aug 25, 2015


Aug 21, 2015

Aug 16, 2015


Jul 30, 2015

Jun 24, 2015

Jun 17, 2015

Jun 14, 2015

Jun 8, 2015

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