SR Research Support Site
Macros
Eyelink Sample and Event Type Identifiers

Macros

#define SAMPLE_TYPE   200
 
#define STARTPARSE   1 /* these only have time and eye data */
 
#define ENDPARSE   2
 
#define BREAKPARSE   10
 
#define STARTBLINK   3
 
#define ENDBLINK   4
 
#define STARTSACC   5
 
#define ENDSACC   6
 
#define STARTFIX   7
 
#define ENDFIX   8
 
#define FIXUPDATE   9
 
#define STARTSAMPLES   15
 
#define ENDSAMPLES   16
 
#define STARTEVENTS   17
 
#define ENDEVENTS   18
 
#define MESSAGEEVENT   24
 
#define BUTTONEVENT   25
 
#define INPUTEVENT   28
 
#define LOST_DATA_EVENT   0x3F
 

Detailed Description

These codes can be used to identify the type of event or sample.

Macro Definition Documentation

#define BUTTONEVENT   25

Button state change

#define ENDBLINK   4

Event is an end blink event

#define ENDEVENTS   18

End of events in block

#define ENDFIX   8

Event is an end fixation event

#define ENDSACC   6

Event is an end saccade event

#define ENDSAMPLES   16

End of samples in block

#define FIXUPDATE   9

Event is a fixation update event

#define INPUTEVENT   28

Change of input port

#define LOST_DATA_EVENT   0x3F

NEW: Event flags gap in data stream

#define MESSAGEEVENT   24

User-definable text or data

#define SAMPLE_TYPE   200

The type code for samples

#define STARTBLINK   3

Event is a start blink event

#define STARTEVENTS   17

Start of events in block

#define STARTFIX   7

Event is a start fixation event

#define STARTSACC   5

Event is a start saccade event

#define STARTSAMPLES   15

Start of events in block


Copyright ©2002-2021, SR Research Ltd.