Replies: 3 comments
-
@niels9001 been a long time and does not seem like anyone is working on this bug. Do you want to pick this one? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@harishsk same here? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please take a look at: And Does this meet your needs? If not, can you please explain your scenario? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current behavior
There doesn't seem to be a way to get the current PointerState from code behind. We only have the StateChanged event that will give back the PointerState.
Expected behavior
The Tobii WPF SDK provides a GetHasGaze() function that tells you if the UI element has Gaze or not. In our case, the PointerState would be nice value to get returned.
This would allow for conditional functionality such as enabling certain things if the user's gaze is on a specific UI element.
E.g.
private void NormalButton_Click(object sender, RoutedEventArgs e)
{
if (GazeButton.PointerState == PointerState.Enter)
{
// DO SOMETHING
}
}
Minimal reproduction of the problem with instructions
Beta Was this translation helpful? Give feedback.
All reactions