casablanca/Release/tests/common/TestRunner/vs14.android/TestRunner.android.NativeActivity/main.cpp
static int32_t engine_handle_input(struct android_app* app, AInputEvent* event) {
    struct engine* engine = (struct engine*)app->userData;
    if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_MOTION) {
        engine->state.x = AMotionEvent_getX(event, 0);
        engine->state.y = AMotionEvent_getY(event, 0);
        return 1;
    }
    return 0;
}
/**
* Process the next input event.
*/
Process the next input event.
Process the next input event .
static int32_t engine_handle_input(struct android_app* app, AInputEvent* event) {
    struct engine* engine = (struct engine*)app->userData;
    if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_MOTION) {
        engine->state.x = AMotionEvent_getX(event, 0);
        engine->state.y = AMotionEvent_getY(event, 0);
        return 1;
    }
    return 0;
}
static int32_t engine_handle_input ( struct android_app * app , AInputEvent * event ) { struct engine * engine = ( struct engine * ) app -> userData ; if ( AInputEvent_getType ( event ) == AINPUT_EVENT_TYPE_MOTION ) { engine -> state . x = AMotionEvent_getX ( event , 0 ) ; engine -> state . y = AMotionEvent_getY ( event , 0 ) ; return 1 ; } return 0 ; }
Process the next input event.
Process the next input event .