(Android) Put in #if 1 - Lioncash can change this to #if 0

to test Java-side back key handling
This commit is contained in:
twinaphex 2013-11-20 19:14:02 +01:00
parent 8b8c28ae86
commit 4a816ac177

View File

@ -1824,8 +1824,8 @@ static void android_input_poll(void *data)
} }
} }
#if 1
// FIXME: all of the below will probably all have to be refactored // FIXME: all of the below will probably all have to be refactored
if (g_extern.lifecycle_state & (1ULL << MODE_INPUT_XPERIA_PLAY_HACK)) if (g_extern.lifecycle_state & (1ULL << MODE_INPUT_XPERIA_PLAY_HACK))
{ {
int meta = AKeyEvent_getMetaState(event); int meta = AKeyEvent_getMetaState(event);
@ -1857,6 +1857,7 @@ static void android_input_poll(void *data)
AInputQueue_finishEvent(android_app->inputQueue, event, handled); AInputQueue_finishEvent(android_app->inputQueue, event, handled);
break; break;
} }
#endif
} }
if (type_event == AINPUT_EVENT_TYPE_MOTION) if (type_event == AINPUT_EVENT_TYPE_MOTION)