mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-02 23:14:34 +00:00
(Android) Comment out accelerometer logging for now - so that we
don't spam the logger
This commit is contained in:
parent
7bdd81b0bb
commit
5e85906f94
@ -182,6 +182,8 @@ void android_main(struct android_app* state)
|
||||
argv[argc++] = strdup(libretro_path);
|
||||
argv[argc++] = strdup("-v");
|
||||
|
||||
g_extern.verbose = true;
|
||||
|
||||
while(!g_android.window_inited)
|
||||
{
|
||||
// Read all pending events.
|
||||
@ -205,8 +207,10 @@ void android_main(struct android_app* state)
|
||||
{
|
||||
ASensorEvent event;
|
||||
while (ASensorEventQueue_getEvents(g_android.sensorEventQueue, &event, 1) > 0)
|
||||
RARCH_LOG("accelerometer: x=%f y=%f z=%f.\n", event.acceleration.x,
|
||||
event.acceleration.y, event.acceleration.z);
|
||||
{
|
||||
//RARCH_LOG("accelerometer: x=%f y=%f z=%f.\n", event.acceleration.x,
|
||||
//event.acceleration.y, event.acceleration.z);
|
||||
}
|
||||
}
|
||||
|
||||
// Check if we are exiting.
|
||||
|
@ -198,8 +198,9 @@ void gfx_ctx_check_window(bool *quit,
|
||||
{
|
||||
ASensorEvent event;
|
||||
while (ASensorEventQueue_getEvents(g_android.sensorEventQueue, &event, 1) > 0)
|
||||
RARCH_LOG("accelerometer: x=%f y=%f z=%f.\n", event.acceleration.x,
|
||||
event.acceleration.y, event.acceleration.z);
|
||||
{
|
||||
//RARCH_LOG("accelerometer: x=%f y=%f z=%f.\n", event.acceleration.x, event.acceleration.y, event.acceleration.z);
|
||||
}
|
||||
}
|
||||
|
||||
// Check if we are exiting.
|
||||
|
Loading…
x
Reference in New Issue
Block a user