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

A special case for controls with emulated headsets #8

Merged
merged 2 commits into from
Nov 17, 2022

Conversation

Calandiel
Copy link
Contributor

Closes #7

It works by taking in optional arguments into the input function (a bool for whether or not a headset is emulated and then position and orientation). If none of the arguments are provided, the behavior is the same as before. When only the bool is present, it captures data from the emulated headset directly. The last case is there for when the render pass has a different transform than the headset (as is the case in the FPS example).

I also removed some duplicate data and fixed what I presume was a declaration of a table.

@immortalx74
Copy link
Owner

Thanks for that! I'll update the documentation too.

@immortalx74 immortalx74 merged commit 51626c7 into immortalx74:main Nov 17, 2022
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

Successfully merging this pull request may close these issues.

Consider adding a special case for headset emulation with mouse and keyboard
2 participants