Skip to content

Tracked device properties - #184

Open
vilhalmer wants to merge 8 commits into
GodotVR:masterfrom
liminetics:tracked-device-properties
Open

vilhalmer wants to merge 8 commits into
GodotVR:masterfrom
liminetics:tracked-device-properties

Conversation

@vilhalmer

Copy link
Copy Markdown
Collaborator

Expose the tracked device properties provided by OpenVR. This allows checking all sorts of manufacturer and state info for controllers, trackers, and the HMD. The correct Get function is used depending on which Variant type will be returned.

This also removes the old battery state functions, as this info can be fetched generically now. Making use of that 2.0 breaking change opportunity. :)

The binary, array, and vector types are still TODO. Not sure what format they actually arrive in, and I didn't need them so I didn't want to return potentially invalid data in the meantime.

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.

1 participant