public void deleteMapping(String mappingName) {
        Mapping mapping = mappings.remove(mappingName);
        if (mapping == null) {
            //throw new IllegalArgumentException("Cannot find mapping: " + mappingName);
            logger.log(Level.WARNING, "Cannot find mapping to be removed, skipping: {0}", mappingName);
            return;
        }

        ArrayList<Integer> triggers = mapping.triggers;
        for (int i = triggers.size() - 1; i >= 0; i--) {
            int hash = triggers.get(i);
            ArrayList<Mapping> maps = bindings.get(hash);
            maps.remove(mapping);
        }
    }
Deletes a mapping from receiving trigger events.

<p>
The given mapping will no longer be assigned to receive trigger
events.

@param mappingName The mapping name to unregister.

@see InputManager#addMapping(java.lang.String, com.jme3.input.controls.Trigger[])
jme3-core/src/main/java/com/jme3/input/InputManager.java