comment makes sense now

This commit is contained in:
2023-02-10 19:34:35 +01:00
parent 57e8bfe4a9
commit e1318d657e

View File

@@ -16,9 +16,8 @@ public partial class essential : Node
public override void _Process(double delta)
{
//CHANGE INPUT FOR NINTENDO CONTROLLER
/*TODO: shouldnt hard change the controlls everytime and only switch
the current input methods when the controller changes to make
custom controlls possible*/
/*TODO: shouldnt hard change the controlls everytime and only swap
the current given actions somehow to make custom controlls possible*/
InputEventJoypadButton JoyButtonA = new InputEventJoypadButton() { ButtonIndex = JoyButton.A };
InputEventJoypadButton JoyButtonB = new InputEventJoypadButton() { ButtonIndex = JoyButton.B };
if (currentController.StartsWith("Nintendo") && InputMap.ActionHasEvent("ui_accept", JoyButtonA))