@Override
    public JoystickAxis getAxis(String logicalId) {
        for (JoystickAxis axis : axes) {
            if (axis.getLogicalId().equals(logicalId))
                return axis;
        }
        return null;
    }
Assign the mappings to receive events from the given joystick axis.

@param positiveMapping The mapping to receive events when the axis is negative
@param negativeMapping The mapping to receive events when the axis is positive
@param axisId The axis index.

@see Joystick#getAxisCount()
@deprecated Use JoystickAxis.assignAxis() instead.
jme3-core/src/main/java/com/jme3/input/AbstractJoystick.java