EyelinkDoDriftCorrection

>Psychtoolbox>PsychHardware>EyelinkToolbox>EyelinkBasic

success=EyelinkDoDriftCorrection(el [, x][, y][, draw][, allowsetup])

DO PRE-TRIAL DRIFT CORRECTION

We repeat if ESC key pressed to do setup.
Setup might also have erased any pre-drawn graphics.

Note that EyelinkDoDriftCorrection() internally may use Snd() to play
auditory feedback tones if el.targetbeep=1 or el.feedbackbeep=1 and the
el.callback function is set to the default PsychEyelinkDispatchCallback().

If you want to use PsychPortAudio in a script that also calls EyelinkDoDriftCorrection,
then read “help Snd” for instructions on how to provide proper interoperation
between PsychPortAudio and the feedback sounds created by Eyelink. The demos
referenced under “help SR-ResearchDemos” show an even better approach than the
one described in “help Snd”.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychHardware/EyelinkToolbox/EyelinkBasic/EyelinkDoDriftCorrection.m