summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-30 12:52:55 +0200
committerGitHub <noreply@github.com>2016-07-30 12:52:55 +0200
commit73f83fadc82a9fa0fd4a70dec4ecd9d4a8dde6a9 (patch)
tree3097ec3394301918ccbcd83632df113add155af6
parent38286670acc1292eea8effb332aa47136f1f0be8 (diff)
parent4755fe5576b05c94081bdcad5bd37523d5040150 (diff)
Merge pull request #5971 from Hinsbart/ui_axis
UI navigation via JOYSTICK_MOTION.
-rw-r--r--scene/main/viewport.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index f182f2c96c..7970229c06 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: {