Monado OpenXR Runtime
ipc_shared_device Struct Reference

A device in the shared memory area. More...

#include </builds/monado/monado/src/xrt/ipc/shared/ipc_protocol.h>

Collaboration diagram for ipc_shared_device:

Data Fields

enum xrt_device_name name
 Enum identifier of the device. More...
 
enum xrt_device_type device_type
 
uint32_t tracking_origin_index
 Which tracking system origin is this device attached to. More...
 
char str [XRT_DEVICE_NAME_LEN]
 A string describing the device. More...
 
char serial [XRT_DEVICE_NAME_LEN]
 A unique identifier. Persistent across configurations, if possible. More...
 
uint32_t binding_profile_count
 Number of bindings. More...
 
uint32_t first_binding_profile_index
 'Offset' into the array of bindings where the bindings starts. More...
 
uint32_t input_count
 Number of inputs. More...
 
uint32_t first_input_index
 'Offset' into the array of inputs where the inputs starts. More...
 
uint32_t output_count
 Number of outputs. More...
 
uint32_t first_output_index
 'Offset' into the array of outputs where the outputs starts. More...
 
bool orientation_tracking_supported
 
bool position_tracking_supported
 
bool hand_tracking_supported
 
bool eye_gaze_supported
 
bool face_tracking_supported
 
bool force_feedback_supported
 
bool form_factor_check_supported
 
bool stage_supported
 

Detailed Description

A device in the shared memory area.

Field Documentation

◆ binding_profile_count

uint32_t ipc_shared_device::binding_profile_count

Number of bindings.

◆ first_binding_profile_index

uint32_t ipc_shared_device::first_binding_profile_index

'Offset' into the array of bindings where the bindings starts.

◆ first_input_index

uint32_t ipc_shared_device::first_input_index

'Offset' into the array of inputs where the inputs starts.

◆ first_output_index

uint32_t ipc_shared_device::first_output_index

'Offset' into the array of outputs where the outputs starts.

◆ input_count

uint32_t ipc_shared_device::input_count

Number of inputs.

◆ name

◆ output_count

uint32_t ipc_shared_device::output_count

Number of outputs.

◆ serial

char ipc_shared_device::serial[XRT_DEVICE_NAME_LEN]

A unique identifier. Persistent across configurations, if possible.

◆ str

char ipc_shared_device::str[XRT_DEVICE_NAME_LEN]

A string describing the device.

◆ tracking_origin_index

uint32_t ipc_shared_device::tracking_origin_index

Which tracking system origin is this device attached to.


The documentation for this struct was generated from the following file: