From e1318d657eff34ebd91068bf9e458282257bb8bd Mon Sep 17 00:00:00 2001 From: cmod31 Date: Fri, 10 Feb 2023 19:34:35 +0100 Subject: [PATCH] comment makes sense now --- src/essential.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/essential.cs b/src/essential.cs index b2c27ca..3b8a908 100644 --- a/src/essential.cs +++ b/src/essential.cs @@ -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))