The open source OpenXR runtime
0
fork

Configure Feed

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

d/remote: Use vive_bindings helper library

+6 -2
+1 -1
src/xrt/auxiliary/CMakeLists.txt
··· 40 40 add_subdirectory(util) 41 41 42 42 # Vive helper library. 43 - if(XRT_BUILD_DRIVER_VIVE OR XRT_BUILD_DRIVER_SURVIVE) 43 + if(XRT_BUILD_DRIVER_VIVE OR XRT_BUILD_DRIVER_SURVIVE OR XRT_BUILD_DRIVER_REMOTE) 44 44 add_subdirectory(vive) 45 45 endif() 46 46
+1 -1
src/xrt/drivers/CMakeLists.txt
··· 160 160 remote/r_interface.h 161 161 remote/r_internal.h 162 162 ) 163 - target_link_libraries(drv_remote PRIVATE xrt-interfaces aux_util) 163 + target_link_libraries(drv_remote PRIVATE xrt-interfaces aux_util aux_vive) 164 164 list(APPEND ENABLED_HEADSET_DRIVERS remote) 165 165 endif() 166 166
+4
src/xrt/drivers/remote/r_device.c
··· 15 15 #include "util/u_device.h" 16 16 #include "util/u_hand_tracking.h" 17 17 18 + #include "vive/vive_bindings.h" 19 + 18 20 #include "math/m_api.h" 19 21 20 22 #include "r_internal.h" ··· 212 214 rd->base.position_tracking_supported = true; 213 215 rd->base.hand_tracking_supported = true; 214 216 rd->base.name = XRT_DEVICE_INDEX_CONTROLLER; 217 + rd->base.binding_profiles = vive_binding_profiles_index; 218 + rd->base.binding_profile_count = vive_binding_profiles_index_count; 215 219 rd->r = r; 216 220 rd->is_left = is_left; 217 221