Cleanup: Remove empty function

This commit is contained in:
Mathias-Boulay 2023-03-05 18:08:19 +01:00
parent 6afd186b45
commit 934161a203
2 changed files with 0 additions and 6 deletions

View File

@ -287,8 +287,6 @@ public class MinecraftGLSurface extends View implements GrabListener{
break; break;
case MotionEvent.ACTION_DOWN: // 0 case MotionEvent.ACTION_DOWN: // 0
CallbackBridge.sendPrepareGrabInitialPos();
hudKeyHandled = handleGuiBar((int)e.getX(), (int) e.getY()); hudKeyHandled = handleGuiBar((int)e.getX(), (int) e.getY());
boolean isTouchInHotbar = hudKeyHandled != -1; boolean isTouchInHotbar = hudKeyHandled != -1;
if (isTouchInHotbar) { if (isTouchInHotbar) {

View File

@ -36,10 +36,6 @@ public class CallbackBridge {
mouseY = y; mouseY = y;
nativeSendCursorPos(mouseX, mouseY); nativeSendCursorPos(mouseX, mouseY);
} }
public static void sendPrepareGrabInitialPos() {
//sendMouseKeycode(-1, CallbackBridge.getCurrentMods(), false);
}
public static void sendKeycode(int keycode, char keychar, int scancode, int modifiers, boolean isDown) { public static void sendKeycode(int keycode, char keychar, int scancode, int modifiers, boolean isDown) {
// TODO CHECK: This may cause input issue, not receive input! // TODO CHECK: This may cause input issue, not receive input!