
Tech
Moving focus and cursor between monitors with head pose on macOS
I have two monitors, and I kept typing into the window on the screen I'd just looked away from. Focus stays where it was, but my eyes have moved on. I made a menu bar app to fix it. It moves cursor and focus to the display you're facing.
The code is at https://github.com/arefbhrn/FocusFollow (MIT). This post is about how it works and what didn't.
Why head pose and not eye tracking
Proper eye tracking needs hardware a Mac doesn't have. But to tell two monitors apart yo...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to