The open source OpenXR runtime
0
fork

Configure Feed

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

d/hydra: Add shorter serial number

You use serials inside motoc, might aswell make the serial easier to type

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2469>

+1 -1
+1 -1
src/xrt/drivers/hydra/hydra_driver.c
··· 669 669 // hs->base.set_output = hydra_device_set_output; 670 670 hd->base.name = XRT_DEVICE_HYDRA; 671 671 snprintf(hd->base.str, XRT_DEVICE_NAME_LEN, "%s %i", "Razer Hydra Controller", (int)(i + 1)); 672 - snprintf(hd->base.serial, XRT_DEVICE_NAME_LEN, "%s %i", "Razer Hydra Controller", (int)(i + 1)); 672 + snprintf(hd->base.serial, XRT_DEVICE_NAME_LEN, "%s%i", "RZRHDRC", (int)(i + 1)); 673 673 SET_INPUT(1_CLICK); 674 674 SET_INPUT(2_CLICK); 675 675 SET_INPUT(3_CLICK);