removed some useless stuff
This commit is contained in:
@@ -16,8 +16,6 @@ public partial class essential : Node
|
|||||||
public override void _Process(double delta)
|
public override void _Process(double delta)
|
||||||
{
|
{
|
||||||
//CHANGE INPUT FOR NINTENDO CONTROLLER
|
//CHANGE INPUT FOR NINTENDO CONTROLLER
|
||||||
/*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 JoyButtonA = new InputEventJoypadButton() { ButtonIndex = JoyButton.A };
|
||||||
InputEventJoypadButton JoyButtonB = new InputEventJoypadButton() { ButtonIndex = JoyButton.B };
|
InputEventJoypadButton JoyButtonB = new InputEventJoypadButton() { ButtonIndex = JoyButton.B };
|
||||||
if (currentController.StartsWith("Nintendo") && InputMap.ActionHasEvent("ui_accept", JoyButtonA))
|
if (currentController.StartsWith("Nintendo") && InputMap.ActionHasEvent("ui_accept", JoyButtonA))
|
||||||
|
Reference in New Issue
Block a user