1j01 / tracky-mouse

Mouse control via head tracking, as a cross platform desktop app and JS library. eViacam alternative.
https://trackymouse.js.org/
MIT License
25 stars 4 forks source link

Browser extension to bridge between the desktop app and web pages #27

Open 1j01 opened 1 year ago

1j01 commented 1 year ago

I want to make a browser extension, which would:

  1. Enhance system-level dwell clicking with knowledge of buttons, links, and other controls on web pages, with hover halos and centered dwell click indicators.
  2. Make it so you don't need to disable dwell clicking in the desktop app to use a web app that provides dwell clicking (for web applications that include the tracky-mouse.js library, or else support some protocol yet to be defined).
  3. Provide the equivalent of the desktop application for Chrome OS.
  4. Automatically enhance webpages to be friendlier toward facial mouse input, by preventing menus from closing based on hover, enlarging elements etc., probably using site-specific enhancements.
1j01 commented 2 months ago

thinking about detecting controls, briefly:

1j01 commented 2 months ago

oh, actually, I think my plan was to avoid translating page coordinates into screen coordinates by having the browser extension render the halos on the page, rather than the desktop app rendering the halos in the screen overlay window. that's like 100x simpler, right? don't need to worry about screen DPI or page scaling (pretty much), let alone rendering fiduciaries and accessing screen pixels I feel like I almost super overcomplicated this future for my future self by writing that half-baked note