Home › Forums › Eye Tracking Devices › Tobii EyeX Linux? › Reply To: Tobii EyeX Linux?
07/02/2019 at 15:34 #9323
![](https://developer.tobii.com/wp-content/uploads/avatars/152/9f0495cea23af7f847014d0797fe7859-bpfull.png)
Keymaster
Hi @my5tery, as described on Page 25 of tobii_stream_engine_api.pdf the position_xy is an array of two floats, for the horizontal (x) and vertical (y) screen coordinate of the gaze point and is called in the code above at this junction:
void gaze_point_callback( tobii_gaze_point_t const* gaze_point, void* user_data )
{
if( gaze_point->validity == TOBII_VALIDITY_VALID )
printf( "Gaze point: %f, %f\n",
gaze_point->position_xy[ 0 ],
gaze_point->position_xy[ 1 ] );
}