Monado OpenXR Runtime
Data Structures | Macros
oxr_binding_data.h File Reference

Holds shipped binding data. More...

#include "oxr_objects.h"
Include dependency graph for oxr_binding_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  binding_template
 
struct  profile_template
 

Macros

#define MAKE_INPUT(COMPONENT, SUFFIX, INPUT)
 
#define MAKE_OUTPUT(COMPONENT, SUFFIX, OUTPUT)
 

Detailed Description

Holds shipped binding data.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Macro Definition Documentation

◆ MAKE_INPUT

#define MAKE_INPUT (   COMPONENT,
  SUFFIX,
  INPUT 
)
Value:
{ \
.sub_path = OXR_SUB_ACTION_PATH_LEFT, \
.paths = \
{ \
"/user/hand/left/input/" #COMPONENT "/" #SUFFIX, \
"/user/hand/left/input/" #COMPONENT, \
NULL, \
}, \
.inputs = \
{ \
INPUT, \
(enum xrt_input_name)0, \
}, \
}, \
{ \
.paths = \
{ \
"/user/hand/right/input/" #COMPONENT "/" #SUFFIX, \
"/user/hand/right/input/" #COMPONENT, \
NULL, \
}, \
.inputs = \
{ \
INPUT, \
(enum xrt_input_name)0, \
}, \
},
Definition: oxr_objects.h:117
Definition: oxr_objects.h:116
xrt_input_name
Name of a input with a baked in type.
Definition: xrt_defines.h:421

◆ MAKE_OUTPUT

#define MAKE_OUTPUT (   COMPONENT,
  SUFFIX,
  OUTPUT 
)
Value:
{ \
.sub_path = OXR_SUB_ACTION_PATH_LEFT, \
.paths = \
{ \
"/user/hand/left/output/" #COMPONENT "/" #SUFFIX, \
"/user/hand/left/output/" #COMPONENT, \
NULL, \
}, \
.outputs = \
{ \
OUTPUT, \
(enum xrt_output_name)0, \
}, \
}, \
{ \
.paths = \
{ \
"/user/hand/right/output/" #COMPONENT "/" #SUFFIX, \
"/user/hand/right/output/" #COMPONENT, \
NULL, \
}, \
.outputs = \
{ \
OUTPUT, \
(enum xrt_output_name)0, \
}, \
},
xrt_output_name
Name of a output with a baked in type.
Definition: xrt_defines.h:532
Definition: oxr_objects.h:117
Definition: oxr_objects.h:116