From 4755fe5576b05c94081bdcad5bd37523d5040150 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Sat, 30 Jul 2016 12:38:42 +0200 Subject: [PATCH] UI navigation via JOYSTICK_MOTION. Previously, you could assign joystick axis events to "ui_*" actions but they had no effect. See https://godotengine.org/qa/6232 --- scene/main/viewport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index f182f2c96cd..7970229c065 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2095,6 +2095,7 @@ void Viewport::_gui_input_event(InputEvent p_event) { } break; case InputEvent::ACTION: case InputEvent::JOYSTICK_BUTTON: + case InputEvent::JOYSTICK_MOTION: case InputEvent::KEY: {