mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 21:10:11 -07:00
Move force trigger screen size to GLFW stub side
This commit is contained in:
parent
eb349a1573
commit
fee541c9a4
3 changed files with 5 additions and 8 deletions
|
|
@ -631,7 +631,7 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
|
|||
case MotionEvent.ACTION_POINTER_DOWN: // 5
|
||||
CallbackBridge.sendPrepareGrabInitialPos();
|
||||
|
||||
CallbackBridge.sendMouseKeycode(!CallbackBridge.mouseLeft ? LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT : LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_LEFT, 0, true);
|
||||
CallbackBridge.sendMouseKeycode(CallbackBridge.mouseLeft ? LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_LEFT : LWJGLGLFWKeycode.GLFW_MOUSE_BUTTON_RIGHT, 0, true);
|
||||
initialX = x;
|
||||
initialY = y;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue