@Override
        public void onAnalog(String name, float value, float tpf) {
            logger.log(Level.INFO, "AnalogListenerEvent[name:{0}, value: {1}, tpf: {2}",
                    new Object[]{name, value, tpf});
            if (name.equalsIgnoreCase(mappingMouseXPos)) {
                setValueX(value);
            } else if (name.equalsIgnoreCase(mappingMouseXNeg)) {
                    setValueX(-value);
            } else if (name.equalsIgnoreCase(mappingMouseYPos)) {
                setValueY(value);
            } else if (name.equalsIgnoreCase(mappingMouseYNeg)) {
                setValueY(-value);
            }
        }
Test for Android Touch Input integration into jME3.

@author iwgeric
jme3-android-examples/src/main/java/jme3test/android/TestAndroidTouch.java