|
def | parse_components (component_cls, subaction_path, identifier_json_path, json_subpath) |
|
def | __init__ (self, subaction_path, identifier_json_path, steamvr_path, subpath_localized_name, subpath_type, component_name, dpad_emulation, monado_binding, components_for_subpath) |
|
def | get_full_openxr_paths (self) |
|
def | get_full_path (self) |
|
def | is_input (self) |
|
def | has_dpad_emulation (self) |
|
def | is_output (self) |
|
Components correspond with the standard OpenXR components click, touch,
force, value, x, y, twist, pose
def bindings.Component.get_full_openxr_paths |
( |
|
self | ) |
|
A group of paths that derive from the same component.
For example .../thumbstick, .../thumbstick/x, .../thumbstick/y
References bindings.Component.component_name, bindings.Component.dpad_emulation, bindings.Component.identifier_json_path, bindings.Component.is_input(), bindings.Component.subaction_path, bindings.Identifier.subaction_path, oxr_dpad_emulation.subaction_path, and oxr_binding.subaction_path.
def bindings.Component.parse_components |
( |
|
component_cls, |
|
|
|
subaction_path, |
|
|
|
identifier_json_path, |
|
|
|
json_subpath |
|
) |
| |
Turn a Identifier's component paths into a list of Component objects.
References bindings.Component.component_name, bindings.Component.components_for_subpath, bindings.Component.dpad_emulation, get(), bindings.Component.identifier_json_path, bindings.Component.monado_binding, bindings.Component.steamvr_path, bindings.Component.subaction_path, bindings.Identifier.subaction_path, oxr_dpad_emulation.subaction_path, oxr_binding.subaction_path, bindings.Component.subpath_localized_name, and bindings.Component.subpath_type.