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

Implement OpenVR watcher #2

Closed
ErikBjare opened this issue Jun 28, 2016 · 5 comments
Closed

Implement OpenVR watcher #2

ErikBjare opened this issue Jun 28, 2016 · 5 comments

Comments

@ErikBjare
Copy link
Member

The current state of logging what is done is VR is horrible. RescueTime stops logging completely when mouse & keyboard input stops and since the window doesn't have to be in focus when in VR it likely wont in the short-medium term.

Should be easy enough, there are Python bindings here: https://pypi.python.org/pypi/openvr

@ErikBjare
Copy link
Member Author

ErikBjare commented Jun 28, 2016

The relevant part of the OpenVR API should be here: https://github.com/ValveSoftware/openvr/blob/e1507a27547d22a680153862865d40b90fad8c75/headers/openvr.h#L1364

It seems like the Python bindings for OpenVR aren't complete. May need to fork and extend.

Edit: My bad, the Python bindings for OpenVR seem very complete.

@ErikBjare
Copy link
Member Author

There also seems to be a useful event called SceneApplicationChanged: https://github.com/ValveSoftware/openvr/search?utf8=%E2%9C%93&q=VREvent_SceneApplicationChanged&type=Code

@ErikBjare
Copy link
Member Author

Would be cool to write this watcher in Rust.

There is both:

First we'd need a client library however.

@ErikBjare
Copy link
Member Author

I started something small here: https://github.com/ActivityWatch/aw-watcher-openvr

@ErikBjare
Copy link
Member Author

Closing this, any further discussion would be best done in the repo itself.

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

No branches or pull requests

1 participant