diff options
author | Chris Browet <koying@semperpax.com> | 2013-11-08 23:45:29 -0800 |
---|---|---|
committer | Chris Browet <koying@semperpax.com> | 2013-11-08 23:45:29 -0800 |
commit | b58612cfff1a008fa012cf33b1965070de23b501 (patch) | |
tree | 5b772b36fd07e5a0ebbb2058f4a1bd45bb1b8d15 | |
parent | a24d0489ed3ccd1681216d364df3bd1c80f053b8 (diff) | |
parent | 8cbffb0fa42a4e5729d60cc967df49a025f42c6b (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.cpp | 3 |
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) |