PR: fixup PR comments
authordavilla <davilla@4pi.com>
Sat, 2 Nov 2013 02:16:08 +0000 (22:16 -0400)
committerdavilla <davilla@4pi.com>
Sat, 2 Nov 2013 02:16:08 +0000 (22:16 -0400)
xbmc/android/activity/AndroidKey.cpp
xbmc/android/activity/EventLoop.cpp

index 4afb781..c460493 100644 (file)
@@ -213,8 +213,8 @@ bool CAndroidKey::onKeyboardEvent(AInputEvent *event)
         (state & AMETA_ALT_ON) ? "yes" : "no",
         (state & AMETA_SHIFT_ON) ? "yes" : "no",
         (state & AMETA_SYM_ON) ? "yes" : "no");
-      XBMC_Key((uint8_t)keycode, sym, modifiers, true);
 #endif
+      XBMC_Key((uint8_t)keycode, sym, modifiers, true);
       return true;
 
     case AKEY_EVENT_ACTION_MULTIPLE:
index 4ed345d..155b82e 100644 (file)
@@ -137,8 +137,6 @@ int32_t CEventLoop::processInput(AInputEvent* event)
   int32_t rtn    = 0;
   int32_t type   = AInputEvent_getType(event);
   int32_t source = AInputEvent_getSource(event);
-  int32_t repeat = AKeyEvent_getRepeatCount(event);
-  int32_t keycod = AKeyEvent_getKeyCode(event);
 
   switch(type)
   {