public static void addAxisMapping(String stickName, String sourceComponentId, String remapId, float[] range) {
        if (logger.isLoggable(Level.FINE)) {
            logger.log(Level.FINE, "addAxisMapping({0}, {1}, {2})",
                    new Object[]{stickName, sourceComponentId, remapId});
        }
        if (range.length != 2) {
            throw new IllegalArgumentException("The range must have exactly 2 elements");
        }
        getAxisMappings(stickName, true).put(sourceComponentId, new AxisData(remapId, range));
    }
Adds a single Joystick axis or button remapping based on the
joystick's name and axis/button name.  The "remap" value will be
used instead.

@param stickName which joystick (not null)
@param sourceComponentId the name to be remapped
@param remapId the remapped name
@param range the desired range (not null, exactly 2 elements)
jme3-core/src/main/java/com/jme3/input/JoystickCompatibilityMappings.java