private static Binding createBindForPlatform(String id, KeyCode... codes) {
		Binding defaultBind = newBind(id, codes);
		// Swap out CONTROL for META on Mac.
		if (defaultBind.contains(nameOf(CONTROL)))
			return bindings(defaultBind, newOsBind(PlatformType.MAC, defaultBind))
					.buildKeyBindingForCurrentOS();
		return defaultBind;
	}
Wrapper around {@link Binding#newBind(String, KeyCode...)} and {@link BindingCreator}
to swap out {@link KeyCode#CONTROL} for {@link KeyCode#META} for Mac users.

@param id
		Keybinding ID.
@param codes
		Key-codes to use.

@return Binding for the current platform.
recaf-ui/src/main/java/software/coley/recaf/ui/config/KeybindingConfig.java