add 'Vive MV.' model_number variant

This commit is contained in:
humbletim 2021-07-27 20:02:33 -04:00
parent 9d9879ca3e
commit 0b36586fe7

View file

@ -232,6 +232,7 @@ vive_config_parse(struct vive_config *d, char *json_string)
d->variant = VIVE_VARIANT_INDEX;
VIVE_DEBUG(d, "Found Valve Index HMD");
} else if (strcmp(d->firmware.model_number, "Vive MV") == 0 ||
strcmp(d->firmware.model_number, "Vive MV.") == 0 ||
strcmp(d->firmware.model_number, "Vive. MV") == 0) {
d->variant = VIVE_VARIANT_VIVE;
VIVE_DEBUG(d, "Found HTC Vive HMD");