fix: repair gameplay controller input handling

This commit is contained in:
Alexander Sellite 2026-08-16 12:26:17 -04:00
parent ce733818e2
commit 908cf2733a
7 changed files with 77 additions and 24 deletions

View file

@ -20,7 +20,8 @@ func _init() -> void:
assert(_has_joypad_button(&"jump", JOY_BUTTON_A))
assert(_has_joypad_button(&"ui_accept", JOY_BUTTON_A))
assert(_has_joypad_button(&"ui_cancel", JOY_BUTTON_B))
assert(_has_joypad_button(&"interact", JOY_BUTTON_Y))
assert(not _has_joypad_button(&"interact", JOY_BUTTON_Y))
assert(_has_joypad_button(&"character_call", JOY_BUTTON_Y))
assert(_has_joypad_button(&"fish_primary", JOY_BUTTON_RIGHT_SHOULDER))
assert(not _has_joypad_motion(
&"fish_primary", JOY_AXIS_TRIGGER_LEFT, 1.0