Home Forums Eye Tracking Devices Tobii EyeX Linux? Reply To: Tobii EyeX Linux?


I have been trying to run the example code, however, it says that there is error at error = tobii_wait_for_callbacks( NULL, 1, &device );
Saying that we cannot change from ‘int’ to ‘tobii_device_t* const*’.

But never mind of this problem. In this example code, I can only see that it is checking if everything is going fine, checking if there is any error. However, I cannot see anywhere where it is getting us the position of the gaze, except for the void gaze_point_callback.

I would just like to retrieve the x and y position so I can use them in my code. I have read the tobii_stream_engine_api.pdf, checking if there was any function of variable for that purpose, but I couldnt find it. Could you please lead me to the right way?