MIKMIDIMappingGeneratorRemapBehavior

Objective-C

enum MIKMIDIMappingGeneratorRemapBehavior {}

Swift

enum MIKMIDIMappingGeneratorRemapBehavior : UInt

Possible values to return from the following methods in MIKMIDIMappingGeneratorDelegate:

-mappingGenerator:behaviorForRemappingCommandMappedToControls:toNewControl:

  • Ignore the previously mapped control, and do not (re)map it to the responder for which mapping is in progress.

    Declaration

    Objective-C

    MIKMIDIMappingGeneratorRemapDisallow

    Swift

    case disallow = 0
  • Map the previously mapped control to the responder for which mapping is in progress. Do not remove the previous/existing mappings for the control.

    Declaration

    Objective-C

    MIKMIDIMappingGeneratorRemapAllowDuplicate

    Swift

    case allowDuplicate = 1
  • Map the previously mapped control to the responder for which mapping is in progress. Remove the previous/existing mappings for the control. With this option, after mapping, only the newly-mapped responder will be associated with the mapped physical control.

    Declaration

    Objective-C

    MIKMIDIMappingGeneratorRemapReplace

    Swift

    case replace = 2
  • The default behavior which is MIKMIDIMappingGeneratorRemapDisallow.

    Declaration

    Objective-C

    MIKMIDIMappingGeneratorRemapDefault = MIKMIDIMappingGeneratorRemapDisallow

    Swift

    static var `default`: MIKMIDIMappingGeneratorRemapBehavior { get }