Package org.libsdl.app
Class SDLControllerManager
- java.lang.Object
-
- org.libsdl.app.SDLControllerManager
-
public class SDLControllerManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.libsdl.app.SDLHapticHandlermHapticHandlerprotected static org.libsdl.app.SDLJoystickHandlermJoystickHandler
-
Constructor Summary
Constructors Constructor Description SDLControllerManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhandleJoystickMotionEvent(android.view.MotionEvent event)static booleanisDeviceSDLJoystick(int deviceId)static booleanonNativePadDown(int device_id, int keycode, int scancode)static booleanonNativePadUp(int device_id, int keycode, int scancode)
-
-
-
Method Detail
-
onNativePadDown
public static boolean onNativePadDown(int device_id, int keycode, int scancode)
-
onNativePadUp
public static boolean onNativePadUp(int device_id, int keycode, int scancode)
-
handleJoystickMotionEvent
public static boolean handleJoystickMotionEvent(android.view.MotionEvent event)
-
isDeviceSDLJoystick
public static boolean isDeviceSDLJoystick(int deviceId)
-
-