Skip to content

Commit

Permalink
cleanup prints
Browse files Browse the repository at this point in the history
  • Loading branch information
HEAVYPOLY committed Sep 5, 2024
1 parent 31fd6b0 commit 0b30c96
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,10 @@ public boolean onTouchEvent(final MotionEvent event) {
}

if (isMouseEvent(event)) {
Log.d("GodotInputHandler", "on Touch Event mouse");
// Log.d("GodotInputHandler", "on Touch Event mouse");
return handleMouseEvent(event);
}
Log.d("GodotInputHandler", "on Touch Event touch");
// Log.d("GodotInputHandler", "on Touch Event touch");
return handleTouchEvent(event);
}

Expand Down Expand Up @@ -463,7 +463,7 @@ private static boolean isMouseEvent(int eventSource) {
}

static boolean handleMotionEvent(final MotionEvent event) {
Log.d("GodotInputHandler", "handle Motion Event " + event.getPressure() + " " + isMouseEvent(event));
// Log.d("GodotInputHandler", "handle Motion Event " + event.getPressure() + " " + isMouseEvent(event));
if (isMouseEvent(event)) {
return handleMouseEvent(event);
}
Expand Down Expand Up @@ -520,7 +520,7 @@ static boolean handleMouseEvent(final MotionEvent event) {

tiltX = (float) (tilt * Math.cos(orientation + Math.PI / 2));
tiltY = (float) (tilt * Math.sin(orientation + Math.PI / 2));
Log.d("GodotInputHandler", "move" + eventAction + " buttonMask " + buttonsMask + " pressure " + pressure + " tilt " + tiltX);
// Log.d("GodotInputHandler", "move" + eventAction + " buttonMask " + buttonsMask + " pressure " + pressure + " tilt " + tiltX);
pressure = event.getPressure();
return handleMouseEvent(eventAction, buttonsMask, x, y, horizontalFactor, verticalFactor, false, sourceMouseRelative, pressure, tiltX, tiltY);

Expand Down Expand Up @@ -581,7 +581,7 @@ static boolean handleTouchEvent(final MotionEvent event) {
if (pointerCount == 0) {
return true;
}
Log.d("GodotInputHandler", "handleTouchEvent " + pointerCount);
// Log.d("GodotInputHandler", "handleTouchEvent " + pointerCount);

final float[] positions = new float[pointerCount * 3]; // pointerId1, x1, y1, pointerId2, etc...

Expand Down

0 comments on commit 0b30c96

Please sign in to comment.