diff --git a/Characters/Player.cs b/Characters/Player.cs index cc1d21e..8ac0f73 100644 --- a/Characters/Player.cs +++ b/Characters/Player.cs @@ -238,7 +238,6 @@ public sealed partial class Player : Character switch (inputMethod) { case State.Global.InputMethod.Joystick: - GD.Print(joystick); if (joystick.IsZeroApprox()) { return Direction; diff --git a/project.godot b/project.godot index 6ccaf41..8c5a4bc 100644 --- a/project.godot +++ b/project.godot @@ -100,7 +100,7 @@ attack1={ attack2={ "deadzone": 0.5, "events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"canceled":false,"pressed":false,"double_click":false,"script":null) -, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":1.0,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":4,"axis_value":1.0,"script":null) ] } equip={