[gd_scene format=3 uid="uid://b3lplrf2w6kh7"] [ext_resource type="Script" uid="uid://bc1hpc5l8tbls" path="res://addons/controller_icons/objects/path_selection/JoypadPathSelector.gd" id="1_4ryog"] [ext_resource type="Script" uid="uid://c2w177bb5r70x" path="res://addons/controller_icons/objects/ControllerIconTexture.gd" id="2_yxfq6"] [sub_resource type="ButtonGroup" id="ButtonGroup_haylq"] [sub_resource type="Texture2D" id="Texture2D_nls54"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/l_stick" [sub_resource type="Texture2D" id="Texture2D_6klsb"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/l_stick_click" [sub_resource type="Texture2D" id="Texture2D_bij8j"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/r_stick" [sub_resource type="Texture2D" id="Texture2D_2h0w3"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/r_stick_click" [sub_resource type="Texture2D" id="Texture2D_kvj2q"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/lb" [sub_resource type="Texture2D" id="Texture2D_wtcrq"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/lt" [sub_resource type="Texture2D" id="Texture2D_lfpf5"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/rb" [sub_resource type="Texture2D" id="Texture2D_b3bsp"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/rt" [sub_resource type="Texture2D" id="Texture2D_u40go"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/a" [sub_resource type="Texture2D" id="Texture2D_rnqww"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/b" [sub_resource type="Texture2D" id="Texture2D_1a2yv"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/x" [sub_resource type="Texture2D" id="Texture2D_hktfi"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/y" [sub_resource type="Texture2D" id="Texture2D_2ksy6"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/select" [sub_resource type="Texture2D" id="Texture2D_08sqi"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/start" [sub_resource type="Texture2D" id="Texture2D_tivgf"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/home" [sub_resource type="Texture2D" id="Texture2D_87fow"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/share" [sub_resource type="Texture2D" id="Texture2D_n4i6p"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/dpad" [sub_resource type="Texture2D" id="Texture2D_eoyuo"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/dpad_down" [sub_resource type="Texture2D" id="Texture2D_c660e"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/dpad_right" [sub_resource type="Texture2D" id="Texture2D_riwus"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/dpad_left" [sub_resource type="Texture2D" id="Texture2D_onmvf"] resource_local_to_scene = false resource_name = "" script = ExtResource("2_yxfq6") path = "joypad/dpad_up" [node name="Joypad Path" type="Panel" unique_id=209868287] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_4ryog") [node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=2045703248] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Label" type="Label" parent="VBoxContainer" unique_id=1317977901] layout_mode = 2 text = "The icon will only display a controller icon, changing dynamically according to the connected controller brand." horizontal_alignment = 1 [node name="Control" type="Control" parent="VBoxContainer" unique_id=592720465] layout_mode = 2 size_flags_vertical = 3 [node name="ButtonLabel" type="Label" parent="VBoxContainer/Control" unique_id=1348289364] unique_name_in_owner = true custom_minimum_size = Vector2(350, 0) layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -150.0 offset_top = 18.0 offset_right = 150.0 offset_bottom = 41.0 grow_horizontal = 2 text = "Press or click on the desired button..." horizontal_alignment = 1 autowrap_mode = 3 [node name="LStick" type="Button" parent="VBoxContainer/Control" unique_id=2022043866] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -126.0 offset_top = 47.0 offset_right = -76.0 offset_bottom = 97.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_nls54") expand_icon = true [node name="LStickClick" type="Button" parent="VBoxContainer/Control" unique_id=1785700028] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -101.0 offset_top = 97.0 offset_right = -51.0 offset_bottom = 147.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_6klsb") expand_icon = true [node name="RStick" type="Button" parent="VBoxContainer/Control" unique_id=2059894656] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 74.0 offset_top = 47.0 offset_right = 124.0 offset_bottom = 97.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_bij8j") expand_icon = true [node name="RStickClick" type="Button" parent="VBoxContainer/Control" unique_id=1883177053] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 49.0 offset_top = 97.0 offset_right = 99.0 offset_bottom = 147.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_2h0w3") expand_icon = true [node name="LB" type="Button" parent="VBoxContainer/Control" unique_id=1183906897] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -276.0 offset_top = -153.0 offset_right = -226.0 offset_bottom = -103.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_kvj2q") expand_icon = true [node name="LT" type="Button" parent="VBoxContainer/Control" unique_id=1326887677] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -326.0 offset_top = -178.0 offset_right = -276.0 offset_bottom = -128.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_wtcrq") expand_icon = true [node name="RB" type="Button" parent="VBoxContainer/Control" unique_id=458668836] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 224.0 offset_top = -153.0 offset_right = 274.0 offset_bottom = -103.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_lfpf5") expand_icon = true [node name="RT" type="Button" parent="VBoxContainer/Control" unique_id=2022613685] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 274.0 offset_top = -178.0 offset_right = 324.0 offset_bottom = -128.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_b3bsp") expand_icon = true [node name="A" type="Button" parent="VBoxContainer/Control" unique_id=1747187075] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 174.0 offset_top = 22.0 offset_right = 224.0 offset_bottom = 72.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_u40go") expand_icon = true [node name="B" type="Button" parent="VBoxContainer/Control" unique_id=1650750312] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 224.0 offset_top = -28.0 offset_right = 274.0 offset_bottom = 22.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_rnqww") expand_icon = true [node name="X" type="Button" parent="VBoxContainer/Control" unique_id=1175769805] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 124.0 offset_top = -28.0 offset_right = 174.0 offset_bottom = 22.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_1a2yv") expand_icon = true [node name="Y" type="Button" parent="VBoxContainer/Control" unique_id=1761913230] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 174.0 offset_top = -78.0 offset_right = 224.0 offset_bottom = -28.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_hktfi") expand_icon = true [node name="Select" type="Button" parent="VBoxContainer/Control" unique_id=532097436] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -76.0 offset_top = -53.0 offset_right = -26.0 offset_bottom = -3.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_2ksy6") expand_icon = true [node name="Start" type="Button" parent="VBoxContainer/Control" unique_id=1103979259] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 24.0 offset_top = -53.0 offset_right = 74.0 offset_bottom = -3.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_08sqi") expand_icon = true [node name="Home" type="Button" parent="VBoxContainer/Control" unique_id=2039066622] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -26.0 offset_top = -78.0 offset_right = 24.0 offset_bottom = -28.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_tivgf") expand_icon = true [node name="Share" type="Button" parent="VBoxContainer/Control" unique_id=752079242] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -26.0 offset_top = -28.0 offset_right = 24.0 offset_bottom = 22.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_87fow") expand_icon = true [node name="DPAD" type="Button" parent="VBoxContainer/Control" unique_id=1370892254] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -226.0 offset_top = -28.0 offset_right = -176.0 offset_bottom = 22.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_n4i6p") expand_icon = true [node name="DPADDown" type="Button" parent="VBoxContainer/Control" unique_id=1701635317] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -226.0 offset_top = 22.0 offset_right = -176.0 offset_bottom = 72.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_eoyuo") expand_icon = true [node name="DPADRight" type="Button" parent="VBoxContainer/Control" unique_id=1473382911] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -176.0 offset_top = -28.0 offset_right = -126.0 offset_bottom = 22.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_c660e") expand_icon = true [node name="DPADLeft" type="Button" parent="VBoxContainer/Control" unique_id=1345960769] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -276.0 offset_top = -28.0 offset_right = -226.0 offset_bottom = 22.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_riwus") expand_icon = true [node name="DPADUp" type="Button" parent="VBoxContainer/Control" unique_id=1761846958] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -226.0 offset_top = -78.0 offset_right = -176.0 offset_bottom = -28.0 grow_horizontal = 2 grow_vertical = 2 toggle_mode = true button_group = SubResource("ButtonGroup_haylq") icon = SubResource("Texture2D_onmvf") expand_icon = true [connection signal="pressed" from="VBoxContainer/Control/LStick" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LStick" to="." method="_on_l_stick_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_l_stick_click_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LStickClick" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_r_stick_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStick" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_r_stick_click_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RStickClick" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_lb_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LB" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/LT" to="." method="_on_lt_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RB" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RB" to="." method="_on_rb_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RT" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/RT" to="." method="_on_rt_pressed"] [connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/A" to="." method="_on_a_pressed"] [connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/B" to="." method="_on_b_pressed"] [connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/X" to="." method="_on_x_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Y" to="." method="_on_y_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_select_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Select" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Start" to="." method="_on_start_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Start" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Home" to="." method="_on_home_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Home" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_share_pressed"] [connection signal="pressed" from="VBoxContainer/Control/Share" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_dpad_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPAD" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_dpad_down_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADDown" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADRight" to="." method="_on_dpad_right_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADRight" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADLeft" to="." method="_on_dpad_left_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADLeft" to="." method="_on_button_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADUp" to="." method="_on_dpad_up_pressed"] [connection signal="pressed" from="VBoxContainer/Control/DPADUp" to="." method="_on_button_pressed"]