The open source OpenXR runtime
0
fork

Configure Feed

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

xrt/device: Add force feedback role

authored by

Daniel Willmott and committed by
Moses Turner
b710127f 903aced0

+5
+1
src/xrt/include/xrt/xrt_device.h
··· 259 259 bool orientation_tracking_supported; 260 260 bool position_tracking_supported; 261 261 bool hand_tracking_supported; 262 + bool force_feedback_supported; 262 263 263 264 /*! 264 265 * Update any attached inputs.
+1
src/xrt/ipc/client/ipc_client_device.c
··· 214 214 icd->base.orientation_tracking_supported = isdev->orientation_tracking_supported; 215 215 icd->base.position_tracking_supported = isdev->position_tracking_supported; 216 216 icd->base.hand_tracking_supported = isdev->hand_tracking_supported; 217 + icd->base.force_feedback_supported = isdev->force_feedback_supported; 217 218 218 219 icd->base.device_type = isdev->device_type; 219 220 return &icd->base;
+1
src/xrt/ipc/client/ipc_client_hmd.c
··· 212 212 ich->base.position_tracking_supported = isdev->position_tracking_supported; 213 213 ich->base.device_type = isdev->device_type; 214 214 ich->base.hand_tracking_supported = isdev->hand_tracking_supported; 215 + ich->base.force_feedback_supported = isdev->force_feedback_supported; 215 216 216 217 return &ich->base; 217 218 }
+1
src/xrt/ipc/server/ipc_server_process.c
··· 290 290 isdev->position_tracking_supported = xdev->position_tracking_supported; 291 291 isdev->device_type = xdev->device_type; 292 292 isdev->hand_tracking_supported = xdev->hand_tracking_supported; 293 + isdev->force_feedback_supported = xdev->force_feedback_supported; 293 294 294 295 // Is this a HMD? 295 296 if (xdev->hmd != NULL) {
+1
src/xrt/ipc/shared/ipc_protocol.h
··· 119 119 bool orientation_tracking_supported; 120 120 bool position_tracking_supported; 121 121 bool hand_tracking_supported; 122 + bool force_feedback_supported; 122 123 }; 123 124 124 125 /*!