public static String remapComponent(String joystickName, String componentId) {
        if (logger.isLoggable(Level.FINE)) {
            logger.log(Level.FINE, "remapComponent({0}, {1})", new Object[]{joystickName, componentId});
        }

        // Always try the specific name first.
        joystickName = joystickName.trim();
        Map<String, String> map = getMappings(joystickName, false);
        if (map != null && map.containsKey(componentId)) {
            if (logger.isLoggable(Level.FINE)) {
                logger.log(Level.FINE, "returning remapped:{0}", map.get(componentId));
            }
            return map.get(componentId);
        }
        // Try the normalized name
        joystickName = getNormalizedName(joystickName);
        logger.log(Level.FINE, "normalized joystick name:{0}", joystickName);
        if (joystickName == null) {
            return componentId;
        }
        map = getMappings(joystickName, false);
        if (map == null) {
            return componentId;
        }
        if (!map.containsKey(componentId)) {
            return componentId;
        }
        if (logger.isLoggable(Level.FINE)) {
            logger.log(Level.FINE, "returning remapped:{0}", map.get(componentId));
        }
        return map.get(componentId);
    }
Returns the remapped version of the axis/button name if there
is a mapping for it otherwise it returns the original name.

@param joystickName which joystick (not null)
@param componentId the unmapped axis/button name
@return the resulting axis/button name
jme3-core/src/main/java/com/jme3/input/JoystickCompatibilityMappings.java