a/bindings: Fix typos

This commit is contained in:
Ryan Pavlik 2023-02-08 17:35:58 -06:00
parent f32ed406d8
commit 0b7c822007

View file

@ -201,10 +201,10 @@ class Component:
return not self.is_input() return not self.is_input()
class Identifer: class Identifier:
"""A Identifier is a OpenXR identifier with a user path, such as button """A Identifier is a OpenXR identifier with a user path, such as button
X, a trackpad, a pose such as aim. It can have one or more features, even X, a trackpad, a pose such as aim. It can have one or more features, even
tho outputs doesn't include a component/feature path a output indentifier tho outputs doesn't include a component/feature path a output identifier
will have a haptic output feature. will have a haptic output feature.
""" """
@ -238,7 +238,7 @@ class Identifer:
component_list, component_list,
json_subpath["dpad_emulation"]) json_subpath["dpad_emulation"])
i = Identifer(subaction_path, i = Identifier(subaction_path,
identifier_path, identifier_path,
json_path, json_path,
component_list, component_list,
@ -271,7 +271,7 @@ class Profile:
self.profile_type = json_profile["type"] self.profile_type = json_profile["type"]
self.monado_device_enum = json_profile["monado_device"] self.monado_device_enum = json_profile["monado_device"]
self.validation_func_name = profile_name.replace("/interaction_profiles/", "").replace("/", "_") self.validation_func_name = profile_name.replace("/interaction_profiles/", "").replace("/", "_")
self.identifiers = Identifer.parse_identifiers(json_profile) self.identifiers = Identifier.parse_identifiers(json_profile)
self.steamvr_controller_type = None self.steamvr_controller_type = None
if "steamvr_controllertype" in json_profile: if "steamvr_controllertype" in json_profile: