d/vive: Add Vive Wand controller name string for the HTC Vive Pro Eye.

Behave like other Wands, just a different name string.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
This commit is contained in:
Mario Kleiner 2023-04-13 22:26:12 +02:00 committed by Jakob Bornecrantz
parent 6fc7603e55
commit 0116a76db5

View file

@ -719,6 +719,7 @@ vive_config_parse_controller(struct vive_controller_config *d, char *json_string
VIVE_DEBUG(d, "Parsing model number: %s", d->firmware.model_number);
if (strcmp(d->firmware.model_number, "Vive. Controller MV") == 0 ||
strcmp(d->firmware.model_number, "VIVE Controller Pro MV") == 0 ||
strcmp(d->firmware.model_number, "Vive Controller MV") == 0) {
d->variant = CONTROLLER_VIVE_WAND;
VIVE_DEBUG(d, "Found Vive Wand controller");