mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
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:
parent
6fc7603e55
commit
0116a76db5
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue