FIX: [droid] do not filter key events based on source (solves mouse right-click ...
authorChris "Koying" Browet <cbro@semperpax.com>
Fri, 8 Nov 2013 14:01:28 +0000 (15:01 +0100)
committerChris "Koying" Browet <cbro@semperpax.com>
Fri, 8 Nov 2013 14:29:14 +0000 (15:29 +0100)
xbmc/android/activity/EventLoop.cpp

index 155b82e..7c19a73 100644 (file)
@@ -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)