mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-08-28 05:45:03 -06:00
Alpha Relase 4
This commit is contained in:
parent
bd8775b5e5
commit
4c014a1ece
2 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ public class JavaGUILauncherActivity extends BaseActivity implements View.OnTou
|
|||
totalMovement += Math.abs(x - prevX) + Math.abs(y - prevX);
|
||||
if(!longPressTriggered &&
|
||||
System.currentTimeMillis() - touchStart > 1000 &&
|
||||
totalMovement < 2000
|
||||
totalMovement < 5000
|
||||
){
|
||||
longPressTriggered = true;
|
||||
AWTInputBridge.sendKey((char)118,118);
|
||||
|
|
@ -155,7 +155,7 @@ public class JavaGUILauncherActivity extends BaseActivity implements View.OnTou
|
|||
case MotionEvent.ACTION_UP: // 1
|
||||
if(longPressTriggered){
|
||||
AWTInputBridge.sendKey((char)117,117);
|
||||
//AWTInputBridge.sendMousePress(AWTInputEvent.BUTTON1_DOWN_MASK);
|
||||
AWTInputBridge.sendMousePress(AWTInputEvent.BUTTON1_DOWN_MASK);
|
||||
}
|
||||
break;
|
||||
case MotionEvent.ACTION_CANCEL: // 3
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue