Home Forums Legacy SDKs Find out what display the eye tracker is configured for

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2704
    Andrew Begel
    Participant

    I’m using the Gaze SDK with an EyeX eye tracker. It’s attached to my third monitor, and configured that way with the Tobii EyeX taskbar app.

    Is there an API in the SDK to find out which monitor this is set to?
    Is this value stored in the Win32 registry somewhere?

    Thanks.

    #2710
    Jenny [Tobii]
    Participant

    Hi Andrew,

    There is no concept of ‘monitor’ in the Gaze SDK. In this low level SDK you set up an Active Display Area with space coordinates relative to the eye tracker device. The Gaze SDK doesn’t mind if you are performing eye tracking with your eye tracker attached to a piece of cardboard rather than computer monitor 🙂 Whence, to meet the needs of PC application developers, Tobii provides the EyeX SDK.

    As you have noted, the EyeX Engine runtime comes with a built in configuration tool for screen setup. Through the EyeX SDK you can access the EyeX Engine API and retrieve information about the current screen configuration in pixels on the Virtual Screen. The EyeX Engine also takes care of all the cumbersome stuff of keeping these coordinates up to date if the display settings change due to resolution or dpi changes, or the adding/removing a monitor from the system.

    Since you are not using the Gaze SDK to configure the screen setup but need to access information about the setup, I suggest you consider switching to the EyeX SDK.

    #5501
    Edward Ryklin
    Participant

    There doesn’t seem to be a way to tell the eyex display setup which one of my monitors to use. In the past I believe there was a button that let you choose which of my multi monitor setups the tracker is mounted to. Now it just lets me adjust the width of the tracker’s physical dimensions. What am I missing?

    #5512
    Grant [Tobii]
    Keymaster

    Hi @ryklin,

    Whichever monitor is selected as the main display in windows. This can be access from within the control panel under display settings.

    #5516
    Edward Ryklin
    Participant

    I double checked and this did not make a difference. I am using Win10 and regardless of which of my two displays is set to the “Make this my main display”, the Tobii calibration screen always appears on the same monitor. It seems to be more concerned about how the displays are physically connected (which I can’t change), then this software setting. BUT this was not the case earlier! I recently upgraded my windows 10 to the very latest version 1607 Build 14393.10. So, maybe there’s a bug here.

    #5527
    Grant [Tobii]
    Keymaster

    Hi @ryklin, did you try to swap around the screen locations within Windows display settings?
    (ie move the left most screen to the right, etc)

    Also, you should be able to specify the monitor used for eye tracking when setting up the Tobii software for the first time.

    #5528
    Edward Ryklin
    Participant

    No I haven’t tried moving the screens around or swapping their virtual location. I don’t see why that would help though. I did try uninstalling the Tobii software and reinstalling but was never prompted for the screen number. So I guess the uninstall does not remove windows registry settings.

    #5536
    Edward Ryklin
    Participant

    I was able to overcome this problem by disconnecting my additional displays and just leaving the single main monitor plugged in. I ran my calibration and created a profile this way. Then I reconnected my additional monitors and my eye tracker works.

    #5540
    Grant [Tobii]
    Keymaster

    Hi @ryklin,

    Okay, thanks for the update (And workaround).. It should have been sufficient to simply rerun the initial setup and choose which monitor to select from tracking, but at least you got up and running in the end.

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