Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tobii eye tracking to access the Windows taskbar #18

Closed
jamesmugford opened this issue Dec 17, 2018 · 6 comments
Closed

Tobii eye tracking to access the Windows taskbar #18

jamesmugford opened this issue Dec 17, 2018 · 6 comments

Comments

@jamesmugford
Copy link

Absolutely love this project.

Specifically the Tobii eye tracking feature.

Would it be possible to access the windows taskbar using this?

Happy to run custom task bar, if that would help?

I noticed it can reach the taskbar if it's docked on the left or the right side of the screen.

OS: Windows 10 64bit.

@NathanSweet
Copy link
Member

Hello! Not sure what you mean. I can look at my windows taskbar and click to select an application. I use the taskbar at the bottom of the screen.

@jamesmugford
Copy link
Author

Ahh, interesting. So it may be an issue with my local setup?

I have a 1200x1080 monitor, single screen.

It's working beutifully on the side, so I'm happy, but it might be nice for the project.

Interestingly, when I resize the taskbar at the bottom, I can access the newly added area.

I'm using small taskbar icons. When I resize to using regular sized icons, I can, as above, only access the newly added area.

So it's like there's a fixed 30px area at the bottom (size of my taskbar with small icons) that is inaccessable (even when the taskbar is docked to the left). This problem persists after restarting Clippy.

@jamesmugford
Copy link
Author

Having a further play, it looks like there's a 15px inacessable area at the top as well. This hasn't caused any issues so far, so I haven't noticed until just now.

@jamesmugford
Copy link
Author

Another update, there is now inacessable bars (15px each?) to the left and right of the screen. I don't recall this being there in the past. These may have been introduced by redocking the taskbar to the right.

Either way, I think Clippy may be caching the screen size too small?

@NathanSweet
Copy link
Member

Clippy uses margins to keep the mouse on the screen:
https://github.com/EsotericSoftware/clippy/blob/master/src/com/esotericsoftware/clippy/Tobii.java#L18
To change these, you would need to change the source and recompile Clippy.

@jamesmugford
Copy link
Author

Aah, handy to know.

Thanks, I don't think I'll go though the trouble of compiling it just yet. Might be nice if this was exposed for config variables if you think this is important. It seems to break the usage if you don't have any OS resolution scaling of any kind?

Best Regards,
James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants