# EyelinkDoTrackerSetup bug?

**URL:** <https://psychtoolbox.discourse.group/t/eyelinkdotrackersetup-bug/519>\
**Category:** Uncategorized\
**Created:** [March 14, 2011, 1:56pm UTC](https://psychtoolbox.discourse.group/t/eyelinkdotrackersetup-bug/519 "2011-03-14T13:56:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [March 14, 2011, 1:56pm UTC](https://psychtoolbox.discourse.group/t/eyelinkdotrackersetup-bug/519/1 "2011-03-14T13:56:14Z")

</div>

It seems like there might be a bug in EyelinkDoTrackerSetup or related   
functions:  
If I run this code, then calibration has a gray background, and yellow   
targets, while I explicitely ask for a white background.  
  
%------------------------------------------------------------------------------------------------------------  
el=EyelinkInitDefaults(window);  
  
el.backgroundcolour = 255;  
EyelinkInit(0, 1)  
EyelinkDoTrackerSetup(el);  
%------------------------------------------------------------------------------------------------------------  
  
But, when I set el.callback to an empty matrix (which makes   
EyelinkDoTrackerSetup use the 'old version' of the eyelink setup), then   
it works fine:  
  
%------------------------------------------------------------------------------------------------------------  
el=EyelinkInitDefaults(window);  
el.callback = [];  
el.backgroundcolour = 255;  
EyelinkInit(0, 1)  
EyelinkDoTrackerSetup(el);  
%------------------------------------------------------------------------------------------------------------  
  
Could this be a bug in the new version of the eyelink setup, or is there   
a new way of changing the eyelink settings too?
