public int getAxisIndex() {
        return axis.getAxisId();
    }
Returns the joystick axis index.

@return joystick axis index.
@see com.jme3.input.JoystickAxis#assignAxis(java.lang.String, java.lang.String)
jme3-core/src/main/java/com/jme3/input/event/JoyAxisEvent.java