v2.3.1: updated libGDX to 1.12.1 and mobiVM to 2.3.20
This commit is contained in:
@@ -130,7 +130,16 @@ public class InputHandler extends InputAdapter {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean touchCancelled(int screenX, int screenY, int pointer, int button) {
|
||||
//currently emulating functionality from libGDX 1.11.0, do we keep this?
|
||||
//in particular this is probably a more graceful way to handle things like system swipes on iOS
|
||||
//whereas previously they generated garbage inputs sometimes
|
||||
//which were then fixed in v2.2.2
|
||||
return touchUp(screenX, screenY, pointer, button);
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized boolean touchDragged(int screenX, int screenY, int pointer) {
|
||||
PointerEvent.addIfExisting(new PointerEvent(screenX, screenY, pointer, PointerEvent.Type.DOWN));
|
||||
|
||||
@@ -40,6 +40,7 @@ public abstract class PlatformSupport {
|
||||
|
||||
public void vibrate( int millis ){
|
||||
//regular GDX vibration by default
|
||||
//TODO should this trigger controller vibration if available?
|
||||
Gdx.input.vibrate( millis );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user