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
MIKMIDIMappingGeneratorRemapDisallowSwift
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
MIKMIDIMappingGeneratorRemapAllowDuplicateSwift
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
MIKMIDIMappingGeneratorRemapReplaceSwift
case replace = 2 -
The default behavior which is MIKMIDIMappingGeneratorRemapDisallow.
Declaration
Objective-C
MIKMIDIMappingGeneratorRemapDefault = MIKMIDIMappingGeneratorRemapDisallowSwift
static var `default`: MIKMIDIMappingGeneratorRemapBehavior { get }
View on GitHub
MIKMIDIMappingGeneratorRemapBehavior Enumeration Reference