Home Forums Software Development Is it possible to have the EyeX run a script?

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3589
    Grant Wilde
    Participant

    Hey 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,

    #3607
    Jenny [Tobii]
    Participant

    Hi 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.

    #3617
    Grant Wilde
    Participant

    Hi 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 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.