Document adb setprop usage for hmd_traits

This commit is contained in:
Patrick Nicolas
2026-07-05 11:59:57 +02:00
parent 6ad8f4546b
commit 9935203cfb
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -33,6 +33,15 @@ using hmd_permissions = magic_enum::containers::array<feature, const char *>;
class hmd_traits
{
public:
// Properties have the defaults below
// The cpp file has per-headset values
// it is possible to override values:
// on Android:
// adb setprop debug.wivrn.{property-name} {property-value}
// i.e. adb setprop debug.wivrn.view_locate false
// on Linux:
// export WIVRN_{PROPERTY-NAME}={property-value}
// i.e. export WIVRN_VIEW_LOCATE=false
std::string controller_profile = "generic-trigger-squeeze";
std::string controller_ray_model = "assets://ray.glb";
hmd_permissions permissions{};