The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/vive: Clarify variant from config comment

authored by

Christoph Haag and committed by
Jakob Bornecrantz
0f34fea8 721897f5

+6 -1
+6 -1
src/xrt/drivers/vive/vive_device.c
··· 1053 1053 1054 1054 char *config = vive_read_config(d->sensors_dev); 1055 1055 1056 + // Set logging level for the config we are about to fill out. 1056 1057 d->config.log_level = d->log_level; 1057 - // usb connected HMD variant is known because of USB id, config parsing relies on it. 1058 + 1059 + /* 1060 + * The prober knows which variant is connected because of 1061 + * the USB VID/PID but we use `variant` from json config. 1062 + */ 1058 1063 if (config != NULL) { 1059 1064 vive_config_parse(&d->config, config, d->log_level); 1060 1065 free(config);