Beispiel #1
0
 /** This method is called by SDL using JNI. */
 public static void pollInputDevices() {
   if (SDLActivity.mSDLThread != null) {
     mJoystickHandler.pollInputDevices();
   }
 }
Beispiel #2
0
 // Joystick glue code, just a series of stubs that redirect to the SDLJoystickHandler instance
 public static boolean handleJoystickMotionEvent(MotionEvent event) {
   return mJoystickHandler.handleMotionEvent(event);
 }