Skip to content

Commit

Permalink
Add check for lowercase SlimeVR driver name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitlith committed Jan 28, 2023
1 parent 84133c1 commit 108ae38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ class Trackers {
auto driver = this->GetStringProp(index, ETrackedDeviceProperty::Prop_TrackingSystemName_String);
auto info = tracker_info + index;

info->is_slimevr = (driver == "SlimeVR");
info->is_slimevr = (driver == "SlimeVR" || driver == "slimevr");

// only write values once, to avoid overwriting good values later.
if (info->name == "") {
Expand Down

0 comments on commit 108ae38

Please sign in to comment.