Head Mouse Prototype #211
gbishop
announced in
Announcements
Replies: 2 comments 4 replies
-
This is cool Gary! Head mouse works for me to interact with the design. Keyboard controls were not working for me, but I will keep playing around a bit. |
Beta Was this translation helpful? Give feedback.
4 replies
-
So cool that within seconds of setting it up it's tracking my head movements. Like Andrea notes above, I'm not able to use the keyboard controls to access the tracky-mouse controls to see the camera and play around with the parameters. |
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
-
This is truly a hack. I started with tracky-mouse and did the minimum to get it working in our app. It really needs to be rewritten but seems to work.
I have not yet pushed it to production but you can try it from my repo.
https://gbishop.github.io/OS-DPI/?fetch=examples/updated/headmouse_example.osdpi
I configured the example with keyboard controls (see the KeyHandler in the Pointer dwell method).
I don't hide the normal mouse pointer but things get weird if you use both simultaneously because things aren't internally designed for multiple mice.
There is a single state variable that defaults to
$HeadMouse
. Set it to "on" to start tracking, "off" to stop tracking or "setup" to open the controls. See the Actions withPointer dwell
as their origin.Please give it a try and let me know if it works for you. I have been able to operate it from greater than 6 feet away by turning up the horizontal and vertical sensitivity.
Beta Was this translation helpful? Give feedback.
All reactions