com.badlogic.gdx.backends.iosrobovm.IOSInput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-backend-robovm Show documentation
Show all versions of gdx-backend-robovm Show documentation
libGDX RoboVM (iOS) backend.
The newest version!
package com.badlogic.gdx.backends.iosrobovm;
import com.badlogic.gdx.Input;
import org.robovm.apple.uikit.UIKey;
public interface IOSInput extends Input {
/** Initializes peripherals (such as compass or accelerometer) */
void setupPeripherals ();
/** Records touch events */
void onTouch (long touches);
/** Process all touch events that have been registered on #onTouch(). */
void processEvents ();
boolean onKey (UIKey key, boolean down);
}