You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Don't copy events in GetOpenVREvents
* Don't log if HMD doesn't have chaperone props + default chap is missing
* Remove useless properties
Most of these are now set in the input profile.
We don't need to set Prop_CurrentUniverseId_Uint64, that should only be
set for HMD.
* Set Prop_ManufacturerName_String
* Specify hand in SteamVR for handed trackers
* Add comment about role hint not applying until SteamVR restart
* Set device icons in driver.vrresources
* Remove unnecessary comments, add comment about input profile
if (device_index_ == vr::k_unTrackedDeviceIndexInvalid) return;
17
17
18
18
// Check if this device was asked to be identified
19
-
auto events = GetDriver()->GetOpenVREvents();
20
-
for (auto event : events) {
19
+
auto& events = GetDriver()->GetOpenVREvents();
20
+
for (constauto& event : events) {
21
21
// Note here, event.trackedDeviceIndex does not necessarily equal device_index_, not sure why, but the component handle will match so we can just use that instead
0 commit comments