Skip to main content

GetEvent - 1.2

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.


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.

Links

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

Releases

GetEvent 1.2 — 22 Apr, 2012

GetEvent 1.1 — 21 Apr, 2012

GetEvent 1 — 1 Apr, 2011

Pygame.org account Comments