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

New example - opentrack head-tracking to mouse events #181

Open
digitaltrails opened this issue Dec 2, 2022 · 0 comments
Open

New example - opentrack head-tracking to mouse events #181

digitaltrails opened this issue Dec 2, 2022 · 0 comments

Comments

@digitaltrails
Copy link

I just uploaded a opentrack-mouse gist. The gist reads the UPD-protocol output from opentrack (a head tracker), and uses evdev to inject the mouse move events. I thought it might be a useful example to mention here.

One thing to note. In the gist, the injection of mouse events silently failed until I included buttons in the capabilities passed to UInput. This may be a issue with the underlying library because a stackoverflow post reported a similar issue that was resolved in the same way (by adding buttons).

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

No branches or pull requests

1 participant