mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 08:33:40 +00:00
(Android) Log touchscreen events for now
This commit is contained in:
parent
f68ea33d20
commit
4212458625
@ -24,10 +24,9 @@ static int32_t engine_handle_input(struct android_app* app, AInputEvent* event)
|
||||
{
|
||||
if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_MOTION)
|
||||
{
|
||||
g_android.animating = 1;
|
||||
g_android.state.x = AMotionEvent_getX(event, 0);
|
||||
g_android.state.y = AMotionEvent_getY(event, 0);
|
||||
//RARCH_LOG("AINPUT_EVENT_TYPE_MOTION - x: %d, y: %d.\n");
|
||||
RARCH_LOG("AINPUT_EVENT_TYPE_MOTION - x: %d, y: %d.\n");
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user