You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
307 lines
15 KiB
307 lines
15 KiB
[gd_resource type="OpenXRActionMap" format=3 uid="uid://openxr_actions"]
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_aim"]
|
|
resource_name = "aim_pose"
|
|
localized_name = "Aim Pose"
|
|
action_type = 3
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_grip"]
|
|
resource_name = "grip_pose"
|
|
localized_name = "Grip Pose"
|
|
action_type = 3
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_palm"]
|
|
resource_name = "palm_pose"
|
|
localized_name = "Palm Pose"
|
|
action_type = 3
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_trigger"]
|
|
resource_name = "trigger"
|
|
localized_name = "Trigger"
|
|
action_type = 0
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_trigger_click"]
|
|
resource_name = "trigger_click"
|
|
localized_name = "Trigger Click"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_trigger_touch"]
|
|
resource_name = "trigger_touch"
|
|
localized_name = "Trigger Touch"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_grip_val"]
|
|
resource_name = "grip"
|
|
localized_name = "Grip"
|
|
action_type = 0
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_grip_click"]
|
|
resource_name = "grip_click"
|
|
localized_name = "Grip Click"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_menu"]
|
|
resource_name = "menu_button"
|
|
localized_name = "Menu Button"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_select"]
|
|
resource_name = "select_button"
|
|
localized_name = "Select Button"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_ax"]
|
|
resource_name = "ax_button"
|
|
localized_name = "A/X Button"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_by"]
|
|
resource_name = "by_button"
|
|
localized_name = "B/Y Button"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_ax_touch"]
|
|
resource_name = "ax_touch"
|
|
localized_name = "A/X Touch"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_by_touch"]
|
|
resource_name = "by_touch"
|
|
localized_name = "B/Y Touch"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_thumbstick"]
|
|
resource_name = "thumbstick"
|
|
localized_name = "Thumbstick"
|
|
action_type = 2
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_thumbstick_click"]
|
|
resource_name = "thumbstick_click"
|
|
localized_name = "Thumbstick Click"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_thumbstick_touch"]
|
|
resource_name = "thumbstick_touch"
|
|
localized_name = "Thumbstick Touch"
|
|
action_type = 1
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRAction" id="OpenXRAction_haptic"]
|
|
resource_name = "haptic"
|
|
localized_name = "Haptic"
|
|
action_type = 4
|
|
toplevel_paths = PackedStringArray("/user/hand/left", "/user/hand/right")
|
|
|
|
[sub_resource type="OpenXRActionSet" id="OpenXRActionSet_godot"]
|
|
resource_name = "godot"
|
|
localized_name = "Godot Action Set"
|
|
priority = 0
|
|
actions = [SubResource("OpenXRAction_aim"), SubResource("OpenXRAction_grip"), SubResource("OpenXRAction_palm"), SubResource("OpenXRAction_trigger"), SubResource("OpenXRAction_trigger_click"), SubResource("OpenXRAction_trigger_touch"), SubResource("OpenXRAction_grip_val"), SubResource("OpenXRAction_grip_click"), SubResource("OpenXRAction_menu"), SubResource("OpenXRAction_select"), SubResource("OpenXRAction_ax"), SubResource("OpenXRAction_by"), SubResource("OpenXRAction_ax_touch"), SubResource("OpenXRAction_by_touch"), SubResource("OpenXRAction_thumbstick"), SubResource("OpenXRAction_thumbstick_click"), SubResource("OpenXRAction_thumbstick_touch"), SubResource("OpenXRAction_haptic")]
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="simple_aim"]
|
|
action = SubResource("OpenXRAction_aim")
|
|
paths = PackedStringArray("/user/hand/left/input/aim/pose", "/user/hand/right/input/aim/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="simple_grip"]
|
|
action = SubResource("OpenXRAction_grip")
|
|
paths = PackedStringArray("/user/hand/left/input/grip/pose", "/user/hand/right/input/grip/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="simple_select"]
|
|
action = SubResource("OpenXRAction_select")
|
|
paths = PackedStringArray("/user/hand/left/input/select/click", "/user/hand/right/input/select/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="simple_menu"]
|
|
action = SubResource("OpenXRAction_menu")
|
|
paths = PackedStringArray("/user/hand/left/input/menu/click", "/user/hand/right/input/menu/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="simple_haptic"]
|
|
action = SubResource("OpenXRAction_haptic")
|
|
paths = PackedStringArray("/user/hand/left/output/haptic", "/user/hand/right/output/haptic")
|
|
|
|
[sub_resource type="OpenXRInteractionProfile" id="profile_simple"]
|
|
interaction_profile_path = "/interaction_profiles/khr/simple_controller"
|
|
bindings = [SubResource("simple_aim"), SubResource("simple_grip"), SubResource("simple_select"), SubResource("simple_menu"), SubResource("simple_haptic")]
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_aim"]
|
|
action = SubResource("OpenXRAction_aim")
|
|
paths = PackedStringArray("/user/hand/left/input/aim/pose", "/user/hand/right/input/aim/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_grip"]
|
|
action = SubResource("OpenXRAction_grip")
|
|
paths = PackedStringArray("/user/hand/left/input/grip/pose", "/user/hand/right/input/grip/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_trigger"]
|
|
action = SubResource("OpenXRAction_trigger")
|
|
paths = PackedStringArray("/user/hand/left/input/trigger/value", "/user/hand/right/input/trigger/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_trigger_click"]
|
|
action = SubResource("OpenXRAction_trigger_click")
|
|
paths = PackedStringArray("/user/hand/left/input/trigger/value", "/user/hand/right/input/trigger/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_trigger_touch"]
|
|
action = SubResource("OpenXRAction_trigger_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/trigger/touch", "/user/hand/right/input/trigger/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_grip_val"]
|
|
action = SubResource("OpenXRAction_grip_val")
|
|
paths = PackedStringArray("/user/hand/left/input/squeeze/value", "/user/hand/right/input/squeeze/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_grip_click"]
|
|
action = SubResource("OpenXRAction_grip_click")
|
|
paths = PackedStringArray("/user/hand/left/input/squeeze/value", "/user/hand/right/input/squeeze/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_menu"]
|
|
action = SubResource("OpenXRAction_menu")
|
|
paths = PackedStringArray("/user/hand/left/input/menu/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_ax"]
|
|
action = SubResource("OpenXRAction_ax")
|
|
paths = PackedStringArray("/user/hand/left/input/x/click", "/user/hand/right/input/a/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_by"]
|
|
action = SubResource("OpenXRAction_by")
|
|
paths = PackedStringArray("/user/hand/left/input/y/click", "/user/hand/right/input/b/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_ax_touch"]
|
|
action = SubResource("OpenXRAction_ax_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/x/touch", "/user/hand/right/input/a/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_by_touch"]
|
|
action = SubResource("OpenXRAction_by_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/y/touch", "/user/hand/right/input/b/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_thumbstick"]
|
|
action = SubResource("OpenXRAction_thumbstick")
|
|
paths = PackedStringArray("/user/hand/left/input/thumbstick", "/user/hand/right/input/thumbstick")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_thumbstick_click"]
|
|
action = SubResource("OpenXRAction_thumbstick_click")
|
|
paths = PackedStringArray("/user/hand/left/input/thumbstick/click", "/user/hand/right/input/thumbstick/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_thumbstick_touch"]
|
|
action = SubResource("OpenXRAction_thumbstick_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/thumbstick/touch", "/user/hand/right/input/thumbstick/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_haptic"]
|
|
action = SubResource("OpenXRAction_haptic")
|
|
paths = PackedStringArray("/user/hand/left/output/haptic", "/user/hand/right/output/haptic")
|
|
|
|
[sub_resource type="OpenXRInteractionProfile" id="profile_touch"]
|
|
interaction_profile_path = "/interaction_profiles/oculus/touch_controller"
|
|
bindings = [SubResource("touch_aim"), SubResource("touch_grip"), SubResource("touch_trigger"), SubResource("touch_trigger_click"), SubResource("touch_trigger_touch"), SubResource("touch_grip_val"), SubResource("touch_grip_click"), SubResource("touch_menu"), SubResource("touch_ax"), SubResource("touch_by"), SubResource("touch_ax_touch"), SubResource("touch_by_touch"), SubResource("touch_thumbstick"), SubResource("touch_thumbstick_click"), SubResource("touch_thumbstick_touch"), SubResource("touch_haptic")]
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_aim"]
|
|
action = SubResource("OpenXRAction_aim")
|
|
paths = PackedStringArray("/user/hand/left/input/aim/pose", "/user/hand/right/input/aim/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_grip"]
|
|
action = SubResource("OpenXRAction_grip")
|
|
paths = PackedStringArray("/user/hand/left/input/grip/pose", "/user/hand/right/input/grip/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_trigger"]
|
|
action = SubResource("OpenXRAction_trigger")
|
|
paths = PackedStringArray("/user/hand/left/input/trigger/value", "/user/hand/right/input/trigger/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_trigger_click"]
|
|
action = SubResource("OpenXRAction_trigger_click")
|
|
paths = PackedStringArray("/user/hand/left/input/trigger/value", "/user/hand/right/input/trigger/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_trigger_touch"]
|
|
action = SubResource("OpenXRAction_trigger_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/trigger/touch", "/user/hand/right/input/trigger/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_grip_val"]
|
|
action = SubResource("OpenXRAction_grip_val")
|
|
paths = PackedStringArray("/user/hand/left/input/squeeze/value", "/user/hand/right/input/squeeze/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_grip_click"]
|
|
action = SubResource("OpenXRAction_grip_click")
|
|
paths = PackedStringArray("/user/hand/left/input/squeeze/value", "/user/hand/right/input/squeeze/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_menu"]
|
|
action = SubResource("OpenXRAction_menu")
|
|
paths = PackedStringArray("/user/hand/left/input/menu/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_ax"]
|
|
action = SubResource("OpenXRAction_ax")
|
|
paths = PackedStringArray("/user/hand/left/input/x/click", "/user/hand/right/input/a/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_by"]
|
|
action = SubResource("OpenXRAction_by")
|
|
paths = PackedStringArray("/user/hand/left/input/y/click", "/user/hand/right/input/b/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_ax_touch"]
|
|
action = SubResource("OpenXRAction_ax_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/x/touch", "/user/hand/right/input/a/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_by_touch"]
|
|
action = SubResource("OpenXRAction_by_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/y/touch", "/user/hand/right/input/b/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_thumbstick"]
|
|
action = SubResource("OpenXRAction_thumbstick")
|
|
paths = PackedStringArray("/user/hand/left/input/thumbstick", "/user/hand/right/input/thumbstick")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_thumbstick_click"]
|
|
action = SubResource("OpenXRAction_thumbstick_click")
|
|
paths = PackedStringArray("/user/hand/left/input/thumbstick/click", "/user/hand/right/input/thumbstick/click")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_thumbstick_touch"]
|
|
action = SubResource("OpenXRAction_thumbstick_touch")
|
|
paths = PackedStringArray("/user/hand/left/input/thumbstick/touch", "/user/hand/right/input/thumbstick/touch")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="touch_plus_haptic"]
|
|
action = SubResource("OpenXRAction_haptic")
|
|
paths = PackedStringArray("/user/hand/left/output/haptic", "/user/hand/right/output/haptic")
|
|
|
|
[sub_resource type="OpenXRInteractionProfile" id="profile_touch_plus"]
|
|
interaction_profile_path = "/interaction_profiles/meta/touch_controller_plus"
|
|
bindings = [SubResource("touch_plus_aim"), SubResource("touch_plus_grip"), SubResource("touch_plus_trigger"), SubResource("touch_plus_trigger_click"), SubResource("touch_plus_trigger_touch"), SubResource("touch_plus_grip_val"), SubResource("touch_plus_grip_click"), SubResource("touch_plus_menu"), SubResource("touch_plus_ax"), SubResource("touch_plus_by"), SubResource("touch_plus_ax_touch"), SubResource("touch_plus_by_touch"), SubResource("touch_plus_thumbstick"), SubResource("touch_plus_thumbstick_click"), SubResource("touch_plus_thumbstick_touch"), SubResource("touch_plus_haptic")]
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="hand_aim"]
|
|
action = SubResource("OpenXRAction_aim")
|
|
paths = PackedStringArray("/user/hand/left/input/aim/pose", "/user/hand/right/input/aim/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="hand_grip"]
|
|
action = SubResource("OpenXRAction_grip")
|
|
paths = PackedStringArray("/user/hand/left/input/grip/pose", "/user/hand/right/input/grip/pose")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="hand_trigger"]
|
|
action = SubResource("OpenXRAction_trigger")
|
|
paths = PackedStringArray("/user/hand/left/input/pinch_ext/value", "/user/hand/right/input/pinch_ext/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="hand_trigger_click"]
|
|
action = SubResource("OpenXRAction_trigger_click")
|
|
paths = PackedStringArray("/user/hand/left/input/pinch_ext/ready_ext", "/user/hand/right/input/pinch_ext/ready_ext")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="hand_grip_val"]
|
|
action = SubResource("OpenXRAction_grip_val")
|
|
paths = PackedStringArray("/user/hand/left/input/grasp_ext/value", "/user/hand/right/input/grasp_ext/value")
|
|
|
|
[sub_resource type="OpenXRIPBinding" id="hand_grip_click"]
|
|
action = SubResource("OpenXRAction_grip_click")
|
|
paths = PackedStringArray("/user/hand/left/input/grasp_ext/ready_ext", "/user/hand/right/input/grasp_ext/ready_ext")
|
|
|
|
[sub_resource type="OpenXRInteractionProfile" id="profile_hand_interaction"]
|
|
interaction_profile_path = "/interaction_profiles/ext/hand_interaction_ext"
|
|
bindings = [SubResource("hand_aim"), SubResource("hand_grip"), SubResource("hand_trigger"), SubResource("hand_trigger_click"), SubResource("hand_grip_val"), SubResource("hand_grip_click")]
|
|
|
|
[resource]
|
|
action_sets = [SubResource("OpenXRActionSet_godot")]
|
|
interaction_profiles = [SubResource("profile_simple"), SubResource("profile_touch"), SubResource("profile_touch_plus"), SubResource("profile_hand_interaction")]
|