Home Forums Software Development Trigger Button Press via Gaze

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8129
    Anonymous
    Inactive

    Hey Guys,
    i am kinda new to C# and this is also my first time playing around with the Tobii EyeX Eye Tracker.

    I want to Design a virutal Keyboard, which should be controlled via Gaze.
    I already Designed a WPF Layout with some Buttons, which have the IsGazeAware Enabled and a Delay Time which represent a so called “dwell time”, so that the button will only be “pressed” after gazing for e.g 1000ms.

    My Question now is: how can i “trigger” a button press. Can i somehow call a method in the <Trigger> Tag, that e.g prints a letter in my textbox or so?
    Or is there any better way to do it?

    kind regards
    David

    #8133
    Alex [Tobii]
    Participant

    H @dabinder !

    You can trigger “Activate” event using following code:

    
                host.Commands.Input.SendActivationModeOn();
                host.Commands.Input.SendActivation();
                host.Commands.Input.SendActivationModeOff();
    

    https://tobii.github.io/CoreSDK/articles/interactors.html

    It might also be interesting to look at some existing virtual keyboard projects:
    https://github.com/OptiKey/OptiKey/wiki

    #8142
    Anonymous
    Inactive

    How can I specify, at which button I viewed?

    #8143
    Alex [Tobii]
    Participant

    I will understand it automatically if the button is marked as gaze aware:
    https://tobii.github.io/CoreSDK/articles/wpf.html

    #19668
    Emy
    Participant

    Hello! The link above doesn’t work.

    #19675
    Grant [Tobii]
    Keymaster

    Hi Emy, the Tobii Core SDK has since been deprecated and replaced by the new Tobii Interaction Library API which has support for C# & C++

    You can download the package and view our getting started guide @

    Getting Started

    Check it out and let us know how you get on! Best Wishes.

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