protected static String getNormalizedName(String name) {
        String result = nameCache.get(name);
        if (result != null) {
            return result;
        }
        for (Map.Entry<Pattern, String> e : nameRemappings.entrySet()) {
            Pattern p = e.getKey();
            Matcher m = p.matcher(name);
            if (m.matches()) {
                nameCache.put(name, e.getValue());
                return e.getValue();
            }
        }
        return null;
    }
Maps a regular expression to a normalized name for that joystick.

@param regex the regular expression to be matched
@param name the remapped name
jme3-core/src/main/java/com/jme3/input/JoystickCompatibilityMappings.java