Package com.jme3.input.android


package com.jme3.input.android
user-input classes specific to Android devices
  • Classes
    Class
    Description
    AndroidGestureHandler uses Gesture type listeners to create jME TouchEvents for gestures.
    AndroidInput is the main class that connects the Android system inputs to jME.
    AndroidInputHandler14 extends AndroidInputHandler to add the onHover and onGenericMotion events that where added in Android rev 14 (Android 4.0).
    The onGenericMotion events are the main interface to Joystick axes.
    AndroidInputHandler24 extends AndroidInputHandler14 to use AndroidMouseInput24 which adds usage of newer events and also enables cursor visibility and cursor image change.
    AndroidInputHandler26 extends AndroidInputHandler24 to add the onCapturedPointer events that where added in Android rev 26.
    The onCapturedPointer events are received when mouse is grabbed/captured.
    Main class that manages various joystick devices.
    AndroidJoyInput14 extends AndroidJoyInput to include support for physical joysticks/gamepads.
    Main class that creates and manages Android inputs for physical gamepads/joysticks.
    AndroidKeyMapping is just a utility to convert the Android keyCodes into jME KeyCodes so that events received in jME's KeyEvent will match between Desktop and Android.
    AndroidMouseInput14 implements MouseInput to add mouse support for jME3 uses the onGenericMotion events that where added in Android rev 12 and MotionEvent.getButtonState from Android rev 14 so added "14" suffix to the class to specify the Android required rev and match other classes naming
    AndroidMouseInput24 extends AndroidMouseInput14 to improve mouse support using new events defined in API rev 24 and adding support for cursor change and cursor visibility
    AndroidMouseInput26 extends AndroidMouseInput24 to improve mouse support adding grab/capture support using onCapturedPointer events.
    AndroidSensorJoyInput converts the Android Sensor system into Joystick events.
    AndroidTouchInput is the base class that receives touch inputs from the Android system and creates the TouchEvents for jME.
    AndroidTouchHandler14 extends AndroidTouchHandler to process the onHover events added in Android rev 14 (Android 4.0).
    TouchEventPool provides a RingBuffer of jME TouchEvents to help with garbage collection on Android.