From e6ea158dcc3953a05e27511c993bd3335536ddd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 30 Mar 2025 11:29:28 +0200 Subject: [PATCH] Unrelate: Remove some mouse-related logspam on android --- android/src/org/ppsspp/ppsspp/NativeSurfaceView.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/android/src/org/ppsspp/ppsspp/NativeSurfaceView.java b/android/src/org/ppsspp/ppsspp/NativeSurfaceView.java index c0f9c23506..e7af689f5a 100644 --- a/android/src/org/ppsspp/ppsspp/NativeSurfaceView.java +++ b/android/src/org/ppsspp/ppsspp/NativeSurfaceView.java @@ -84,7 +84,7 @@ public class NativeSurfaceView extends SurfaceView implements SensorEventListene if (NativeActivity.useModernMouseEvents) { return; } - Log.i(TAG, "Surface Action down. button state: " + ev.getButtonState()); + //Log.i(TAG, "Surface Action down. button state: " + ev.getButtonState()); NativeApp.mouse(ev.getX(), ev.getY(), 1, 1); break; } @@ -92,13 +92,13 @@ public class NativeSurfaceView extends SurfaceView implements SensorEventListene if (NativeActivity.useModernMouseEvents) { return; } - Log.i(TAG, "Surface Action up. button state: " + ev.getButtonState()); + //Log.i(TAG, "Surface Action up. button state: " + ev.getButtonState()); NativeApp.mouse(ev.getX(), ev.getY(), 1, 2); break; } case MotionEvent.ACTION_MOVE: { // This still needs handling here, even if new events are used. - Log.i(TAG, "Surface Action move. button state: " + ev.getButtonState()); + //Log.i(TAG, "Surface Action move. button state: " + ev.getButtonState()); NativeApp.mouse(ev.getX(), ev.getY(), 0, 0); break; } @@ -130,13 +130,13 @@ public class NativeSurfaceView extends SurfaceView implements SensorEventListene switch (action) { case MotionEvent.ACTION_DOWN: case MotionEvent.ACTION_POINTER_DOWN: - Log.i(TAG, "ACTION_DOWN"); + // Log.i(TAG, "ACTION_DOWN"); if (ev.getActionIndex() == i) code = 2; break; case MotionEvent.ACTION_UP: case MotionEvent.ACTION_POINTER_UP: - Log.i(TAG, "ACTION_UP"); + // Log.i(TAG, "ACTION_UP"); if (ev.getActionIndex() == i) code = 4; break;