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

Mouse jumps confusingly when timing out from manual control #21

Open 1j01 opened 2 years ago

1j01 commented 2 years ago

There is a feature for regaining mouse control (pausing the head tracker temporarily) by just moving the mouse normally. It returns to head tracking after a time. When it does, it jumps from whereever you moved the mouse to, to the location it would have been had it not switched to manual control temporarily. This is confusing because you can't see where the pointer is going to return to, and often can't find the cursor at all because it's suddenly somewhere you're not expecting, and hazardous because it starts dwell clicking right away.

I see two solutions to this:

  1. Make the head tracking move the mouse relatively instead of remembering an absolute position. This might work better for one person trying to use the head tracking in tandem with occasional mouse movements (for precision, and/or resetting the offset other than by moving their head past where the cursor reaches the edge of the screen). It would also work better for 3D games with pointer lock.
  2. Show the absolute position tracked by the user's head in a way other than the system cursor. This might work better in the case of disabled person and a caretaker, as the disabled person could express opinions about options being chosen more naturally on the screen. Could use this smiling cursor I designed for the logo: tracky-mouse-logo-16 or something more muted/neutral. Or anything else. It could be an option. This also could open the door to multiplayer games with one person using a mouse and one person using head movements, if dwell clicking is enabled at the same time as physical mouse input, moving the system cursor instantly to the dwell click spot and back. (But that would need another setting I think.)

tracky-mouse-logo-32