From b8ef4952cd9d02b69ec9f7b18ef94497724b6a73 Mon Sep 17 00:00:00 2001 From: George FunBook Date: Mon, 22 Mar 2021 22:41:27 -0500 Subject: [PATCH] fix type --- source/Controls.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Controls.hx b/source/Controls.hx index 95748946f..760fc0af0 100644 --- a/source/Controls.hx +++ b/source/Controls.hx @@ -555,7 +555,7 @@ class Controls extends FlxActionSet addGamepadLiteral(id, [ Control.ACCEPT => [#if switch B #else A #end], - Control.BACK => [#if switch A #else B #end, BACK], + Control.BACK => [#if switch A #else B #end, FlxGamepadInputID.BACK], Control.UI_UP => [DPAD_UP, LEFT_STICK_DIGITAL_UP], Control.UI_DOWN => [DPAD_DOWN, LEFT_STICK_DIGITAL_DOWN], Control.UI_LEFT => [DPAD_LEFT, LEFT_STICK_DIGITAL_LEFT],