I am using psychopy and iohub to collect eyetracking data collection with the eyelink (sr research) system. I would like to be able to set two things up: fixation events (where fixation for 100ms at a certain point is required for the next part of the task/new trial to occur) and "interest areas": basically, areas that are pre-defined regions so that I can analyze gaze duration in specific regions. The code I'm using is just the generic stuff I got psychopy for eyetracking (I'm no coding expert) and I can't figure out how to modify it to do these two things.
Thanks!