Skip to content

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

Open

Description

@digitaltrails

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions