Home Forums Software Development Button that activates with gaze Reply To: Button that activates with gaze

#8354
Grant [Tobii]
Keymaster

Hi @bvicinay, okay thanks for that information. I would say you need to evaluate the means by which you are calling functions according to when gaze is captured within a gaze-aware component. Luckily, there is a pertinent example I can provide for you which should hopefully point you on the right track.

Please download the Tobii Core SDK Interaction samples for free @ https://github.com/Tobii/interaction-samples
Once you have loaded the solution into Visual Studio, goto the example ‘Gaze Aware Elements’ within the WPF Samples folder.

You will there within the file MainWindow.xaml the proper technique to determine gaze dwell time and how to act upon it. Hopefully this is exactly what you are looking for! Please let us know if you still hit any issues.