public class AndroidJoyInput14 extends AndroidJoyInput
AndroidJoyInput14 extends AndroidJoyInput
 to include support for physical joysticks/gamepads.disableSensors, inputHandler, joystickListAXIS_POV_X, AXIS_POV_Y| Constructor and Description | 
|---|
| AndroidJoyInput14(AndroidInputHandler inputHandler) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Ceases listening to events from the device. | 
| Joystick[] | loadJoysticks(InputManager inputManager)Loads a list of joysticks from the system. | 
| boolean | onGenericMotion(android.view.MotionEvent event) | 
| boolean | onKey(android.view.KeyEvent event) | 
| void | pauseJoysticks()Pauses the joystick device listeners to save battery life if they are not needed. | 
| void | resumeJoysticks()Resumes the joystick device listeners. | 
addEvent, getInputTimeNanos, initialize, isInitialized, loadSettings, setInputListener, setJoyRumble, setView, updatepublic AndroidJoyInput14(AndroidInputHandler inputHandler)
public void pauseJoysticks()
pauseJoysticks in class AndroidJoyInputpublic void resumeJoysticks()
resumeJoysticks in class AndroidJoyInputpublic void destroy()
Inputdestroy in interface Inputdestroy in class AndroidJoyInputpublic Joystick[] loadJoysticks(InputManager inputManager)
JoyInputloadJoysticks in interface JoyInputloadJoysticks in class AndroidJoyInputinputManager - The input manager requesting to load joystickspublic boolean onGenericMotion(android.view.MotionEvent event)
public boolean onKey(android.view.KeyEvent event)