@@ -120,36 +120,36 @@ vr::EVRInitError SlimeVRDriver::TrackerDevice::Activate(uint32_t unObjectId)
120120 auto props = GetDriver ()->GetProperties ()->TrackedDeviceToPropertyContainer (this ->device_index_ );
121121
122122 // Setup inputs and outputs
123- GetDriver ()->GetInput ()->CreateHapticComponent (props, " /output/haptic" , &this ->haptic_component_ );
123+ // GetDriver()->GetInput()->CreateHapticComponent(props, "/output/haptic", &this->haptic_component_);
124124
125- GetDriver ()->GetInput ()->CreateBooleanComponent (props, " /input/system/click" , &this ->system_click_component_ );
126- GetDriver ()->GetInput ()->CreateBooleanComponent (props, " /input/system/touch" , &this ->system_touch_component_ );
125+ // GetDriver()->GetInput()->CreateBooleanComponent(props, "/input/system/click", &this->system_click_component_);
126+ // GetDriver()->GetInput()->CreateBooleanComponent(props, "/input/system/touch", &this->system_touch_component_);
127127
128128 // Set some universe ID (Must be 2 or higher)
129- GetDriver ()->GetProperties ()->SetUint64Property (props, vr::Prop_CurrentUniverseId_Uint64, 2 );
129+ GetDriver ()->GetProperties ()->SetUint64Property (props, vr::Prop_CurrentUniverseId_Uint64, 4 );
130130
131131 // Set up a model "number" (not needed but good to have)
132- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_ModelNumber_String, " Vive Tracker Pro MV " );
132+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_ModelNumber_String, " SlimeVR Virtual Tracker " );
133133
134134 // Opt out of hand selection
135135 GetDriver ()->GetProperties ()->SetInt32Property (props, vr::Prop_ControllerRoleHint_Int32, vr::ETrackedControllerRole::TrackedControllerRole_OptOut);
136136
137137 // Set up a render model path
138- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_RenderModelName_String, " vr_controller_05_wireless_b " );
138+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_RenderModelName_String, " {htc}/rendermodels/vr_tracker_vive_1_0 " );
139139
140140 // Set controller profile
141- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_InputProfilePath_String, " {example }/input/example_tracker_bindings.json" );
141+ // GetDriver()->GetProperties()->SetStringProperty(props, vr::Prop_InputProfilePath_String, "{slimevr }/input/example_tracker_bindings.json");
142142
143143 // Set the icon
144- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceReady_String, " {example }/icons/tracker_ready.png" );
145-
146- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceOff_String, " {example }/icons/tracker_not_ready.png" );
147- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceSearching_String, " {example }/icons/tracker_not_ready.png" );
148- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceSearchingAlert_String, " {example }/icons/tracker_not_ready.png" );
149- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceReadyAlert_String, " {example }/icons/tracker_not_ready.png" );
150- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceNotReady_String, " {example }/icons/tracker_not_ready.png" );
151- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceStandby_String, " {example }/icons/tracker_not_ready.png" );
152- GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceAlertLow_String, " {example }/icons/tracker_not_ready.png" );
144+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceReady_String, " {slimevr }/icons/tracker_ready.png" );
145+
146+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceOff_String, " {slimevr }/icons/tracker_not_ready.png" );
147+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceSearching_String, " {slimevr }/icons/tracker_not_ready.png" );
148+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceSearchingAlert_String, " {slimevr }/icons/tracker_not_ready.png" );
149+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceReadyAlert_String, " {slimevr }/icons/tracker_not_ready.png" );
150+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceNotReady_String, " {slimevr }/icons/tracker_not_ready.png" );
151+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceStandby_String, " {slimevr }/icons/tracker_not_ready.png" );
152+ GetDriver ()->GetProperties ()->SetStringProperty (props, vr::Prop_NamedIconPathDeviceAlertLow_String, " {slimevr }/icons/tracker_not_ready.png" );
153153
154154 switch (deviceId)
155155 {
0 commit comments