@Override
    public int getXAxisIndex() {
        return getXAxis().getAxisId();
    }
Gets the index number for the X axis on the joystick.

<p>E.g. for most gamepads, the left control stick X axis will be returned.

@return The axis index for the X axis for this joystick.

@see Joystick#assignAxis(java.lang.String, java.lang.String, int)
jme3-core/src/main/java/com/jme3/input/AbstractJoystick.java