com.badlogic.gdx.backends.android
Class AndroidInputThreePlus
java.lang.Object
com.badlogic.gdx.backends.android.AndroidInput
com.badlogic.gdx.backends.android.AndroidInputThreePlus
- All Implemented Interfaces:
- android.view.View.OnGenericMotionListener, android.view.View.OnKeyListener, android.view.View.OnTouchListener, Input
public class AndroidInputThreePlus
- extends AndroidInput
- implements android.view.View.OnGenericMotionListener
Subclass of AndroidInput, used on Androd +3.x to get generic motion events for
things like gampads/joysticks and so on.
- Author:
- mzechner
| Methods inherited from class com.badlogic.gdx.backends.android.AndroidInput |
addKeyListener, cancelVibrate, getAccelerometerX, getAccelerometerY, getAccelerometerZ, getAzimuth, getCurrentEventTime, getDeltaX, getDeltaX, getDeltaY, getDeltaY, getFreePointerIndex, getInputProcessor, getNativeOrientation, getPitch, getPlaceholderTextInput, getRoll, getRotation, getRotationMatrix, getTextInput, getX, getX, getY, getY, isButtonPressed, isCursorCatched, isKeyPressed, isPeripheralAvailable, isTouched, isTouched, justTouched, lookUpPointerIndex, onDrop, onKey, onTap, onTouch, setCatchBackKey, setCatchMenuKey, setCursorCatched, setCursorImage, setCursorPosition, setInputProcessor, setOnscreenKeyboardVisible, vibrate, vibrate |
AndroidInputThreePlus
public AndroidInputThreePlus(Application activity,
android.content.Context context,
Object view,
AndroidApplicationConfiguration config)
onGenericMotion
public boolean onGenericMotion(android.view.View view,
android.view.MotionEvent event)
- Specified by:
onGenericMotion in interface android.view.View.OnGenericMotionListener
addGenericMotionListener
public void addGenericMotionListener(android.view.View.OnGenericMotionListener listener)
Copyright © 2013. All Rights Reserved.