Home › Forums › Software Development › Is it possible to have the EyeX run a script?
- This topic has 2 replies, 2 voices, and was last updated 8 years, 10 months ago by
Grant Wilde.
- AuthorPosts
- 09/10/2015 at 00:56 #3589
Grant Wilde
ParticipantHey all,
Basically, what I’m wondering, is whether it’s possible to have the EyeX run a script/shortcut every time it picks up my eyes, and also every time it loses my eyes? I also have the NUIA environment running if that helps?
Cheers,
13/10/2015 at 13:29 #3607Jenny [Tobii]
ParticipantHi Grant,
Since EyeX Engine 1.4.0 there is a state called “GazeTracking” that indicates if the user’s eye-gaze is currently tracked or not. All the EyeX SDK’s (for C/C++, .Net, and Unity) includes code samples that shows how you could set up a state change listener for that state. With a small console app you should then be able to use the state change to programmatically trigger running a script/shortcut.
16/10/2015 at 19:42 #3617Grant Wilde
ParticipantHi Jenny,
Thanks for the information. I’d basically like Windows 10 to automatically change the default sound output (and display if possible!) if EyeX sees me, and to switch it back when I leave. I think the scripting may be a little too complex for me though based on your information – are you planning to implement any features like this in the future?
Cheers 🙂
- AuthorPosts
- You must be logged in to reply to this topic.