aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Browet <koying@semperpax.com>2013-11-08 23:45:29 -0800
committerChris Browet <koying@semperpax.com>2013-11-08 23:45:29 -0800
commitb58612cfff1a008fa012cf33b1965070de23b501 (patch)
tree5b772b36fd07e5a0ebbb2058f4a1bd45bb1b8d15
parenta24d0489ed3ccd1681216d364df3bd1c80f053b8 (diff)
parent8cbffb0fa42a4e5729d60cc967df49a025f42c6b (diff)
Merge pull request #3599 from koying/fixdroidmouseback
FIX: [droid] do not filter key events based on source (solves mouse right-click -> back)
-rw-r--r--xbmc/android/activity/EventLoop.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/android/activity/EventLoop.cpp b/xbmc/android/activity/EventLoop.cpp
index 155b82e274..7c19a73004 100644
--- a/xbmc/android/activity/EventLoop.cpp
+++ b/xbmc/android/activity/EventLoop.cpp
@@ -146,8 +146,7 @@ int32_t CEventLoop::processInput(AInputEvent* event)
if (m_inputHandler->onJoyStickKeyEvent(event))
return true;
}
- if (source & AINPUT_SOURCE_CLASS_BUTTON)
- rtn = m_inputHandler->onKeyboardEvent(event);
+ rtn = m_inputHandler->onKeyboardEvent(event);
break;
case AINPUT_EVENT_TYPE_MOTION:
switch(source)