aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/platform/android/activity/EventLoop.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/platform/android/activity/EventLoop.cpp b/xbmc/platform/android/activity/EventLoop.cpp
index 47ecdad846..a90dbbcb69 100644
--- a/xbmc/platform/android/activity/EventLoop.cpp
+++ b/xbmc/platform/android/activity/EventLoop.cpp
@@ -132,7 +132,9 @@ int32_t CEventLoop::processInput(AInputEvent* event)
int32_t source = AInputEvent_getSource(event);
// handle joystick input
- if (IS_FROM_SOURCE(source, AINPUT_SOURCE_GAMEPAD) || IS_FROM_SOURCE(source, AINPUT_SOURCE_JOYSTICK))
+ if (IS_FROM_SOURCE(source, AINPUT_SOURCE_GAMEPAD) ||
+ IS_FROM_SOURCE(source, AINPUT_SOURCE_JOYSTICK) ||
+ IS_FROM_SOURCE(source, AINPUT_SOURCE_KEYBOARD))
{
if (m_inputHandler->onJoyStickEvent(event))
return true;