(Android) Comment out accelerometer logging for now - so that we

don't spam the logger
This commit is contained in:
twinaphex 2012-10-16 13:27:49 +02:00
parent 7bdd81b0bb
commit 5e85906f94
2 changed files with 9 additions and 4 deletions

View File

@ -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.

View File

@ -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.