EyelinkEventExample
>Psychtoolbox>PsychHardware>EyelinkToolbox>EyelinkDemos>EyelinkShortDemos
Short MATLAB example program to demonstrate the use of events
with the Eyelink and Psychophysics Toolboxes. When subject gazes at an object
it changes color. When gaze moves away, it toggles back
  Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychHardware/EyelinkToolbox/EyelinkDemos/EyelinkShortDemos/EyelinkEventExample.m