Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A viewer for Google Cardboard's current_device_profile, which identifies the parameters of the currently configured viewer.

License

Notifications You must be signed in to change notification settings

zzy165200/CardboardProfileViewer

Repository files navigation

This program tries to read Google Cardboard's current_device_params file, and display the parameters to the user. Ideally, it would also allow the user to adjust the interlens distance, as this is also a sort of proxy for interpupillary distance, which varies widely between users.

It's based off of Cardboard Profile Dumper: https://github.com/TheOnlyJoey/CardboardProfileDumper

and the CardboardDevice.proto file from https://github.com/google/wwgc/blob/master/www/CardboardDevice.proto

Current problems: --Has to skip the first 7 bytes of the file in order to read correctly. Since I don't know what these bytes signify, this prevents editing/writing the file. --Doesn't seem to show the has_magnet or primary_button fields from the protocol buffer. Oddly, when I viewed a sample file in a hex editor, I didn't see these values either; according to their types and position numbers, and the encoding scheme described at https://developers.google.com/protocol-buffers/docs/encoding#types I think they should be prefixed by 50 and 60, respectively, but I don't see those values in the file. I really need to print out the file and annotate it, though.

About

A viewer for Google Cardboard's current_device_profile, which identifies the parameters of the currently configured viewer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /