Docs @ Psychtoolbox Wiki : FlushEvents

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

FlushEvents

PsychtoolboxPsychBasic

FlushEvents(['mouseUp'],['mouseDown'],['keyDown'],['autoKey'],['update'],...)

Remove events from the system event queue.

Windows + Matlab in -nojvm mode


Removes all events of the specified types from the event queue.
The arguments can be in any order. Empty strings are ignored.

Windows, Linux, OS-X under Matlab with Java enabled


FlushEvents will accept all arguments, but only 'keyDown' (or no
argument at all) removes keypress events. Events other than keypress
events are not supported.

Octave or Matlab in -nojvm mode under Linux and OS-X


FlushEvents, GetChar and CharAvail are not supported under GNU/Octave or
under Matlab running in -nojvm mode, except for the Microsoft Windows
version.

See also: GetChar, CharAvail, FlushEvents, EventAvail.




Path   Retrieve current version of FlushEvents.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychBasic/FlushEvents.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0422 seconds