The open source OpenXR runtime
0
fork

Configure Feed

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

d/survive: Fix bindings declaration after rebase of MR 587

+8 -6
+8 -6
src/xrt/drivers/survive/survive_driver.c
··· 1260 1260 {XRT_OUTPUT_NAME_SIMPLE_VIBRATION, XRT_OUTPUT_NAME_VIVE_HAPTIC}, 1261 1261 }; 1262 1262 1263 - static struct xrt_binding bindings_index[1] = { 1263 + static struct xrt_binding_profile binding_profiles_index[1] = { 1264 1264 { 1265 1265 .name = XRT_DEVICE_SIMPLE_CONTROLLER, 1266 1266 .inputs = simple_inputs_index, ··· 1270 1270 }, 1271 1271 }; 1272 1272 1273 - static struct xrt_binding bindings_vive[1] = { 1273 + static struct xrt_binding_profile binding_profiles_vive[1] = { 1274 1274 { 1275 1275 .name = XRT_DEVICE_SIMPLE_CONTROLLER, 1276 1276 .inputs = simple_inputs_vive, ··· 1398 1398 1399 1399 survive->base.outputs[0].name = XRT_OUTPUT_NAME_INDEX_HAPTIC; 1400 1400 1401 - survive->base.bindings = bindings_index; 1402 - survive->base.num_binding_profiles = ARRAY_SIZE(bindings_index); 1401 + survive->base.binding_profiles = binding_profiles_index; 1402 + survive->base.num_binding_profiles = 1403 + ARRAY_SIZE(binding_profiles_index); 1403 1404 1404 1405 survive->base.hand_tracking_supported = true; 1405 1406 ··· 1422 1423 1423 1424 survive->base.outputs[0].name = XRT_OUTPUT_NAME_VIVE_HAPTIC; 1424 1425 1425 - survive->base.bindings = bindings_vive; 1426 - survive->base.num_binding_profiles = ARRAY_SIZE(bindings_vive); 1426 + survive->base.binding_profiles = binding_profiles_vive; 1427 + survive->base.num_binding_profiles = 1428 + ARRAY_SIZE(binding_profiles_vive); 1427 1429 1428 1430 survive->base.device_type = XRT_DEVICE_TYPE_ANY_HAND_CONTROLLER; 1429 1431 }