public interface AndroidInput
extends com.badlogic.gdx.Input, android.view.View.OnTouchListener, android.view.View.OnKeyListener, android.view.View.OnGenericMotionListener
| Modifier and Type | Method and Description |
|---|---|
void |
addGenericMotionListener(android.view.View.OnGenericMotionListener listener)
Add a custom
View.OnGenericMotionListener |
void |
addKeyListener(android.view.View.OnKeyListener listener)
Add a custom
View.OnKeyListener |
void |
onDreamingStarted()
Called when an
AndroidDaydream is about to start |
void |
onDreamingStopped()
Called when an
AndroidDaydream is about to stop |
void |
onPause()
Called when the
AndroidApplication is about to pause |
void |
onResume()
Called when the
AndroidApplication is about to resume |
void |
processEvents()
Process all events (touch, key) that have been registered by the listeners so that event processing is synchronous.
|
void |
setKeyboardAvailable(boolean available)
Shows/Hides soft screen keyboard
|
cancelVibrate, getAccelerometerX, getAccelerometerY, getAccelerometerZ, getAzimuth, getCurrentEventTime, getDeltaX, getDeltaX, getDeltaY, getDeltaY, getGyroscopeX, getGyroscopeY, getGyroscopeZ, getInputProcessor, getMaxPointers, getNativeOrientation, getPitch, getPressure, getPressure, getRoll, getRotation, getRotationMatrix, getTextInput, getTextInput, getX, getX, getY, getY, isButtonJustPressed, isButtonPressed, isCatchBackKey, isCatchKey, isCatchMenuKey, isCursorCatched, isKeyJustPressed, isKeyPressed, isPeripheralAvailable, isTouched, isTouched, justTouched, setCatchBackKey, setCatchKey, setCatchMenuKey, setCursorCatched, setCursorPosition, setInputProcessor, setOnscreenKeyboardVisible, setOnscreenKeyboardVisible, vibrate, vibratevoid onPause()
AndroidApplication is about to pausevoid onResume()
AndroidApplication is about to resumevoid onDreamingStarted()
AndroidDaydream is about to startvoid onDreamingStopped()
AndroidDaydream is about to stopvoid addKeyListener(android.view.View.OnKeyListener listener)
View.OnKeyListenervoid addGenericMotionListener(android.view.View.OnGenericMotionListener listener)
View.OnGenericMotionListenervoid processEvents()
void setKeyboardAvailable(boolean available)