if (AInputQueue_preDispatchEvent(engine->app->inputQueue, event)) {
return 1;
}
- if (AInputEvent_getType(event) == INPUT_EVENT_TYPE_MOTION) {
+ if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_MOTION) {
engine->animating = 1;
engine->x = AMotionEvent_getX(event, 0);
engine->y = AMotionEvent_getY(event, 0);
if (AInputQueue_preDispatchEvent(engine->app->inputQueue, event)) {
return 1;
}
- if (AInputEvent_getType(event) == INPUT_EVENT_TYPE_MOTION) {
+ if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_MOTION) {
engine->animating = 1;
AInputQueue_finishEvent(engine->app->inputQueue, event, 1);
- } else if (AInputEvent_getType(event) == INPUT_EVENT_TYPE_KEY) {
+ } else if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_KEY) {
LOGI("Key event: action=%d keyCode=%d metaState=0x%x",
AKeyEvent_getAction(event),
AKeyEvent_getKeyCode(event),
include $(CLEAR_VARS)
LOCAL_MODULE := test-libstl
LOCAL_SRC_FILES := test-libstl.cpp
-LOCAL_STATIC_LIBRARIES := libstdc++
include $(BUILD_EXECUTABLE)
-
-include $(NDK_ROOT)/sources/cpp-stl/minimal/Android.mk