full gamepad support

This commit is contained in:
Rendo 2025-07-28 18:03:26 +05:00
commit a57d79e84a
21 changed files with 213 additions and 46 deletions

View file

@ -12,12 +12,12 @@
[sub_resource type="ViewportTexture" id="ViewportTexture_ru62c"]
viewport_path = NodePath("plants/Infobox/FrameAndTitle/VboxContainer/Frame/Previewport")
[sub_resource type="InputEventAction" id="InputEventAction_vvhxq"]
action = &"ui_cancel"
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_vvhxq"]
button_index = 1
pressed = true
[sub_resource type="Shortcut" id="Shortcut_lmmwe"]
events = [SubResource("InputEventAction_vvhxq")]
events = [SubResource("InputEventJoypadButton_vvhxq")]
[sub_resource type="ViewportTexture" id="ViewportTexture_7yl8g"]
viewport_path = NodePath("zombies/Infobox/FrameAndTitle/VBoxContainer/Frame/Previewport")
@ -180,6 +180,7 @@ expand_mode = 1
[node name="QuitButton" type="Button" parent="zombies/Infobox/FrameAndTitle/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 4
shortcut = SubResource("Shortcut_lmmwe")
text = "exit"
[node name="Label" type="Label" parent="zombies/Infobox/FrameAndTitle"]